Skip to content

Commit 02c658d

Browse files
authored
Merge branch 'master' into ci-fixes
2 parents 9eed0c6 + 21347c1 commit 02c658d

79 files changed

Lines changed: 2463 additions & 379 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Build Doxygen
2222
run: |
2323
sudo apt update -y
24-
sudo apt install -y cmake ninja-build graphviz graphviz
24+
sudo apt install -y cmake ninja-build graphviz texlive-binaries
2525
git clone https://github.com/doxygen/doxygen.git ../doxygen
2626
cd ../doxygen
2727
git checkout Release_1_16_1

.pr_agent.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# .pr_agent.toml
22
[github_app]
3-
# Run these tools automatically on every new PR:
4-
pr_commands = ["/describe", "/review", "/improve"]
3+
pr_commands = [
4+
"/review",
5+
"/improve",
6+
]
7+
8+
handle_push_trigger = true
9+
push_commands = ["/improve"]
510

611
[pr_reviewer] # (all fields optional)
712
num_max_findings = 10 # how many items to surface

.typos.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ unknwn = "unknwn" # typo for "unknown" - tests unknown param detection
3030
tru = "tru" # typo for "true" in "when_tru" - tests dependency keys
3131

3232
[files]
33-
extend-exclude = ["docs/documentation/references*", "tests/", "toolchain/cce_simulation_workgroup_256.sh", "build-docs/"]
33+
extend-exclude = ["docs/documentation/references*", "docs/references.bib", "tests/", "toolchain/cce_simulation_workgroup_256.sh", "build-docs/"]

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ if (MFC_DOCUMENTATION)
720720
set(DOXYGEN_HTML_OUTPUT "\"${CMAKE_CURRENT_BINARY_DIR}/${target}\"")
721721
set(DOXYGEN_MATHJAX_CODEFILE "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/config.js\"")
722722
set(DOXYGEN_PROJECT_LOGO "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/res/icon.ico\"")
723+
set(DOXYGEN_CITE_BIB_FILES "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/references.bib\"")
723724
set(DOXYGEN_IMAGE_PATH "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/res\"\
724725
\"${CMAKE_CURRENT_SOURCE_DIR}/docs/${target}\"")
725726

@@ -752,6 +753,8 @@ if (MFC_DOCUMENTATION)
752753
"${opt_parameters_dependency}"
753754
"${${target}_SRCs}" "${${target}_DOCs}"
754755
COMMAND "${DOXYGEN_EXECUTABLE}" "${target}-Doxyfile"
756+
COMMAND "${Python3_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/docs/postprocess_citations.py"
757+
"${CMAKE_CURRENT_BINARY_DIR}/${target}"
755758
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
756759
COMMENT "${target}: Generating documentation"
757760
)
@@ -771,6 +774,7 @@ if (MFC_DOCUMENTATION)
771774
add_custom_target(documentation)
772775

773776
find_package(Doxygen REQUIRED dot REQUIRED)
777+
find_package(Python3 REQUIRED COMPONENTS Interpreter)
774778

775779
# > Fetch CSS Theme
776780
ExternalProject_Add(doxygen-awesome-css

docs/Doxyfile.in

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ DOXYFILE_ENCODING = UTF-8
3535
# title of most generated pages and in a few other places.
3636
# The default value is: My Project.
3737

38-
PROJECT_NAME = "@DOXYGEN_PROJECT_NAME@"
38+
PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
3939

4040
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
4141
# could be handy for archiving the generated documentation or if some version
@@ -740,7 +740,7 @@ LAYOUT_FILE =
740740
# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
741741
# search path. See also \cite for info how to create references.
742742

743-
CITE_BIB_FILES =
743+
CITE_BIB_FILES = @DOXYGEN_CITE_BIB_FILES@
744744

745745
#---------------------------------------------------------------------------
746746
# Configuration options related to warning and progress messages
@@ -970,7 +970,7 @@ FILTER_SOURCE_PATTERNS =
970970
# (index.html). This can be useful if you have a project on for instance GitHub
971971
# and want to reuse the introduction page also for the doxygen output.
972972

973-
USE_MDFILE_AS_MAINPAGE = readme.md
973+
USE_MDFILE_AS_MAINPAGE =
974974

975975
#---------------------------------------------------------------------------
976976
# Configuration options related to source browsing
@@ -1205,14 +1205,6 @@ HTML_COLORSTYLE_SAT = 255
12051205

12061206
HTML_COLORSTYLE_GAMMA = 113
12071207

1208-
# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1209-
# page will contain the date and time when the page was generated. Setting this
1210-
# to YES can help to show when doxygen was last run and thus if the
1211-
# documentation is up to date.
1212-
# The default value is: NO.
1213-
# This tag requires that the tag GENERATE_HTML is set to YES.
1214-
1215-
HTML_TIMESTAMP = NO
12161208

12171209
# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML
12181210
# documentation will contain a main index with vertical navigation menus that
@@ -1801,13 +1793,6 @@ LATEX_HIDE_INDICES = NO
18011793

18021794
LATEX_BIB_STYLE = plain
18031795

1804-
# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated
1805-
# page will contain the date and time when the page was generated. Setting this
1806-
# to NO can help when comparing the output of multiple runs.
1807-
# The default value is: NO.
1808-
# This tag requires that the tag GENERATE_LATEX is set to YES.
1809-
1810-
LATEX_TIMESTAMP = NO
18111796

18121797
# The LATEX_EMOJI_DIRECTORY tag is used to specify the (relative or absolute)
18131798
# path from which the emoji images will be read. If a relative path is entered,

0 commit comments

Comments
 (0)