Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a custom none role that is excluded from the output #32

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

ru-fu
Copy link
Contributor

@ru-fu ru-fu commented Jan 2, 2024

To ignore woke exceptions, you must provide a comment (see https://docs.getwoke.tech/ignore/#in-line-and-next-line-ignoring ). However, RST doesn't really have a concept of comments, and the workaround that is commonly used for comments requires empty lines, which again doesn't work for wokeignore.

The :none: role makes it possible to specify the wokeignore comment in the input file, but exclude it from the output.

To ignore woke exceptions, you must provide a comment (see
https://docs.getwoke.tech/ignore/#in-line-and-next-line-ignoring ).
However, RST doesn't really have a concept of comments, and the
workaround that is commonly used for comments requires empty lines,
which again doesn't work for wokeignore.

The `:none:` role makes it possible to specify the wokeignore
comment in the input file, but exclude it from the output.

Signed-off-by: Ruth Fuchss <[email protected]>
@pmatulis
Copy link

pmatulis commented Jan 2, 2024

I don't have the permissions to merge this, which is frustrating.

Signed-off-by: Ruth Fuchss <[email protected]>
@ru-fu ru-fu merged commit 7fe0faf into canonical:main Jan 3, 2024
1 check passed
@ru-fu ru-fu deleted the hidden-role branch January 3, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants