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_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

View file

@ -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\ \ /' {} \;