This repository contains the official documentation for the Fluxion Engine - a powerful Python framework for creating mathematical animations programmatically.
The documentation is built using Sphinx with the Furo theme.
- Python 3.11 or higher
- pip package manager
-
Clone this repository:
git clone https://github.com/Fluxion-engine/Fluxion-docs.git cd Fluxion-docs -
Install dependencies:
pip install -r requirements.txt
-
Install Fluxion (required for API documentation):
pip install fluxion-engine
.\make.bat htmlmake htmlThe built documentation will be in the build/html/ directory.
# Windows
start build/html/index.html
# Linux
xdg-open build/html/index.html
# macOS
open build/html/index.html# Using Python's built-in server
python -m http.server 8000 --directory build/html
# Then open http://localhost:8000 in your browser- Edit the
.rstor.mdfiles in thesource/directory - Rebuild the documentation using
make htmlor.\make.bat html - Refresh your browser to see the changes
For automatic rebuilding on file changes:
pip install sphinx-autobuild
sphinx-autobuild source build/htmlThen open http://localhost:8000 in your browser.
Fluxion-docs/
├── source/ # Documentation source files
│ ├── _static/ # CSS, images, logos
│ ├── _templates/ # Custom Sphinx templates
│ ├── tutorials/ # Tutorial content
│ ├── guides/ # User guides
│ ├── faq/ # Frequently asked questions
│ ├── reference/ # API reference
│ ├── contributing/ # Contribution guidelines
│ ├── changelog/ # Version history
│ ├── installation/ # Installation instructions
│ ├── conf.py # Sphinx configuration
│ └── index.rst # Documentation homepage
├── examples/ # Example scenes for documentation
├── assets/ # Logo and branding assets
├── i18n/ # Internationalization files
├── build/ # Generated documentation (gitignored)
├── Makefile # Build automation (Unix)
├── make.bat # Build automation (Windows)
└── requirements.txt # Python dependencies
This documentation is configured for deployment on ReadTheDocs:
- Connect your GitHub repository to ReadTheDocs
- The
.readthedocs.ymlconfiguration file will handle the build automatically - Documentation will be available at
https://fluxion-docs.readthedocs.io/
To deploy to GitHub Pages:
# Build the documentation
make html
# Deploy to gh-pages branch
pip install ghp-import
ghp-import -n -p -f build/htmlSimply upload the contents of build/html/ to any static web hosting service.
Contributions to improve the documentation are welcome! Please:
- Fork this repository
- Create a feature branch
- Make your changes
- Test the build locally
- Submit a pull request
This documentation is licensed under the MIT License, matching the Fluxion Engine library.
Made with ❤️ by The Fluxion Community