-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[docgen] runnableExamples causes subsection to be rendered as a section #15176
Labels
Documentation Generation
Related to documentation generation (but not content).
works_but_needs_test_case
Comments
reduced: case3 bugs, case3b works when defined case3:
## Basic usage
## ===========
##
## Encoding data
## -------------
##
## Apart from strings you can also encode lists of integers or characters:
## Decoding data
## -------------
##
when defined case3b:
## Basic usage
## ===========
##
## Encoding data
## -------------
##
## Apart from strings you can also encode lists of integers or characters:
##
## Decoding data
## -------------
## |
@timotheecour , |
ringabout
added a commit
that referenced
this issue
Jan 22, 2024
ringabout
added a commit
that referenced
this issue
Jan 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Documentation Generation
Related to documentation generation (but not content).
works_but_needs_test_case
Maybe this is intended, or the right way is to use
.. code-block:: nim
with:test:
. If that's the case close this.Example
Current Output
"Subsection 2" is rendered as
<h1>Subsection 2</h1>
Expected Output
"Subsection 2" is rendered as
<h2>Subsection 2</h2>
Additional Information
Using a code block works as expected:
The text was updated successfully, but these errors were encountered: