Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate documentation from the code #5

Closed
1 task done
flynneva opened this issue Jan 27, 2022 · 2 comments
Closed
1 task done

generate documentation from the code #5

flynneva opened this issue Jan 27, 2022 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@flynneva
Copy link
Contributor

flynneva commented Jan 27, 2022

Automatic documentation generation is possible by following some simple rules with comments within code. This can help keep track of project as more and more things are added.

It looks like javadoc is our best bet for generating some documentation from the code.

See here (WPIRobotics GRIP project) for an example on a github action that generates some docs

  • generate some basic docs using javadoc with a github action
@flynneva flynneva added the good first issue Good for newcomers label Jan 27, 2022
@flynneva flynneva added this to To do in 2022 FRC via automation Jan 27, 2022
@flynneva flynneva removed this from To do in 2022 FRC Jan 27, 2022
@flynneva flynneva added this to To do in Infrastructure via automation Jan 27, 2022
@An3Dev
Copy link
Member

An3Dev commented Feb 8, 2022

I setup the repo to automatically generate documentation and publish it on github pages every time that we push code to the main branch. I created an orphan branch called gh-pages. When code is pushed to the main branch, the Deploy Javadoc workflow generates the javadoc files, and publishes them to the gh-pages branch. Then, the pages-build-deployment workflow runs because it detects that there were changes to the gh-pages branch. It builds and deploys the website.

@An3Dev An3Dev closed this as completed Feb 8, 2022
Infrastructure automation moved this from To do to Done Feb 8, 2022
@flynneva
Copy link
Contributor Author

flynneva commented Feb 9, 2022

@An3Dev awesome stuff! This will be great for new people to the software team to look over the code base more easily, also it helps existing developers better understand how the code is structured.

Link to the website: https://tritron-robotics.github.io/robotcode2022/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Development

No branches or pull requests

3 participants