This directory contains the multi-language documentation for NEONPAY v2.6.0.
The documentation now includes comprehensive guides for all new enterprise features:
- Web Analytics Dashboard - Real-time monitoring via web interface
- Notification System - Multi-channel notifications (Email, Telegram, SMS, Webhook)
- Backup & Restore - Automated data protection
- Template System - Pre-built bot templates
- Multi-Bot Analytics - Network-wide performance tracking
- Event Collection - Centralized event management
- Web Sync Interface - Multi-bot synchronization via REST API
docs/
βββ index.rst # Main index page with language selection
βββ conf.py # Sphinx configuration
βββ Makefile # Build commands
βββ requirements.txt # Documentation dependencies
βββ en/ # English documentation
β βββ index.rst
β βββ README.rst
β βββ API.rst
β βββ FAQ.rst
β βββ SECURITY.rst
βββ ru/ # Russian documentation
β βββ index.rst
β βββ README.rst
β βββ API.rst
β βββ FAQ.rst
β βββ SECURITY.rst
βββ az/ # Azerbaijani documentation
βββ index.rst
βββ README.rst
βββ API.rst
βββ FAQ.rst
βββ SECURITY.rst
Install the required dependencies:
pip install -r docs/requirements.txt-
Build all languages:
cd docs make html-multilang -
Build specific language:
cd docs sphinx-build -b html -D language=en . _build/html/en sphinx-build -b html -D language=ru . _build/html/ru sphinx-build -b html -D language=az . _build/html/az
-
Build main documentation:
cd docs make html -
Clean build directory:
cd docs make clean
The documentation is automatically deployed to GitHub Pages when changes are pushed to the main branch. The deployment is handled by the GitHub Actions workflow in .github/workflows/docs.yml.
If you need to deploy manually:
-
Build the documentation:
cd docs make html-multilang -
Deploy to GitHub Pages:
npx gh-pages -d _build/html
To add support for a new language:
- Create a new directory for the language (e.g.,
docs/fr/for French) - Copy the structure from an existing language directory
- Translate all
.rstfiles in the new directory - Update
docs/conf.pyto include the new language in thelanguagesdictionary - Update
docs/index.rstto include a link to the new language - Update
.github/workflows/docs.ymlto build the new language
The documentation supports both RST and Markdown formats:
- RST files (
.rst) - Native Sphinx format, recommended for complex documentation - Markdown files (
.md) - Converted using MyST parser, good for simple documentation
When contributing to the documentation:
- Make changes to the appropriate language files
- Test the build locally:
cd docs make html-multilang - Check that all links work:
cd docs make linkcheck - Commit and push your changes
-
Build fails with "language not found"
- Make sure the language is defined in
conf.py - Check that the language directory exists
- Make sure the language is defined in
-
Links don't work between languages
- Use relative paths:
../en/READMEinstead of absolute paths - Make sure all referenced files exist
- Use relative paths:
-
Styling issues
- Check that
sphinx-rtd-themeis installed - Verify
html_themeis set correctly inconf.py
- Check that
If you encounter issues:
- Check the Sphinx documentation: https://www.sphinx-doc.org/
- Review the GitHub Actions logs for deployment issues
- Open an issue on the NEONPAY repository