-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Option docs improvements #179351
Option docs improvements #179351
Conversation
By writing the unchecked outputs before checking them, they will be written to a store path, which appears in the log, and which sticks around even if the build fails. Eventually it is GCed, but until then, you can open the file. If you run it in a terminal+editor combination like VSCode, the failure location is just one Ctrl+click away.
I've tried XInclude set-xml-id first, but our tooling did not pick up on it.
This occurs in the ast generated for blockquotes.
Our tooling would trip without the inner <para>, despite the docbook docs suggesting that <para> occurs in <blockquote> and vice versa.
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.
don't know enough about the xslt sheets to comment on those, but the rest looks good. 👍
def block_code(self, text, info=None): | ||
info = f" language={quoteattr(info)}" if info is not None else "" | ||
return f"<programlisting{info}>\n{text}</programlisting>" | ||
if info == "{=docbook}": |
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.
not sure having that hatch is such a great thing. we'll have to make some adjustment to the documentation to get it to work as markdown anyway, and if we have a hatch we have one more place to keep in mind when we finally axe docbook.
do you have a special use in mind where this is necessary? maybe a few more extension to the renderer would be better.
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.
I used it while I couldn't get blockquote
accepted by the docbook tooling that runs after this. I suppose I could have used a plain old docbook description instead. I'll remove it.
Feature was introduced in NixOS#174460, but wasn't supported in `mergeJSON.py` yet.
a25cb0f
to
7c81905
Compare
No worries, I'm somewhat familiar with them, and I've tested the change. |
Description of changes
Some improvements I've found while working on the NixOS test framework (#176557). They're small fixes and quality of life improvements.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes