Accessing the Docs Locally
If you're updating the documentation and want to see how it looks locally before pushing your changes and deploying, you can do so by following these steps:
-
Install uv:
If you don't have uv installed, follow this guide to install it.
-
Navigate to the Docs Directory: Open your terminal and navigate to the
docsdirectory of the repository:cd SlidesGen/docs -
Install Dependencies: Run the following command to install the necessary dependencies:
uv sync -
Serve the Documentation: Start the local server with the following command:
uv run mkdocs serve -
View in Browser: Open your web browser and go to
http://localhost:3000to view the documentation.