| name | mkdocs-1-project-initialization |
| description | Sub-skill of mkdocs: 1. Project Initialization (+1). |
| version | 1.0.0 |
| category | _internal |
| type | reference |
| scripts_exempt | true |
1. Project Initialization (+1)
1. Project Initialization
mkdocs new my-project-docs
cd my-project-docs
mkdir -p docs
touch docs/index.md
touch mkdocs.yml
2. Basic Configuration (mkdocs.yml)
site_name: My Project Documentation
site_url: https://example.com/docs/
site_description: Comprehensive documentation for My Project
site_author: Your Name
repo_name: username/my-project
repo_url: https://github.com/username/my-project
edit_uri: edit/main/docs/
theme:
name: material
palette:
- scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch