cleanup, migrate to mkdocs
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 49s
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 49s
This commit is contained in:
3
mkdocs/index.md
Normal file
3
mkdocs/index.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# CMBA Rulebooks
|
||||
|
||||
Use the navigation to view the documents.
|
||||
48
mkdocs/mkdocs.yml
Normal file
48
mkdocs/mkdocs.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
site_name: CMBA Rulebook
|
||||
docs_dir: ..
|
||||
site_dir: ./dist
|
||||
|
||||
# Prevent accidental publishing of repo/CI/dev clutter
|
||||
exclude_docs: |
|
||||
.github/
|
||||
.git/
|
||||
.venv/
|
||||
venv/
|
||||
"*.sh"
|
||||
"*.py"
|
||||
"*.yml"
|
||||
"*.yaml"
|
||||
"README.md"
|
||||
theme:
|
||||
name: material
|
||||
palette:
|
||||
scheme: default
|
||||
primary: blue
|
||||
accent: red
|
||||
logo: ../assets/cmba-logo.svg
|
||||
favicon: ../assets/favicon.png
|
||||
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: mkdocs/index.md
|
||||
- Constitution: cmba-constitution.md
|
||||
- Bylaws: cmba-bylaws.md
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- enumerate-headings:
|
||||
toc_depth: 2
|
||||
exclude:
|
||||
- mkdocs/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