<<<<<<< HEAD The docs hosted from this repository are available at: jpiscitello7351.github.io/CTRE-SwerveGen/
You can add files to the documentation by creating a Markdown file in the docs/
directory, and then editing mkdocs.yml
.
To edit mkdocs.yml
to tell mkdocs where to find your new file, scroll down until you see a comment laballed "this is where you add your pages". Follow the format for all the other entries.
This project uses material for mkdocs for building documentation.
It also requires the mkdoxy pip package and the doxygen executable.
The documentation is capable of documenting any docstring in any file within the src/main
directory.
Follow the instructions below to open the docs, or install the necessary tools and build the documentation.
- You need Python installed and available in your path for this to work. You can get this from the Microsoft store or from the python foundation. Make sure you add it to your path when asked in the installer.
- Install Doxygen and also add this to your path. The specific directory you'll need to add is:
C:\Program Files\doxygen\bin
. If help is needed, follow the instructions here (scroll down to "Add directory or program to Windows PATH") - Open this repository
- Run the following commands:
python -m venv ./.venv
./.venv/Scripts/activate
pip install -r requirements.txt
mkdocs serve
- Open a web browser and open localhost:8000 to view documentation
- Use
mkdocs build
to build the documentation into a folder atDocs/site/
if you want to
Running scripts is disabled on this system
This may occur while trying to run ./.venv/Scripts/activate
. You can enable running scripts by following the instructions here
Documentation fails to build
Check to make sure that python
, mkdoxy
, and doxygen
were installed properly and added to the PATH environment variable you can test this by typing doxygen -v
or python --version
into a terminal, and if a version is printed, it is installed correctly.
To see Argos team 1756 documentation, navigate to litemage.github.io/argos1756-docs
This project uses doxygen to generate a nice webpage which you can use to view this repository's functions and what they do.
jacob-fix-drive-spinning