A Sphinx documentation system experiment project for learning and testing Sphinx documentation generation capabilities.
- Project Name: sphinx-experiement
- Author: SKPlol
- Sphinx Version: 7.2.6
- Language: English / 中文
This project serves as an experimental environment for:
- Learning Sphinx documentation framework
- Testing various Sphinx extensions and themes
- Exploring documentation best practices
- Creating sample documentation structures
├── source/ # Documentation source files
│ ├── conf.py # Sphinx configuration
│ ├── index.rst # Main documentation file
│ ├── _static/ # Static assets (CSS, JS, images)
│ └── _templates/ # Custom HTML templates
├── _build/ # Generated documentation (not in version control)
├── Makefile # Unix build automation
├── make.bat # Windows build automation
├── README.md # This file (English)
└── README.zh-CN.md # 中文版本
- Python 3.8+
- Sphinx 7.2.6+
# Install dependencies (if needed)
pip install sphinx
# Build HTML documentation
make html
# Build other formats
make latex # LaTeX/PDF
make epub # ePub
make linkcheck # Check external links
# Clean build files
make clean
# From the project root directory
make html
# The generated documentation will be in _build/html/
-
Clone the repository
git clone <repository-url> cd sphinx-experiement
-
Install Sphinx (if not already installed)
pip install sphinx
-
Build the documentation
make html
-
View the documentation Open
_build/html/index.html
in your web browser
The main configuration is located in source/conf.py
. Key settings:
- Language:
zh_CN
(Chinese Simplified) - Separate source and build directories
- Standard Sphinx extensions enabled
- You can check other extension in Extensions Guide - Complete list of recommended Sphinx extensions with installation instructions
- Fork the repository and create a feature branch
- Edit documentation files in the
source/
directory - Build and test changes locally using
make html
- Check for broken links with
make linkcheck
- Submit pull requests with clear descriptions of changes
- Update both README files (English and Chinese versions)
This project is for educational and experimental purposes.
Generated with Sphinx 7.2.6