mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-03-08 01:36:02 +00:00
Compare commits
No commits in common. "bebdddb5719ec2c3f86b0168a785d1a2aee1d857" and "18c55d3bebf2c704970b4ea6fd0261808bec8d94" have entirely different histories.
bebdddb571
...
18c55d3beb
3 changed files with 4 additions and 30 deletions
|
|
@ -13,7 +13,6 @@ trim_trailing_whitespace = true
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
max_line_length = 80
|
|
||||||
|
|
||||||
[*.{js,json,nix,yml,yaml,toml}]
|
[*.{js,json,nix,yml,yaml,toml}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
|
||||||
|
|
@ -31,10 +31,13 @@ in
|
||||||
|
|
||||||
# Generate the final manual from a set of parameters. This uses
|
# Generate the final manual from a set of parameters. This uses
|
||||||
# feel-co/ndg to render the web manual.
|
# feel-co/ndg to render the web manual.
|
||||||
ndg --config-file ${./ndg.toml} html \
|
ndg html \
|
||||||
--jobs $NIX_BUILD_CORES --title "NVF" \
|
--jobs $NIX_BUILD_CORES --title "NVF" \
|
||||||
--module-options ${optionsJSON}/share/doc/nixos/options.json \
|
--module-options ${optionsJSON}/share/doc/nixos/options.json \
|
||||||
--manpage-urls ${path}/doc/manpage-urls.json \
|
--manpage-urls ${path}/doc/manpage-urls.json \
|
||||||
|
--options-depth 3 \
|
||||||
|
--generate-search \
|
||||||
|
--highlight-code \
|
||||||
--input-dir ./manual \
|
--input-dir ./manual \
|
||||||
--output-dir "$out/share/doc"
|
--output-dir "$out/share/doc"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
# NDG Configuration File
|
|
||||||
|
|
||||||
# Input directory containing markdown files
|
|
||||||
input_dir = "docs"
|
|
||||||
|
|
||||||
# Output directory for generated documentation
|
|
||||||
output_dir = "build"
|
|
||||||
|
|
||||||
# Title for the documentation
|
|
||||||
title = "NVF"
|
|
||||||
|
|
||||||
# Footer text for the documentation
|
|
||||||
footer_text = "Generated with ndg"
|
|
||||||
|
|
||||||
generate_anchors = true
|
|
||||||
|
|
||||||
# Search configuration
|
|
||||||
[search]
|
|
||||||
enable = true
|
|
||||||
highlight_code = true
|
|
||||||
tab_style = "none"
|
|
||||||
revision = "main"
|
|
||||||
|
|
||||||
# Maximum heading level to index
|
|
||||||
max_heading_level = 3
|
|
||||||
|
|
||||||
# Depth of parent categories in options TOC
|
|
||||||
options_toc_depth = 2
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue