diff --git a/checks/flake-module.nix b/checks/flake-module.nix index 703fc6093..c4af4f3d1 100644 --- a/checks/flake-module.nix +++ b/checks/flake-module.nix @@ -120,7 +120,7 @@ in ) (self.darwinConfigurations or { }) // lib.mapAttrs' (n: lib.nameValuePair "package-${n}") ( if system == "aarch64-darwin" then - lib.filterAttrs (n: _: n != "docs" && n != "deploy-docs" && n != "docs-options") packagesToBuild + lib.filterAttrs (n: _: n != "docs" && n != "deploy-docs" && n != "option-search") packagesToBuild else packagesToBuild ) diff --git a/docs/.gitignore b/docs/.gitignore index 3f1c155ae..2cb144263 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,6 +1,6 @@ /site/reference /site/services/official /site/static -/site/options +/site/option-search /site/openapi.json !/site/static/extra.css diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 89516f105..a2b0be602 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -180,7 +180,7 @@ nav: - services/official/zerotier.md - services/community.md - - Search Clan Options: "/options" + - Search Clan Options: "/option-search" docs_dir: site site_dir: out diff --git a/docs/nix/default.nix b/docs/nix/default.nix index 510ffb7e3..47fa49026 100644 --- a/docs/nix/default.nix +++ b/docs/nix/default.nix @@ -5,7 +5,7 @@ clan-lib-openapi, roboto, fira-code, - docs-options, + option-search, ... }: let @@ -51,9 +51,9 @@ pkgs.stdenv.mkDerivation { chmod -R +w ./site echo "Generated API documentation in './site/reference/' " - rm -rf ./site/options - cp -r ${docs-options} ./site/options - chmod -R +w ./site/options + rm -rf ./site/option-search + cp -r ${option-search} ./site/option-search + chmod -R +w ./site/option-search # Link to fonts ln -snf ${roboto}/share/fonts/truetype/Roboto-Regular.ttf ./site/static/ diff --git a/docs/nix/flake-module.nix b/docs/nix/flake-module.nix index 6e14fea47..2543d19c3 100644 --- a/docs/nix/flake-module.nix +++ b/docs/nix/flake-module.nix @@ -1,8 +1,5 @@ { inputs, self, ... }: { - imports = [ - ./options/flake-module.nix - ]; perSystem = { config, @@ -96,7 +93,7 @@ docs = pkgs.python3.pkgs.callPackage ./default.nix { inherit (self'.packages) clan-cli-docs - docs-options + option-search inventory-api-docs clan-lib-openapi ; diff --git a/docs/site/index.md b/docs/site/index.md index 5ae8b870a..23200e478 100644 --- a/docs/site/index.md +++ b/docs/site/index.md @@ -70,6 +70,8 @@ hide: .clamp-toggle:checked ~ .clamp-more::after { content: "Read less"; } +trivial change +