Migrate to mkdocs

This commit is contained in:
Victor Zverovich
2024-06-02 09:00:40 -07:00
parent 38ba3d3993
commit 250456d5a3
118 changed files with 55 additions and 11953 deletions
+48
View File
@@ -0,0 +1,48 @@
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
extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js
- fmt.js
extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/default.min.css
- fmt.css
markdown_extensions:
- pymdownx.highlight:
# Use JavaScript syntax highlighter instead of Pygments because it
# automatically applies to code blocks extracted through Doxygen.
use_pygments: false
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
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