This repository contains the official documentation for Gthulhu and SCX GoLand Core 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
- Start the development server:
mkdocs serve
- Open your browser and visit http://127.0.0.1:8000
To build the static site:
mkdocs build
The 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 --deploy
mkdocs 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.yml
in thenav
section
- 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