forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 22
Fix all Doxygen errors and make any future errors fatal #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
b6580b3
Start working on fixing doxygen warnings
multiplemonomials ff0c6a0
Upgrade doxyfile to Doxygen 1.9.1
465f712
Clean up some unmatched groups and add some exclusions
d70360e
Fix docs for rtos::ThisThread not showing up
5e42b59
Fix up KV store docs
a3a8d49
Fix incorrect @files, some more incorrect groups
39958df
Fix lots of broken links
e25047c
Start fixing mbedtls groups
565bf5f
Fix more mbedtls docs
e8e1c3d
Fix remaining mbedtls files with missing or incorrect grouping
f7a201e
Fix a huge amount of PSA docs errors
bc720e3
Fix a few more mbedtls docs errors
87db98b
Fix __cplusplus not defined for docs, clean up call in callback typed…
454be7c
Fix some broken doc links in HAL headers
2e05c84
Fix more PSA doc errors
bdf8d81
Fix some doxygen errors in networking code
8a1a69b
Fix lots of network related doc errors
9aa294e
Try and fix some CI failures
2cff620
Use Doxygen Action instead of doxygen in Mbed container to get the ri…
3392c8e
Try removing docs check
4ee044a
Add first part of doxygen action
e938d9d
Add next part of doxygen action
e1c74ae
Fix yaml syntax error
875bd94
Add in license check fix
e10afb7
Try using verbose scancode
9abe103
Fix some more docs issues, workaround scancode-toolkit#3179
e9f9c72
Clean up the LoRaRadio get_state() function on each implementation. …
c8b52af
Fix all remaining doxygen errors
6ff9ca2
Fix escaping, for realsies this time
ac24e57
Remove Doxygen unsupported config options, fix some more get_status()…
f61224a
Fix some UNITTESTS build errors
8f13125
Fix one more compile error
0246343
Another unittest error
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
name: install dependencies | ||
shell: bash | ||
run: | | ||
pip install -U scancode-toolkit click gemfileparser | ||
pip install -U scancode-toolkit "click>=7,<8" | ||
|
||
- | ||
name: license check | ||
|
@@ -42,6 +42,7 @@ jobs: | |
| ( grep -v '^tools/test/toolchains/api_test.py' || true ) \ | ||
| while read file; do cp --parents "${file}" SCANCODE; done | ||
ls SCANCODE | ||
scancode --reindex-licenses # workaround for scancode-toolkit#3179 | ||
scancode -l --json-pp scancode.json SCANCODE | ||
python ./tools/test/ci/scancode-evaluate.py scancode.json || true | ||
cat scancode-evaluate.log | ||
|
@@ -106,21 +107,7 @@ jobs: | |
| while read file; do astyle -n --options=.astylerc "${file}"; done | ||
git diff --exit-code --diff-filter=d --color | ||
|
||
|
||
docs-check: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/armmbed/mbed-os-env:master-latest | ||
|
||
steps: | ||
|
||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- | ||
name: spell checks | ||
- name: Spell Checks | ||
run: | | ||
set -x | ||
./tools/test/ci/doxy-spellchecker/spell.sh drivers .codecheckignore | ||
|
@@ -129,18 +116,9 @@ jobs: | |
./tools/test/ci/doxy-spellchecker/spell.sh rtos .codecheckignore | ||
./tools/test/ci/doxy-spellchecker/spell.sh connectivity/netsocket .codecheckignore | ||
|
||
- | ||
name: doxygen | ||
- name: File Naming Checks | ||
run: | | ||
set -x | ||
ccache -s | ||
mkdir BUILD | ||
# Assert that the Doxygen build produced no warnings. | ||
# The strange command below asserts that the Doxygen command had an | ||
# output of zero length | ||
doxygen doxyfile_options 2>&1 | ||
# Once Mbed OS has been fixed, enable the full test by replacing the top line with this: | ||
# - ( ! doxygen doxyfile_options 2>&1 | grep . ) | ||
# Assert that all binary libraries are named correctly | ||
# The strange command below asserts that there are exactly 0 libraries | ||
# that do not start with lib | ||
|
@@ -153,6 +131,26 @@ jobs: | |
find -name "*.s" | tee BUILD/badasm | | ||
sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ] | ||
|
||
docs-check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
|
||
- name: Create BUILD folder | ||
run: | | ||
mkdir -p ${{ github.workspace }}/BUILD | ||
|
||
- name: Doxygen Action | ||
uses: mattnotmitt/[email protected] | ||
with: | ||
doxyfile-path: ./doxyfile_options | ||
|
||
python-tests: | ||
# these tests run in 3.7, hence running in vm not in pre-built docker | ||
runs-on: ubuntu-latest | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.