Building Documentation
To build the Kaira documentation, you need to use Sphinx, a powerful tool for creating and managing project documentation. Sphinx processes reStructuredText files to generate HTML, PDF, and other output formats.
Follow these steps to build and review the Kaira documentation using Sphinx:
Open a Terminal: Launch the integrated terminal in Visual Studio Code.
Navigate to the Documentation Folder: Switch to the docs directory by running:
cd docs
Build the HTML Documentation:
On Linux/macOS: Run the following command:
make htmlOn Windows: Run the following command:
make.bat html
View the Documentation: Once the build completes, open the generated HTML files (located in the _build/html directory) in your browser.
Additional Tips
Ensure you have all necessary dependencies installed (e.g., Sphinx and its extensions).
You can re-build the documentation anytime after making changes to verify updates.
For troubleshooting build issues, check the terminal output for error messages.
By following these steps, you’ll have a local copy of the project documentation ready for review.