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

Support empty prefix #119

Closed
roberth opened this issue Apr 21, 2024 · 1 comment · Fixed by #122
Closed

Support empty prefix #119

roberth opened this issue Apr 21, 2024 · 1 comment · Fixed by #122

Comments

@roberth
Copy link
Contributor

roberth commented Apr 21, 2024

I'm trying to write a pkgs.moduleSystem library (for the option docs generating part, replacing nixosOptionsDoc), but passing that as a prefix results in rather long titles.
I figured --prefix "" would do the right thing, but that still generates a "separator", resulting in headers like .rendering, which isn't quite right.
The default prefix is lib, not an internal representation for "no prefix at all", unfortunately.

I propose that --prefix "" will be the accepted syntax for prefixing nothing at all; not even the separating ..

Context:

@infinisil
Copy link
Collaborator

Sounds reasonable to me, PR appreciated!

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 a pull request may close this issue.

2 participants