From ddd8a54230ed47c7315b8569ef28958b62fde3bd Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 1 Jun 2024 06:50:57 -0700 Subject: [PATCH] Add mkdocs config --- mkdocs.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 mkdocs.yml diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 00000000..6223aeca --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,38 @@ +site_name: '{fmt}' + +docs_dir: doc + +repo_url: https://github.com/fmtlib/fmt + +# Make the docs work locally without a server. +use_directory_urls: false + +theme: + name: material + features: + - navigation.tabs + - toc.integrate + +markdown_extensions: + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + +plugins: + - mkdocstrings: + default_handler: cxx + +nav: + - Usage: usage.md + - API: api.md + - Syntax: syntax.md + # Make the {fmt} link work locally. + - '': index.md + +extra: + version: + provider: mike