18 Commits
Author SHA1 Message Date
Matt Sturgeon a402fdf2a1 docs/modules: move page rendering orchestration to Python
Replace the generated bash+jq rendering pipeline with a Python
implementation.

This avoids repeatedly parsing large JSON blobs during page rendering
and significantly reduces documentation build time.
2026-07-04 13:55:02 +00:00
Matt Sturgeon d3ba58e0bd docs/modules: move rendering logic 2026-07-04 13:55:02 +00:00
Matt Sturgeon 79df3b165c docs/modules: propagate collections of page nodes 2026-07-04 13:55:02 +00:00
Matt Sturgeon 2ab9e79e92 docs/modules: add main entrypoint 2026-07-04 13:55:02 +00:00
Matt Sturgeon 91df3d9f91 docs/modules: model page content as sections
Represent page content as a list of typed sections, rather than a fixed
set of page attributes.

This allows pages to be composed from multiple content sources while
simplifying the rendering logic and prepares the new docs system for
additional section types such as option documentation.
2026-06-23 01:04:32 +00:00
Gaetan LepageandAustin Horstman 1d333fc92e treewide: apply linter suggestions 2025-12-28 04:26:49 +00:00
Matt Sturgeon 4f03ca05d9 docs/lib: generalise menu impl using module system
Move the mdbook menu rendering code into the module system and
generalise it to apply to multiple "categories" (mdbook parts) and
"types" of category (prefix, suffix, etc).
2025-09-30 16:21:23 +00:00
Matt Sturgeon 4414d8aa14 docs/modules: init
Modules to represent pages in the docs
2025-09-30 16:21:23 +00:00
Matt Sturgeon cd68b680cd docs: rename modules -> platforms 2024-10-24 18:32:15 +01:00
Matt Sturgeon b076f006c6 wrappers: add meta.wrappers options to wrappers
Allows the docs to be a little less hard-coded.

Lays the groundwork for splitting up the platform-specific option docs
on a per-page basis.
2024-10-22 14:15:58 +01:00
Matt Sturgeon 0562e519ec docs: refactor wrapper-options docs 2024-10-21 18:36:00 +01:00
amalgame21andnix-infra-bot aaecda1471 docs: fix typo in standalone.md (makeNixvimWithModule) 2024-10-06 18:38:33 +00:00
Matt Sturgeon 55fee7051f standalone: rename nixvimExtend to extend
This is our scope, so there's no need to be explicit.

This also follows the precedent set by `lib.extend`, although that takes
an overlay function.
2024-07-01 15:54:29 +01:00
traxys e035d22b64 standalone: Expose options
This can be used to teach `nixd` about NixVim options.
2024-05-15 09:41:21 +02:00
Matt SturgeonandGitHub 3f7e6ce850 wrappers: expose config in standalone output (#1356) 2024-04-01 17:12:25 +02:00
Matt SturgeonandGaétan Lepage 226c555d8f docs: move standalone example to platform usage 2024-04-01 15:08:36 +02:00
Matt SturgeonandGaétan Lepage 87df94dcbd docs: Move standalone usage to modules section 2024-04-01 15:08:36 +02:00
traxysandGitHub 6d1ef5864b docs: Add a section on module specific options (#1355)
This commit only adds Home-Manager specific options, we should add
sections for the different kind of modules too.

This is _not_ added to the man docs, as it is more complex. If need
arises we could look into how to do it.
2024-03-30 14:52:32 +01:00