UBCSailbot software team's documentation site. It is meant to be developed in Sailbot Workspace in conjunction with our other software, but doesn't have to be. There are instructions for both cases below.
- Uncomment
docker-compose.docs.yml
in.devcontainer/devcontainer.json
- Rebuild the Dev Container
Refer to How to run optional programs for more details.
-
Clone repository
git clone https://github.com/UBCSailbot/docs.git
-
Manually install social plugin OS dependencies
-
Install Python dependencies
pip install --upgrade pip pip install -Ur docs/requirements.txt
- Can do this in a Python virtual environment
After setup, the Docs site should be running on port 8000.
Refer to How to run optional programs for more details.
CTRL+P
to open Quick Open- Run a launch configuration
- "debug Run Application" runs
mkdocs serve
- "debug Launch Application" runs
mkdocs serve
and opens the application in a new Microsoft Edge window
- "debug Run Application" runs
mkdocs serve
This site is built using the latest versions of dependencies in docs/requirements.txt
at the time of the most recent commit to the main branch.
To see exactly how the site will look when deployed, ensure your local dependencies are up to date.
Rebuild the Dev Container.
pip install -Ur docs/requirements.txt