Welcome to MkDocs¶
For full documentation visit mkdocs.org.
Commands¶
mkdocs new [dir-name]
- Create a new project.mkdocs serve
- Start the live-reloading docs server.mkdocs build
- Build the documentation site.mkdocs -h
- Print help message and exit.
Project layout¶
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
code test¶
code highlight 2
Code highlight is using a special extension
This is an inline command: for i in * ; do echo $i ; done
.
{
"kind": "Deployment",
"apiVersion": "apps/v1",
"metadata": {
"name": "test",
"creationTimestamp": null,
"labels": {
"app": "test"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app": "test"
}
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "test"
}
},
"spec": {
"containers": [
{
"name": "alpine",
"image": "alpine",
"resources": {}
}
]
}
},
"strategy": {}
},
"status": {}
}
Tables¶
Method | Description |
---|---|
GET |
:material-check: Fetch resource |
PUT |
:material-check-all: Update resource |
DELETE |
:material-close: Delete resource |