Skip to content

Commit ce428b9

Browse files
authored
Merge pull request #18 from dmadison/actions
GitHub Actions Maintenance
2 parents 41403d1 + f15caa2 commit ce428b9

File tree

5 files changed

+72
-33
lines changed

5 files changed

+72
-33
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Setup Arduino CLI
1919
uses: arduino/[email protected]

.github/workflows/docs.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
docs:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- name: Fetch Repository Reference Info
1414
id: repo-info
1515
run: |
@@ -26,15 +26,15 @@ jobs:
2626
2727
- name: Install Doxygen
2828
env:
29-
DOXYGEN_VERSION: 1.9.8
29+
DOXYGEN_VERSION: 1.11.0
3030
run: |
3131
wget -q https://www.doxygen.nl/files/doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
3232
tar -xf doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
3333
cd doxygen-${{ env.DOXYGEN_VERSION }} && sudo make install
3434
3535
- name: Install Themes
3636
env:
37-
DOXYGEN_AWESOME_VERSION: 2.2.1
37+
DOXYGEN_AWESOME_VERSION: 2.3.3
3838
working-directory: ./docs
3939
run: |
4040
git clone --depth 1 -b v${{ env.DOXYGEN_AWESOME_VERSION }} https://github.com/jothepro/doxygen-awesome-css
@@ -46,7 +46,7 @@ jobs:
4646
doxygen Doxyfile
4747
4848
- name: Deploy Docs
49-
uses: peaceiris/actions-gh-pages@v3
49+
uses: peaceiris/actions-gh-pages@v4
5050
with:
5151
github_token: ${{ secrets.GITHUB_TOKEN }}
5252
publish_branch: gh-pages

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The [Sim Racing Library](https://github.com/dmadison/Sim-Racing-Arduino/) is an
88

99
Install the library using either [the .zip file from the latest release](https://github.com/dmadison/Sim-Racing-Arduino/releases/latest/) or by searching for "Sim Racing" in the libraries manager of the Arduino IDE. [See the Arduino documentation on how to install libraries for more information.](https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries)
1010

11-
[Read the documentation](http://dmadison.github.io/Sim-Racing-Arduino/docs/md_pages_supported_devices.html) to check if your device is supported by the library. Follow the wiring instructions on the device page to connect your device to the Arduino.
11+
[Read the documentation](http://dmadison.github.io/Sim-Racing-Arduino/docs/supported_devices.html) to check if your device is supported by the library. Follow the wiring instructions on the device page to connect your device to the Arduino.
1212

1313
Run one of the library examples in the Arduino IDE by going to `File -> Examples -> Sim Racing Library`. For all peripherals, call `begin()` to initialize the class and `update()` to refresh with new data.
1414

docs/Doxyfile

+65-26
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Doxyfile 1.9.8
1+
# Doxyfile 1.11.0
22

33
# This file describes the settings to be used by the documentation system
44
# doxygen (www.doxygen.org) for a project.
@@ -63,6 +63,12 @@ PROJECT_BRIEF =
6363

6464
PROJECT_LOGO = include/gear_shift_logo.svg
6565

66+
# With the PROJECT_ICON tag one can specify an icon that is included in the tabs
67+
# when the HTML document is shown. Doxygen will copy the logo to the output
68+
# directory.
69+
70+
PROJECT_ICON =
71+
6672
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
6773
# into which the generated documentation will be written. If a relative path is
6874
# entered, it will be relative to the location where doxygen was started. If
@@ -358,7 +364,7 @@ MARKDOWN_SUPPORT = YES
358364
# to that level are automatically included in the table of contents, even if
359365
# they do not have an id attribute.
360366
# Note: This feature currently applies only to Markdown headings.
361-
# Minimum value: 0, maximum value: 99, default value: 5.
367+
# Minimum value: 0, maximum value: 99, default value: 6.
362368
# This tag requires that the tag MARKDOWN_SUPPORT is set to YES.
363369

364370
TOC_INCLUDE_HEADINGS = 5
@@ -386,8 +392,8 @@ AUTOLINK_SUPPORT = YES
386392
# to include (a tag file for) the STL sources as input, then you should set this
387393
# tag to YES in order to let doxygen match functions declarations and
388394
# definitions whose arguments contain STL classes (e.g. func(std::string);
389-
# versus func(std::string) {}). This also make the inheritance and collaboration
390-
# diagrams that involve STL classes more complete and accurate.
395+
# versus func(std::string) {}). This also makes the inheritance and
396+
# collaboration diagrams that involve STL classes more complete and accurate.
391397
# The default value is: NO.
392398

393399
BUILTIN_STL_SUPPORT = NO
@@ -399,9 +405,9 @@ BUILTIN_STL_SUPPORT = NO
399405
CPP_CLI_SUPPORT = NO
400406

401407
# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
402-
# https://www.riverbankcomputing.com/software/sip/intro) sources only. Doxygen
403-
# will parse them like normal C++ but will assume all classes use public instead
404-
# of private inheritance when no explicit protection keyword is present.
408+
# https://www.riverbankcomputing.com/software) sources only. Doxygen will parse
409+
# them like normal C++ but will assume all classes use public instead of private
410+
# inheritance when no explicit protection keyword is present.
405411
# The default value is: NO.
406412

407413
SIP_SUPPORT = NO
@@ -963,8 +969,8 @@ INPUT_ENCODING = UTF-8
963969
# character encoding on a per file pattern basis. Doxygen will compare the file
964970
# name with each pattern and apply the encoding instead of the default
965971
# INPUT_ENCODING) if there is a match. The character encodings are a list of the
966-
# form: pattern=encoding (like *.php=ISO-8859-1). See cfg_input_encoding
967-
# "INPUT_ENCODING" for further information on supported encodings.
972+
# form: pattern=encoding (like *.php=ISO-8859-1).
973+
# See also: INPUT_ENCODING for further information on supported encodings.
968974

969975
INPUT_FILE_ENCODING =
970976

@@ -980,10 +986,10 @@ INPUT_FILE_ENCODING =
980986
# default file extension mappings.
981987
#
982988
# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cxxm,
983-
# *.cpp, *.cppm, *.c++, *.c++m, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl,
984-
# *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, *.h++, *.ixx, *.l, *.cs, *.d, *.php,
985-
# *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, *.md, *.mm, *.dox (to be
986-
# provided as doxygen C comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08,
989+
# *.cpp, *.cppm, *.ccm, *.c++, *.c++m, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl,
990+
# *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, *.h++, *.ixx, *.l, *.cs, *.d,
991+
# *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, *.md, *.mm, *.dox (to
992+
# be provided as doxygen C comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08,
987993
# *.f18, *.f, *.for, *.vhd, *.vhdl, *.ucf, *.qsf and *.ice.
988994

989995
FILE_PATTERNS = *.c \
@@ -1184,7 +1190,8 @@ FORTRAN_COMMENT_AFTER = 72
11841190
SOURCE_BROWSER = YES
11851191

11861192
# Setting the INLINE_SOURCES tag to YES will include the body of functions,
1187-
# classes and enums directly into the documentation.
1193+
# multi-line macros, enums or list initialized variables directly into the
1194+
# documentation.
11881195
# The default value is: NO.
11891196

11901197
INLINE_SOURCES = NO
@@ -1415,11 +1422,11 @@ HTML_EXTRA_FILES = doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js
14151422

14161423
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
14171424
# should be rendered with a dark or light theme.
1418-
# Possible values are: LIGHT always generate light mode output, DARK always
1419-
# generate dark mode output, AUTO_LIGHT automatically set the mode according to
1420-
# the user preference, use light mode if no preference is set (the default),
1421-
# AUTO_DARK automatically set the mode according to the user preference, use
1422-
# dark mode if no preference is set and TOGGLE allow to user to switch between
1425+
# Possible values are: LIGHT always generates light mode output, DARK always
1426+
# generates dark mode output, AUTO_LIGHT automatically sets the mode according
1427+
# to the user preference, uses light mode if no preference is set (the default),
1428+
# AUTO_DARK automatically sets the mode according to the user preference, uses
1429+
# dark mode if no preference is set and TOGGLE allows a user to switch between
14231430
# light and dark mode via a button.
14241431
# The default value is: AUTO_LIGHT.
14251432
# This tag requires that the tag GENERATE_HTML is set to YES.
@@ -1482,6 +1489,26 @@ HTML_DYNAMIC_SECTIONS = NO
14821489

14831490
HTML_CODE_FOLDING = YES
14841491

1492+
# If the HTML_COPY_CLIPBOARD tag is set to YES then doxygen will show an icon in
1493+
# the top right corner of code and text fragments that allows the user to copy
1494+
# its content to the clipboard. Note this only works if supported by the browser
1495+
# and the web page is served via a secure context (see:
1496+
# https://www.w3.org/TR/secure-contexts/), i.e. using the https: or file:
1497+
# protocol.
1498+
# The default value is: YES.
1499+
# This tag requires that the tag GENERATE_HTML is set to YES.
1500+
1501+
HTML_COPY_CLIPBOARD = YES
1502+
1503+
# Doxygen stores a couple of settings persistently in the browser (via e.g.
1504+
# cookies). By default these settings apply to all HTML pages generated by
1505+
# doxygen across all projects. The HTML_PROJECT_COOKIE tag can be used to store
1506+
# the settings under a project specific key, such that the user preferences will
1507+
# be stored separately.
1508+
# This tag requires that the tag GENERATE_HTML is set to YES.
1509+
1510+
HTML_PROJECT_COOKIE =
1511+
14851512
# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
14861513
# shown in the various tree structured indices initially; the user can expand
14871514
# and collapse entries dynamically later on. Doxygen will expand the tree to
@@ -1834,7 +1861,7 @@ MATHJAX_VERSION = MathJax_2
18341861
# Possible values are: HTML-CSS (which is slower, but has the best
18351862
# compatibility. This is the name for Mathjax version 2, for MathJax version 3
18361863
# this will be translated into chtml), NativeMML (i.e. MathML. Only supported
1837-
# for NathJax 2. For MathJax version 3 chtml will be used instead.), chtml (This
1864+
# for MathJax 2. For MathJax version 3 chtml will be used instead.), chtml (This
18381865
# is the name for Mathjax version 3, for MathJax version 2 this will be
18391866
# translated into HTML-CSS) and SVG.
18401867
# The default value is: HTML-CSS.
@@ -2204,6 +2231,14 @@ RTF_STYLESHEET_FILE =
22042231

22052232
RTF_EXTENSIONS_FILE =
22062233

2234+
# The RTF_EXTRA_FILES tag can be used to specify one or more extra images or
2235+
# other source files which should be copied to the RTF_OUTPUT output directory.
2236+
# Note that the files will be copied as-is; there are no commands or markers
2237+
# available.
2238+
# This tag requires that the tag GENERATE_RTF is set to YES.
2239+
2240+
RTF_EXTRA_FILES =
2241+
22072242
#---------------------------------------------------------------------------
22082243
# Configuration options related to the man page output
22092244
#---------------------------------------------------------------------------
@@ -2330,9 +2365,9 @@ GENERATE_SQLITE3 = NO
23302365

23312366
SQLITE3_OUTPUT = sqlite3
23322367

2333-
# The SQLITE3_OVERWRITE_DB tag is set to YES, the existing doxygen_sqlite3.db
2368+
# The SQLITE3_RECREATE_DB tag is set to YES, the existing doxygen_sqlite3.db
23342369
# database file will be recreated with each doxygen run. If set to NO, doxygen
2335-
# will warn if an a database file is already found and not modify it.
2370+
# will warn if a database file is already found and not modify it.
23362371
# The default value is: YES.
23372372
# This tag requires that the tag GENERATE_SQLITE3 is set to YES.
23382373

@@ -2573,7 +2608,11 @@ DOT_FONTPATH =
25732608
# the CLASS_GRAPH tag is set to YES and HAVE_DOT is disabled or if the
25742609
# CLASS_GRAPH tag is set to BUILTIN, then the built-in generator will be used.
25752610
# If the CLASS_GRAPH tag is set to TEXT the direct and indirect inheritance
2576-
# relations will be shown as texts / links.
2611+
# relations will be shown as texts / links. Explicit enabling an inheritance
2612+
# graph or choosing a different representation for an inheritance graph of a
2613+
# specific class, can be accomplished by means of the command \inheritancegraph.
2614+
# Disabling an inheritance graph can be accomplished by means of the command
2615+
# \hideinheritancegraph.
25772616
# Possible values are: NO, YES, TEXT, GRAPH and BUILTIN.
25782617
# The default value is: YES.
25792618

@@ -2638,8 +2677,8 @@ DOT_UML_DETAILS = NO
26382677

26392678
# The DOT_WRAP_THRESHOLD tag can be used to set the maximum number of characters
26402679
# to display on a single line. If the actual line length exceeds this threshold
2641-
# significantly it will wrapped across multiple lines. Some heuristics are apply
2642-
# to avoid ugly line breaks.
2680+
# significantly it will be wrapped across multiple lines. Some heuristics are
2681+
# applied to avoid ugly line breaks.
26432682
# Minimum value: 0, maximum value: 1000, default value: 17.
26442683
# This tag requires that the tag HAVE_DOT is set to YES.
26452684

@@ -2800,7 +2839,7 @@ PLANTUML_INCLUDE_PATH =
28002839
# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
28012840
# that will be shown in the graph. If the number of nodes in a graph becomes
28022841
# larger than this value, doxygen will truncate the graph, which is visualized
2803-
# by representing a node as a red box. Note that doxygen if the number of direct
2842+
# by representing a node as a red box. Note that if the number of direct
28042843
# children of the root node in a graph is already larger than
28052844
# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
28062845
# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.

docs/pages/supported_devices.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Supported Devices
1+
# Supported Devices {#supported_devices}
22

33
### Generic Devices
44

0 commit comments

Comments
 (0)