implement mkdocs, remove pandoc
This commit is contained in:
36
mkdocs/mkdocs.yml
Normal file
36
mkdocs/mkdocs.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
site_name: CMBA Rulebook
|
||||
docs_dir: ../docs
|
||||
|
||||
# Prevent accidental publishing of repo/CI/dev clutter
|
||||
theme:
|
||||
name: material
|
||||
palette:
|
||||
scheme: default
|
||||
primary: blue
|
||||
accent: red
|
||||
features:
|
||||
- navigation.instant
|
||||
- navigation.tracking
|
||||
- navigation.top
|
||||
- toc.integrate
|
||||
- search.highlight
|
||||
- search.suggest
|
||||
extra_css:
|
||||
- mkdocs/styles/extra.css
|
||||
markdown_extensions:
|
||||
- toc:
|
||||
permalink: true
|
||||
- admonition:
|
||||
# - tables
|
||||
nav:
|
||||
- Home: index.md
|
||||
- 01-consitution-and-bylaws.md
|
||||
- 02-playing-rules.md
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- offline
|
||||
- enumerate-headings:
|
||||
toc_depth: 2
|
||||
exclude:
|
||||
- index.md
|
||||
2
mkdocs/requirements.txt
Normal file
2
mkdocs/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
mkdocs-enumerate-headings-plugin==0.6
|
||||
mkdocs-material==9.7
|
||||
10
mkdocs/styles/extra.css
Normal file
10
mkdocs/styles/extra.css
Normal file
@@ -0,0 +1,10 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
|
||||
|
||||
:root {
|
||||
--md-text-font: "Merriweather"
|
||||
}
|
||||
|
||||
.md-nav__title {
|
||||
font-family: "Nunito Sans";
|
||||
}
|
||||
Reference in New Issue
Block a user