Skip to content

MkDocs Setup Snippets

Create Folder Structure

Create the following folder structure: (This is the sample structure where docs serve as the main directory and you have to include all the folders inside it. Add mkdocs.yml outside and README.md)

documentation-project
├── docs
│   ├── mkdocs
│   │   ├── snippets
│   │   │   └── example-snippet.md
│   │   └── information
│   │       └── example-info.md
│   ├── react
│   │   ├── snippets
│   │   │   └── example-snippet.md
│   │   └── information
│   │       └── example-info.md
│   ├── bootstrap
│   │   ├── snippets
│   │   │   └── example-snippet.md
│   │   └── information
│   │       └── example-info.md
│   ├── tailwind
│   │   ├── snippets
│   │   │   └── example-snippet.md
│   │   └── information
│   │       └── example-info.md
│   ├── virtual-environment
│   │   ├── snippets
│   │   │   └── create-virtual-env.md
│   │   └── information
│   │       └── virtual-env-info.md
│   └── index.md
├── mkdocs.yml
└── README.md