236 Commits
Author SHA1 Message Date
rbpatt2019andGaétan Lepage c7be49306b user-configs: add @rbpatt2019's config 2026-08-03 13:20:01 +00:00
Matt Sturgeon ea95b028a3 docs: drop nixos-render-docs overlay
All patches are now upstream.
2026-07-12 15:18:12 +00:00
Matt Sturgeon 511a763e20 docs: use GFM alert patches from Nixpkgs PR
Replace our gfm-alerts-to-admonitions plugin and nixos-render-docs
patches with patches from the upstream Nixpkgs PR:
https://github.com/NixOS/nixpkgs/pull/538502
2026-07-09 17:39:52 +00:00
belamuandMatt Sturgeon 8f102380ab docs/user-configs: update carl0xs url 2026-07-06 14:40:11 +00:00
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 c02fd3edc6 docs/lib: use structuredAttrs
When using structuredAttrs, we don't need a separate "function locations"
derivation. Instead, we can read directly from NIX_ATTRS_JSON_FILE.
2026-06-23 18:14:39 +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
Matt Sturgeon f60bf47332 modules/nixvim-info: flatten and simplify
Instead of recursively merging a nested tree, construct a flat map of
"option-path" → {info}.

This should be more efficient to eval, and simpler to introspect.
2026-06-22 20:39:04 +00:00
Matt Sturgeon c7ccb896eb docs/man: simplify using structuredAttrs
Verified the output does not change:

$ nix build .#man-docs github:nix-community/nixvim#man-docs

$ sha256sum result{,-1}/share/man/man5/nixvim.5.gz
63177f4e1bff6db2ef01dfdb31c0674342ba9d9d27fe8e3d392bf86131fbc867  result/share/man/man5/nixvim.5.gz
63177f4e1bff6db2ef01dfdb31c0674342ba9d9d27fe8e3d392bf86131fbc867  result-1/share/man/man5/nixvim.5.gz
2026-06-22 20:38:34 +00:00
boyreauandMatt Sturgeon a0c1a8ffd4 docs: fixed GaetanLepage nixconfig URL 2026-06-22 20:38:23 +00:00
Matt SturgeonandGaétan Lepage 643284206b ci/website: simplify docs build
- Drop branch-specific composite action, target branches via flakeref
- Avoid flake-compat, using `nix build --impure` and `getEnv`
2026-06-07 21:55:05 +00:00
Matt SturgeonandGaétan Lepage 19fd9d7d1e treewide: bump stable 25.11 → 26.05 2026-06-07 20:52:06 +00:00
Matt Sturgeon 70886b715e docs: take defaults from environment variables
When building with --impure, accept the following environment variables
for docs inputs:
- NIXVIM_DOCS_BASE_HREF → baseHref
- NIXVIM_DOCS_AVAILABLE_VERSIONS → availableVersions

This allows simplifying the `website` CI workflow.
2026-06-07 20:51:00 +00:00
Matt SturgeonandAustin Horstman a509dd2645 docs/platforms: add standalone-legacy page
Documents the now-deprecated legacy standalone functions for existing
users.

Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2026-06-07 12:49:05 +00:00
Matt SturgeonandAustin Horstman 5dff6a8cab docs/platforms/standalone: document convenience functions
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2026-06-07 12:49:05 +00:00
Matt Sturgeon 86bb52ee5f docs/platforms/standalone: update to use evalNixvim 2026-06-07 12:49:05 +00:00
Matt Sturgeon d12c8e43d3 docs/user-guide/install: update "standalone usage" to use evalNixvim 2026-06-07 12:49:05 +00:00
Matt Sturgeon a50452bdc1 doc/lib: add lib.nixvim.modules page
This documents functions like `lib.nixvim.evalNixvim`, `buildNixvim`,
and `testNixvim.
2026-06-07 12:49:05 +00:00
Matt Sturgeon fca03f1759 lib: allow instantiating without a flake instance
Separate `overlay.nix` and `overlay.internal.nix`, to encapsulate the
`flake` argument. This allows non-flake users to import `./overlay.nix`
without providing a dummy `flake = null` attr.

The read-only `config.flake` option is only defined by `evalNixvim` when
`lib` is extended using the overlay in Nixvim's flake outputs.
2026-05-24 03:05:36 +00:00
Allen LiaoandMatt Sturgeon 42dbd9f0ea user-configs: add @allen-liaoo's config 2026-05-20 13:47:10 +00:00
ethanbodzioneyandGaétan Lepage 37e43d8003 Fix manpages name 2026-04-10 07:12:07 +00:00
Myxogastria0808andMatt Sturgeon 2e008bb941 user-configs: add @Myxogastria0808's config 2026-04-04 12:54:17 +00:00
Heitor AugustoandGaétan Lepage 31c3b3687d user-configs: remove HeitorAugustoLN's configuration 2026-02-02 09:38:23 +00:00
Ahmad RazaandGaétan Lepage 08672dfdbf chore: added np to the example's list 2026-02-01 12:53:58 +00:00
Carlos HenriqueandGaétan Lepage 34a7d94cdc user-configs: add @carl0xs config 2026-01-24 09:44:11 +00:00
Austin HorstmanandMatt Sturgeon 5278f01d0c docs/mdbook: remove redundant alerts
Says it's included by default in latest version we have in nixpkgs.
2026-01-24 06:08:49 +00:00
Austin HorstmanandMatt Sturgeon a704c5ac0b docs/mdbook: remove invalid multilingual setting
https://github.com/rust-lang/mdBook/pull/2775
2026-01-24 06:08:49 +00:00
Gaetan LepageandMatt Sturgeon 68fd38bfa7 docs/mdbook: remove mdbook-alerts (deprecated and unnecessary)
'mdbook-alerts' has been removed from nixpkgs because it is deprecated
and natively supported by mdbook since version 0.5.0
2026-01-24 06:08:49 +00:00
nicklundin08andAustin Horstman 577b34ddae user-configs: add nicklundin08 2026-01-19 04:02:02 +00:00
literally-saiandGaétan Lepage 246781838c user-configs: add @literally-sai's config 2026-01-04 17:35:44 +00:00
Gaetan LepageandAustin Horstman 1d333fc92e treewide: apply linter suggestions 2025-12-28 04:26:49 +00:00
Matt Sturgeon 79ace278ec docs/mdbook: refactor isVisible's "has visible" check 2025-12-17 20:02:24 +00:00
Matt Sturgeon 5ef378a006 docs/mdbook: handle visible = "transparent" 2025-12-17 20:02:24 +00:00
Zexin YuanandGaétan Lepage d52007581e docs: format nix examples in documentation 2025-12-13 08:51:26 +00:00
Zexin YuanandGaétan Lepage 350ead83e2 docs: clarify lazyLoad.after behavior and mention luaConfig.post 2025-12-12 09:27:51 +00:00
saygo-pngandMatt Sturgeon b65233d5f9 docs: discourage use of follows
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-06 17:59:37 +00:00
saygo-pngandMatt Sturgeon 812d7e639d flake: move the nuschtosSearch input to the dev flake
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-05 13:44:35 +00:00
saygo-pngandMatt Sturgeon 03a51dbf3d treewide: NixVim/nixvim -> Nixvim
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-04 23:22:21 +00:00
Matt SturgeonandGaétan Lepage 51daa6bf06 docs: drop "Recent Breaking Changes" section
They aren't "recent" anymore.
2025-12-03 09:36:45 +00:00
Matt SturgeonandGaétan Lepage 8d085d4094 docs/mdbook: drop pagetoc
It is currently not working.

TODO: investigate and fix
2025-12-03 09:30:43 +00:00
Gaetan Lepage af1ce0d14c treewide: 25.05 -> 25.11 2025-12-01 17:52:21 +00:00
Jia JiaandGaétan Lepage 6094d2a439 add mathjiajia's nixvim config 2025-11-29 19:09:18 +00:00
Heitor AugustoandMatt Sturgeon f1e07ba53a user-configs: add HeitorAugustoLN's configuration again 2025-11-27 10:10:40 +00:00
Matt Sturgeon 7d17c1b71d flake: remove helpers module arg
Not to be confused with the Nixvim-configuration `helpers` module arg,
remove the flake-parts `helpers` module arg.
2025-11-24 10:47:38 +00:00
Thea SchöblandGaétan Lepage f4b9a71224 user-configs: add @Theaninova's config 2025-11-20 11:26:41 +00:00
Axel KarjalainenandMatt Sturgeon 4c4cac6445 docs: use official names of NixOS, Home Manager and nix-darwin 2025-10-18 00:05:26 +00:00
Axel KarjalainenandMatt Sturgeon e006fa229c docs: add FAQ entry for plugin modules outside NixVim 2025-10-18 00:05:26 +00:00