From c8e5aa41586a3b5067771cf78a3dbc1efe3fd7e2 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Sun, 30 Jun 2024 19:48:07 -0400 Subject: [PATCH] another docs update --- mkdocs.yml | 5 +++++ packages/md-manual/default.nix | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 98d57ce..fbd8f2c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,11 +3,16 @@ site_url: https://auxdocs.pyrox.dev/ repo_url: https://git.pyrox.dev/pyrox/aux-docs repo_name: pyrox/aux-docs site_dir: public +site_description: Aux Documentation +site_author: Nixpkgs and Aux Contributors +copyright: Licenced MIT theme: name: material favicon: assets/aux-logo.svg features: - search.highlight + - navigation.indexes + - navigation.prune font: text: IBM Plex Sans code: IBM Plex Mono diff --git a/packages/md-manual/default.nix b/packages/md-manual/default.nix index 59257a6..5a022a4 100644 --- a/packages/md-manual/default.nix +++ b/packages/md-manual/default.nix @@ -52,15 +52,15 @@ stdenvNoCC.mkDerivation { mv functions out/functions mv functions.md out/functions/index.md mv hooks out/hooks - mv languages-frameworks out/languages-frameworks - mkdir out/lib - cp ${pkgs.amg.lib-docs}/*.md out/lib/ + mv languages-frameworks out/languages-and-frameworks + mkdir out/library-reference + cp ${pkgs.amg.lib-docs}/*.md out/library-reference/ mv module-system out/module-system mv packages out/packages mv stdenv out/stdenv mv stdenv.md out/stdenv/index.md - mv using out/using - mv using-nixpkgs.md out/using/index.md + mv using out/using-nixpkgs + mv using-nixpkgs.md out/using-nixpkgs/index.md pushd out find . -type f -exec perl -pi -e 's/\s*:::{.note}\n/!!! note\n\ \ /' {} \; find . -type f -exec perl -pi -e 's/\s*:::{.warning}\n/!!! warning\n\ \ /' {} \;