Skip to content

Commit 66695b7

Browse files
Add note about tags/commit hashes for RLIs (wpilibsuite#2704)
* Add note about tags/commit hashes for RLIs * fix typo Co-authored-by: Starlight220 <[email protected]> --------- Co-authored-by: Starlight220 <[email protected]>
1 parent 3e01ed2 commit 66695b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/docs/contributing/frc-docs/style-guide.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ When possible, instead of using code blocks, an RLI should be used. This pulls
110110
111111
Make sure to link to the raw version of the file on GitHub. There is a handy ``Raw`` button in the top right corner of the page.
112112

113+
.. note:: RLIs should use a tag instead of main to ensure the documentation isn't broken the next time there is a change to the RLIed code. If a tag hasn't been created, use the full (40 character) commit hash.
114+
113115
## Tabs
114116
To create code tabs in an article, you can use the ``.. tab-set-code::`` directive. You can use ``code-block`` and ``rli`` directives inside. The format is:
115117

0 commit comments

Comments
 (0)