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

RST opt.list to have priority over def.list #17845

Merged
merged 1 commit into from
May 15, 2021

Conversation

a-mr
Copy link
Contributor

@a-mr a-mr commented Apr 25, 2021

Found in doc/advopt.txt.

Advanced options:
  --defusages:FILE,LINE,COL
                            find the definition and all usages of a symbol
  -o:FILE, --out:FILE       set the output filename

Before:
image

RST spec does not specify priorities of body/block elements. Here it makes perfect sense to prioritize option lists higher than definition lists.
After:
image

cc @narimiran

@a-mr a-mr force-pushed the rst-optlist-vs-deflist branch from 5dc8f08 to a2a98f5 Compare April 28, 2021 16:32
@a-mr a-mr force-pushed the rst-optlist-vs-deflist branch from a2a98f5 to 067ecb5 Compare May 4, 2021 19:33
@narimiran narimiran merged commit 3824fd3 into nim-lang:devel May 15, 2021
PMunch pushed a commit to PMunch/Nim that referenced this pull request Mar 28, 2022
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