Installation¶
This guide explains how to install Sphinx and the custom theme in a BlueRobotics project. Follow the steps below to quickly get started with generating and previewing your documentation.
Requirements¶
Before getting started, make sure you have the following tools installed:
Python 3.12 or higher
Make
Step by step¶
To install Sphinx and this theme in a BlueRobotics project, follow these steps:
Copy the
docsfolder from this repository into your own project.Edit your
conf.pyglobal variables with your project details:SITE_URL = "https://docs.bluerobotics.com/sphinx-theme/" REPO_URL = "https://github.com/bluerobotics/sphinx-blue-robotics-theme" REPO_NAME = "sphinx-blue-robotics-theme" PROJECT_NAME ="Blue Robotics Sphinx Theme"Edit your documentation as needed.
To view the documentation locally, run the following command:
make previewThis will build the documentation and start a local preview server at
http://localhost:5500.
Last update:
29 Jan 2025