Spaces:
Sleeping
A newer version of the Streamlit SDK is available:
1.55.0
Documentation - Sphinx
This docs folder contains the configuration and source files needed to build the HTML documentation for the Air Quality Forecasting project using Sphinx. Sphinx allows us to generate clean, navigable HTML documentation directly from the project's docstrings and reStructuredText (.rst) files.
π Folder Structure
docs/
βββ _build/ # Output directory for built documentation files
β βββ doctrees/ # Stores the intermediate doctree files used by Sphinx
β βββ html/ # Contains the generated HTML files for the documentation
βββ .gitkeep # Keeps the _build folder in the version control system
βββ Makefile # Makefile for building the documentation on Unix-based systems
βββ air_quality_forecast.rst # Documentation for the air quality forecasting module
βββ conf.py # Configuration file for Sphinx
βββ index.rst # Main index file for the documentation
βββ make.bat # Batch file for building the documentation on Windows
βββ modules.rst # Auto-generated list of all modules in the project
βββ streamlit_src.controllers.rst # Documentation for controllers module
βββ streamlit_src.models.rst # Documentation for models module
βββ streamlit_src.rst # General documentation for the streamlit_src folder
βββ streamlit_src.views.rst # Documentation for views module
π Usage
Generating HTML Documentation
To build (or re-build) the HTML documentation, navigate to the docs folder in your terminal and use one of the following commands:
On Unix-based systems (Linux/macOS):
make clean make htmlOn Windows systems
make clean make htmlNote that sometimes Windows systems might require you to trust the
makecommand, in this case, you should run.\make clean .\make html
Accessing the Documentation
The documentation can be accessed in HTML form by navigating and opening docs/_build/html/index.html. This will display the documentation page in your preferred browser.