Add mkdocs config

This commit is contained in:
Victor Zverovich 2024-06-01 06:50:57 -07:00
parent fcd3e1e19c
commit ddd8a54230

38
mkdocs.yml Normal file
View File

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