Skip to content

JPiscitello7351/CTRE-SwerveGen

Repository files navigation

Argos 1756 Documentation

<<<<<<< HEAD The docs hosted from this repository are available at: jpiscitello7351.github.io/CTRE-SwerveGen/

Adding Files to Docs

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.

Building Documentation

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.

Install Tooling & Build

  1. 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.
  2. 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")
  3. Open this repository
  4. Run the following commands:
python -m venv ./.venv
./.venv/Scripts/activate
pip install -r requirements.txt
mkdocs serve
  1. Open a web browser and open localhost:8000 to view documentation
  2. Use mkdocs build to build the documentation into a folder at Docs/site/ if you want to

Troubleshooting

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

Building Project Documentation

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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages