Skip to content

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

Code highlight is using a special extension

Check how to use notes

code highlight 2

Code highlight is using a special extension

This is an inline command: for i in * ; do echo $i ; done.

bash test script
cd /tmp
ls -l
du -sh *

{
    "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": {}
}
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
    app: test
name: test
spec:
replicas: 1
selector:
    matchLabels:
    app: test
strategy: {}
template:
    metadata:
    creationTimestamp: null
    labels:
        app: test
    spec:
    containers:
    - image: alpine
        name: alpine
        resources: {}
status: {}

Tables

Method Description
GET :material-check: Fetch resource
PUT :material-check-all: Update resource
DELETE :material-close: Delete resource