-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
adds block_args for autogenerated ids from trustworthy sources #281212
Conversation
8220a91
to
da66141
Compare
da66141
to
5247cc1
Compare
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
Outdated
Show resolved
Hide resolved
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks reasonable enough :)
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
Outdated
Show resolved
Hide resolved
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
Outdated
Show resolved
Hide resolved
pkgs/tools/nix/nixos-render-docs/src/tests/test_auto_id_prefix.py
Outdated
Show resolved
Hide resolved
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
Outdated
Show resolved
Hide resolved
c21ac0e
to
d59c8cf
Compare
@pennae can you have a look if it looks clean enough for merging. 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks pretty reasonable :)
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
Outdated
Show resolved
Hide resolved
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
Outdated
Show resolved
Hide resolved
d59c8cf
to
96cc68a
Compare
96cc68a
to
48a2178
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed a few missing type annotations to make tests happy. looks fine otherwise :)
Description of changes
Add option to autogenerate heading ids. This is needed if we want to support regular commonmark documentation generated from nix source code. People are not expected to place heading ids in their code comments.
This PR resolves:
#280514
Which is needed for implementing rfc145 in nixpkgs.
@pennae. Thank you a lot for your help with this PR.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.