Skip to content

NodesAutomations/Template_MkDocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Template_Docs

Template for Documentation Projects

πŸš€ How to publish your docs with MkDocs Material and GitHub Pages

  1. Push your changes to GitHub

    • All documentation lives in the docs/ folder as Markdown files.
    • The site configuration is in mkdocs.yml.
  2. Enable GitHub Pages

    • Go to your repository on GitHub.
    • Click on Settings > Pages.
    • Set the source branch to gh-pages (created automatically by the workflow).
    • Save your changes.
  3. Automatic Deployment

    • Every push to the main branch will trigger a build and deploy your site to GitHub Pages using the workflow in .github/workflows/deploy.yml.
    • Your site will be available at: https://<your-github-username>.github.io/<repository-name>/
  4. Edit your docs

    • Update or add Markdown files in the docs/ folder.
    • Edit mkdocs.yml to change navigation, theme, or site settings.
    • Commit and push your changes to update the site.

πŸ“ Example Docs Structure

Template_MkDocs/
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ index.md
β”‚   └── about.md
β”œβ”€β”€ mkdocs.yml
└── .github/
    └── workflows/
        └── deploy.yml

πŸ“š Resources


No local installation required. Everything builds and deploys in the cloud for free!

About

Template to Generate MkDocs website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •