From 6e3939d68c2710e54e6e471d1d1b88fdc6627216 Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Fri, 11 Sep 2026 05:38:04 +0530 Subject: [PATCH] docs: nest lib docs under docs/lib with lib-prefixed nav --- docforge.nav.yml | 15 +++++++----- mkdocs.yml | 60 ++++++++++++++++++++++++++---------------------- 2 files changed, 41 insertions(+), 34 deletions(-) diff --git a/docforge.nav.yml b/docforge.nav.yml index 7cbd3ab..7be0d19 100644 --- a/docforge.nav.yml +++ b/docforge.nav.yml @@ -1,10 +1,13 @@ -home: index.md +home: lib/index.md groups: Application Bootstrap: - - app.md - - binder.md + - lib/app.md + - lib/binder.md Core Utilities: - - loader.md - - errors.md + - lib/loader.md + - lib/errors.md OpenAPI Client: - - client.md + - lib/client.md +icon: + logo: material/api + repo: fontawesome/brands/github \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 35a843c..f0341e0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -21,6 +21,31 @@ theme: - search.highlight - search.share - search.suggest + icon: + logo: material/api + repo: fontawesome/brands/github +markdown_extensions: +- pymdownx.superfences +- pymdownx.inlinehilite +- pymdownx.snippets +- admonition +- pymdownx.details +- pymdownx.highlight: + linenums: true + anchor_linenums: true + line_spans: __span + pygments_lang_class: true +- pymdownx.tabbed: + alternate_style: true +- pymdownx.tasklist: + custom_checkbox: true +- tables +- footnotes +- pymdownx.caret +- pymdownx.tilde +- pymdownx.mark +extra_css: +- https://unpkg.com/dracula-prism/dist/css/dracula-prism.css plugins: - search - mkdocstrings: @@ -41,36 +66,15 @@ plugins: show_category_heading: true show_object_full_path: false show_symbol_type_heading: true -markdown_extensions: -- pymdownx.superfences -- pymdownx.inlinehilite -- pymdownx.snippets -- admonition -- pymdownx.details -- pymdownx.superfences -- pymdownx.highlight: - linenums: true - anchor_linenums: true - line_spans: __span - pygments_lang_class: true -- pymdownx.tabbed: - alternate_style: true -- pymdownx.tasklist: - custom_checkbox: true -- tables -- footnotes -- pymdownx.caret -- pymdownx.tilde -- pymdownx.mark site_name: openapi_first -docs_dir: docs/lib +docs_dir: docs nav: -- Home: index.md +- Home: lib/index.md - Application Bootstrap: - - app.md - - binder.md + - lib/app.md + - lib/binder.md - Core Utilities: - - loader.md - - errors.md + - lib/loader.md + - lib/errors.md - OpenAPI Client: - - client.md + - lib/client.md