This repository contains the official documentation for Gthulhu and Qumun projects, built with MkDocs and Material theme.
Visit the documentation at: https://gthulhu.github.io/docs
The documentation is available in both Chinese and English:
- ้ฆ้ - ๅฐๆกๆฆ่ฟฐๅๅฟซ้้ๅง
- ๅฎ่ฃๆๅ - ่ฉณ็ดฐๅฎ่ฃๆญฅ้ฉ
- ๅทฅไฝๅ็ - ๆ ธๅฟๅทฅไฝๅ็่ๆ่กๆถๆง
- ๅฐๆก็ฎๆจ - ่จญ่จ็ๅฟต่็ผๅฑ็ฎๆจ
- API ๅ่ - ๅฎๆด API ๆๆช
- ๅธธ่ฆๅ้ก - ๅธธ่ฆๅ้ก่่งฃ็ญ
- ่ฒข็ปๆๅ - ้็ผ่ ๅ่ๆๅ
- Home - Project overview and quick start
- Installation - Detailed installation steps
- How It Works - Core working principles and architecture
- Project Goals - Design philosophy and development goals
- API Reference - Complete API documentation
- FAQ - Frequently asked questions
- Contributing - Developer participation guide
- Python 3.7+
- pip
- Clone the repository:
git clone https://github.com/Gthulhu/docs.git
cd docs- Install dependencies:
pip install mkdocs mkdocs-material mkdocs-mermaid2-plugin mkdocs-static-i18n- Start the development server:
mkdocs serve- Open your browser and visit http://127.0.0.1:8000
To build the static site:
mkdocs buildThe built site will be in the site/ directory.
We provide a convenient deployment script:
# Build documentation
./deploy.sh
# Build and serve locally
./deploy.sh --serve
# Build and deploy to GitHub Pages
./deploy.sh --deploymkdocs gh-deploy- Build the documentation:
mkdocs build- Upload the
site/directory to your hosting provider.
We welcome contributions to improve the documentation! Here's how:
- Fork this repository
- Create a new branch for your changes
- Edit the Markdown files in the
docs/directory - Test your changes locally with
mkdocs serve - Submit a pull request
- Create a new Markdown file in the
docs/directory - For bilingual support, create both
.md(Chinese) and.en.md(English) versions - Add the new page to
mkdocs.ymlin thenavsection
- Use clear, concise language
- Include code examples where appropriate
- Add diagrams using Mermaid syntax for complex concepts
- Ensure both Chinese and English versions are consistent
- Test all code examples before submitting
The documentation is configured through mkdocs.yml. Key features enabled:
- Material Theme: Modern, responsive design
- Bilingual Support: Chinese and English content
- Mermaid Diagrams: Support for flowcharts and diagrams
- Code Highlighting: Syntax highlighting for multiple languages
- Search: Full-text search in both languages
- Dark/Light Mode: Theme switching
This documentation is licensed under the same terms as the Gthulhu project - GNU General Public License version 2.
If you have questions about the documentation:
- ๐ Documentation Issues: GitHub Issues
- ๐ฌ General Questions: GitHub Discussions
- ๐ Project Issues: Gthulhu Issues
Made with โค๏ธ by the Gthulhu community