This repository contains a comprehensive archive of useful coding information, resources, and documentation, built with MkDocs and the Material theme.
- General Coding Information: A growing collection of programming resources and documentation
- Chickensoft Documentation: The original documentation for Chickensoft, an open source organization for the C# Godot community
- Install the required dependencies:
pip install -r requirements.txt
- Run the local development server:
mkdocs serve
This will start a local server at http://127.0.0.1:8000/ where you can preview the documentation.
To build the static site:
mkdocs build
This will create a site
directory with the compiled HTML files.
This repository includes GitHub Actions workflows that automatically build and deploy the documentation site to GitHub Pages whenever changes are pushed to the main branch.
Two workflow options are available:
- deploy-docs.yml: A standard workflow that uses the peaceiris/actions-gh-pages action for deployment.
- deploy-mkdocs.yml: An alternative workflow that uses Python and mkdocs to build and deploy the site.
By default, the site will be deployed to the gh-pages
branch. To enable GitHub Pages:
- Go to your repository's Settings > Pages
- Set the Source to "Deploy from a branch"
- Select the "gh-pages" branch and "/ (root)" folder
- Save your changes
The documentation will be available at https://[username].github.io/[repository]/
docs/
: Contains all documentation filesdocs/index.md
: Main landing pagedocs/SUMMARY.md
: Navigation definition for literate-navdocs/chickensoft/
: Chickensoft documentationdocs/chickensoft/SUMMARY.md
: Navigation definition for Chickensoft section
docs/chickensoft/blog/
: Chickensoft blog posts
mkdocs.yml
: Configuration file for MkDocs.github/workflows/
: GitHub Actions workflow files for deployment
The site uses the mkdocs-literate-nav plugin for automatic navigation generation. Navigation is defined in SUMMARY.md
files:
- The root
docs/SUMMARY.md
defines the main navigation structure - Subdirectory
SUMMARY.md
files define navigation for those sections - Folders that end with a
/
in the navigation automatically include all files within them
To add new content, simply:
- Add your Markdown files to the appropriate directory
- If needed, update the relevant
SUMMARY.md
file or just let the plugin discover them automatically
Contributions to this knowledge archive are welcome! Please feel free to submit pull requests with new content, corrections, or improvements.
To customize the site appearance and behavior, edit the mkdocs.yml
file. See the MkDocs Material documentation for more options.