From 02bf9a164e4e145f1d6f8d278ff3407b88620084 Mon Sep 17 00:00:00 2001 From: Wispy <101812473+WispySparks@users.noreply.github.com> Date: Sat, 27 Jul 2024 18:30:57 -0500 Subject: [PATCH] [docs] Document the /pregen command (#6874) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8d4b4792c6..ee684b4017 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,10 @@ The Java code quality tools Checkstyle, PMD, and Spotless can be run via `./grad If you only want to run the Java autoformatter, run `./gradlew spotlessApply`. +### Generated files + +Several files within WPILib are generated using Jinja. If a PR is opened that modifies these templates then the files can be generated through CI by commenting `/pregen` on the PR. A new commit will be pushed with the regenerated files. + ### CMake CMake is also supported for building. See [README-CMAKE.md](README-CMAKE.md).