docs: Switch to mkdocs for documentation

This commit is contained in:
Christian Decker 2022-12-06 15:09:10 +01:00 committed by Rusty Russell
parent b8519a6a1a
commit a80c1ae40c
2 changed files with 31 additions and 0 deletions

4
doc/requirements.txt Normal file
View File

@ -0,0 +1,4 @@
mkdocs-exclude
mkdocs-material
mkdocs
Jinja2==3.1.0

27
mkdocs.yml Normal file
View File

@ -0,0 +1,27 @@
site_name: Core Lightning
docs_dir: doc
plugins:
- search
- exclude:
regex:
- ".*\\.[1578]"
theme:
name: material
features:
- search.suggest
- navigation.tabs
- navigation.tabs.sticky
- navigation.tracking
- navigation.sections
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
python:
install:
- requirements: doc/requirements.txt