another docs update

This commit is contained in:
Pyrox 2024-06-30 19:48:07 -04:00
parent e12f7ef2da
commit c8e5aa4158
Signed by: pyrox
GPG key ID: 8CDF3F7CAA53A0F5
2 changed files with 10 additions and 5 deletions

View file

@ -3,11 +3,16 @@ site_url: https://auxdocs.pyrox.dev/
repo_url: https://git.pyrox.dev/pyrox/aux-docs repo_url: https://git.pyrox.dev/pyrox/aux-docs
repo_name: pyrox/aux-docs repo_name: pyrox/aux-docs
site_dir: public site_dir: public
site_description: Aux Documentation
site_author: Nixpkgs and Aux Contributors
copyright: Licenced MIT
theme: theme:
name: material name: material
favicon: assets/aux-logo.svg favicon: assets/aux-logo.svg
features: features:
- search.highlight - search.highlight
- navigation.indexes
- navigation.prune
font: font:
text: IBM Plex Sans text: IBM Plex Sans
code: IBM Plex Mono code: IBM Plex Mono

View file

@ -52,15 +52,15 @@ stdenvNoCC.mkDerivation {
mv functions out/functions mv functions out/functions
mv functions.md out/functions/index.md mv functions.md out/functions/index.md
mv hooks out/hooks mv hooks out/hooks
mv languages-frameworks out/languages-frameworks mv languages-frameworks out/languages-and-frameworks
mkdir out/lib mkdir out/library-reference
cp ${pkgs.amg.lib-docs}/*.md out/lib/ cp ${pkgs.amg.lib-docs}/*.md out/library-reference/
mv module-system out/module-system mv module-system out/module-system
mv packages out/packages mv packages out/packages
mv stdenv out/stdenv mv stdenv out/stdenv
mv stdenv.md out/stdenv/index.md mv stdenv.md out/stdenv/index.md
mv using out/using mv using out/using-nixpkgs
mv using-nixpkgs.md out/using/index.md mv using-nixpkgs.md out/using-nixpkgs/index.md
pushd out pushd out
find . -type f -exec perl -pi -e 's/\s*:::{.note}\n/!!! note\n\ \ /' {} \; 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\ \ /' {} \; find . -type f -exec perl -pi -e 's/\s*:::{.warning}\n/!!! warning\n\ \ /' {} \;