How tox/tox.chat works
Tox Website is a static informational site for Tox, with curated client listings and platform-specific download guidance. Its main workflow is generating HTML from the Jinja templates and serving the resulting pages and local assets; the download page’s JavaScript detects the visitor’s platform and builds relevant client buttons. The README names the site’s generation workflow and template conventions. Source excerpts are limited, so links between individual pages and shared templates or scripts are omitted where not shown.
Main entry points: pelicanconf.py Site configuration · osdetect.js Platform detection · index.html Home page · download.html Download page
Components 14
Site generation
- Pelican generator
- Site configuration
pelicanconf.py - Generated HTML
Information pages
- Home page
themes/website/templates/index.html - About page
themes/website/templates/about.html - Client listings
themes/website/templates/clients.html - FAQ page
themes/website/templates/faq.html - FAQ template
themes/website/templates/faq.html
Client downloads
- Download page
themes/website/templates/download.html - Platform detection
themes/website/static/js/osdetect.js
Shared presentation
- Base template
themes/website/templates/_base.html - Navigation items
themes/website/templates/_navbar_items.html - Local styles and media
themes/website/static
Other components
- Site visitor
Connections 6
- Pelican generator → Site configuration: uses configuration
README.md - Site configuration → Home page: registers templates
pelicanconf.py - Pelican generator → Generated HTML: generates HTML
README.md - Pelican generator → Local styles and media: copies assets
README.md - Site visitor → Platform detection: runs script
- Platform detection → Download page: builds download buttons