Skip to content

MapMakersAndProgrammers/wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to add pages:

  1. Create .md file in /docs/.... (e.g., docs/tanki2.0/page1.md)

  2. Add to nav: in mkdocs.yml:

nav:
- New Section:
    - New Page: path to page1.md

Directory Structure:

docs/  
├─ section-name (doesnt have to be the same as the nav name)/  
│  ├─ page1.md  
│  └─ page2.md  

Order in nav: = menu order.

In nav you can create anything you want with any name you want. the only thing that matters is the final md page path, if the folders and the nav names dont match up that doesnt matter. Only the md directory should match