mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-21 03:05:14 +02:00
docs: Add basic documentation system based on nmd
You can now run `nix build '.#docs'` to build HTML documentation documenting every single option on nixvim! Fortunately, thanks to the 'description' field, most options are already documented, but there are still a fair few that need documenting. I will be taking care of those in the next few days. When those are done, I will find a way to automatically rebuild documentation on every repo push, and also add a PR hook requiring documentation. Additionally, I will try to find a way to have per-page plugin docs.
This commit is contained in:
parent
69cf1b6204
commit
eef84178ab
42 changed files with 184 additions and 51 deletions
10
flake.nix
10
flake.nix
|
@ -3,7 +3,15 @@
|
|||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs: rec {
|
||||
inputs.nmdSrc.url = "gitlab:rycee/nmd";
|
||||
inputs.nmdSrc.flake = false;
|
||||
|
||||
outputs = { self, nixpkgs, nmdSrc, ... }@inputs: rec {
|
||||
packages."x86_64-linux".docs = import ./docs {
|
||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
lib = nixpkgs.lib;
|
||||
};
|
||||
|
||||
nixosModules.nixvim = import ./nixvim.nix { nixos = true; };
|
||||
homeManagerModules.nixvim = import ./nixvim.nix { homeManager = true; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue