Aleksandar Todorov
Update docs README.md
f6fb4e3 unverified

A newer version of the Streamlit SDK is available: 1.55.0

Upgrade

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 html
    
  • On Windows systems

    make clean
    make html
    
  • Note that sometimes Windows systems might require you to trust the make command, 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.