8000 GitHub - andandandand/voxel51-docs: The source code for the Voxel51 documentation site - https://docs.voxel51.com
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andandandand/voxel51-docs

 
 

Repository files navigation

Beta Version of the Voxel51 Technical Documentation

This is the source repository for the Voxel51 documentation site - https://beta-docs.voxel51.com

We love pull requests - everything from typos to full Jupyter Notebooks.

At its most simple, you can fork the repo in GitHub, make and commit your edits, and then open a PR. A step above would be setting up local development.

To install and edit the general docs doc:

  1. Make and activate a virtual environment, we recommend you to use Python 3.11 for this.
# Create a virtual environment named '.venv'
  python3 -m venv .venv

# Activate the virtual environment
  source .venv/bin/activate
# On linux/mac/Windows WSL 
  source .venv\bin\activate
# On windows in Powershell 
  source .venv\Scripts\activate`
  1. Be in the root directory of the repo
  2. pip install -r requirements.txt
  3. Run mkdocs serve --dirty. The --dirty flag specifies that if you edit a single file, mkdocs serve will only rebuild that one file rather than the entire documentation site. To do a clean build and force mkdocs to build everything run mkdocs server. Clean is the default behavior.
  4. PARTY!

If you find errors while executing mkdocs serve related to the docs/api and docs/ts_api folders delete their symlinks and rerun the command.

To buid the entire doc site (only been test on Linux)

  1. Follow steps 1-3 above
  2. ./build.sh --venv <location of the venv you created in step 1 above>
  3. Celebration!

To build the API docs along with the general docs you should use build.sh

Please be sure to read our CONTRIBUTING guide.

Before you take on a big editing tasks we highly recommend:

  1. Find an existing Github issue and start discussing what you would like to do
  2. Create a new Github issue so we can discuss it with you
  3. You can also come chat with us in Discord in the #docs channel - we are friendly and can give you good feedback.

Voxel51 Documentation by Voxel51 Inc is licensed under Creative Commons Attribution-ShareAlike 4.0 International

About

The source code for the Voxel51 documentation site - https://docs.voxel51.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 67.3%
  • Python 23.0%
  • Makefile 9.7%
0