csokolove / TitanLib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TitanLib

This is a repository for all of the Java files that carry over year-to-year for FRC Team 5587, Titan Robotics. All of these files are free for use for another team or personal projects so long as use complies with the license in this repository.

Generating Documentation

To generate documentation, simply use the javadoc command on your desired file:

$ javadoc -d ./docs/ <path_to_file>

Afterwards, open the index.html file found in the docs/ folder however you wish.

Add TitanLib to a repository as a Gradle Dependency (recommended)

Add TitanLib to a repository as a Submodule

In the main repository:

  1. Run git init in the vscode terminal

  2. Create the directory path where you want the submodule to be located. This can be done either manually or with

$ mkdir -p <directory_location> 
(eg: mkdir -p src/main/java/org/frc5587/)
  1. Add the submodule to the repository in the desired location:
$ git submodule add https://github.com/frc5587/TitanLib.git <directory_location/new_submodule_folder> 
(eg: git submodule add https://github.com/frc5587/TitanLib.git src/main/java/org/frc5587/lib)

Note: the branch of the submodule repo can be switched through the git tab on the vscode sidebar.

About

License:MIT License


Languages

Language:Java 100.0%