-
Notifications
You must be signed in to change notification settings - Fork 44
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
Use mdbook for site #31
Comments
I'd shamelessly plug Emanote 😁 but |
I thought of mdBook because it appears to have some momentum. I've been using mostly I'm inclined to go with something simple. I like mdBook's search capability and minimalist look. Not having search is probably a dealbreaker because I want to categorize the options by repo, yet still have a search capability for all of them together. |
@roberth feel free to steal https://github.com/numtide/devshell/blob/master/modules/modules-docs.nix . It should work with any module system. Just import it and then access Here you can see how it's plugged with the rest of mdbook: https://github.com/numtide/devshell/blob/fc7a3e3adde9bbcab68af6d1e3c6eb738e296a92/default.nix#L34-L43 |
@zimbatm Thanks! For now the docs are in docbook, which is kind of the standard for the module system. I'd like to migrate all module system applications to either markdown or something flexible and I figured my current solution might provide some of the ingredients for that. Here's my secret plan NixOS/nixpkgs#175586. |
😅 How to succeed in two easy steps. Step 1) Submit a refactor PR to nixpkgs. Step 2) Success! |
Done in #68 |
Should be feasible as the options generation is already using pandoc instead of docbook's own tooling. Wouldn't mind doing more ugly stuff either, if necessary.
The text was updated successfully, but these errors were encountered: