Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## File structure
- ```
- project/
- ├── docs
- │ ├── about.md
- │ ├── assets
- │ │ └── back.png
- │ ├── index.md
- │ └── installation.md
- └── mkdocs.yml
- ```
- ----
- ### mkdocs.yml
- ```
- site_name: Demo
- nav:
- - 'index.md'
- - Installation: installation.md
- - About: about.md
- theme:
- name: 'material'
- ```
- ----
- ### index.md
- ```
- # Welcome to our project
- ![image](assets/back.png)
- 1. [Installation](/installation/)
- 2. [About](/about/)
- ```
- ----
- ### Run in local
- ```
- docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement