Configure mkdocs with mkdocs-material and friends
This commit is contained in:
parent
34314254f3
commit
13ace4a5c7
5 changed files with 39 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -33,3 +33,6 @@ e2e-tests
|
||||||
|
|
||||||
coverage.txt
|
coverage.txt
|
||||||
test/e2e/e2e\.test
|
test/e2e/e2e\.test
|
||||||
|
|
||||||
|
# mkdocs
|
||||||
|
/site
|
6
docs/.pages
Normal file
6
docs/.pages
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
arrange:
|
||||||
|
- index.md
|
||||||
|
- deploy
|
||||||
|
- user-guide
|
||||||
|
- examples
|
||||||
|
- ...
|
1
docs/deploy/.pages
Normal file
1
docs/deploy/.pages
Normal file
|
@ -0,0 +1 @@
|
||||||
|
title: Deployment
|
24
mkdocs.yml
Normal file
24
mkdocs.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
site_name: NGINX Ingress Controller
|
||||||
|
strict: true
|
||||||
|
repo_name: 'kubernetes/ingress-nginx'
|
||||||
|
repo_url: 'https://github.com/kubernetes/ingress-nginx'
|
||||||
|
markdown_extensions:
|
||||||
|
- admonition
|
||||||
|
- codehilite
|
||||||
|
- pymdownx.inlinehilite
|
||||||
|
- pymdownx.tasklist(custom_checkbox=true)
|
||||||
|
- toc:
|
||||||
|
permalink: true
|
||||||
|
theme:
|
||||||
|
name: material
|
||||||
|
feature:
|
||||||
|
tabs: true
|
||||||
|
logo:
|
||||||
|
icon: 'public' # globe icon
|
||||||
|
palette:
|
||||||
|
primary: 'teal'
|
||||||
|
accent: 'green'
|
||||||
|
plugins:
|
||||||
|
- search
|
||||||
|
- awesome-pages:
|
||||||
|
collapse_single_pages: true
|
5
requirements-docs.txt
Normal file
5
requirements-docs.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
mkdocs-material~=2.7.0
|
||||||
|
mkdocs-awesome-pages-plugin~=1.2.0
|
||||||
|
mkdocs~=0.17.0
|
||||||
|
pygments~=2.2.0
|
||||||
|
pymdown-extensions~=4.10
|
Loading…
Reference in a new issue