Skip to content
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

Hopefully the final fix to yet another Doxygen failure #630

Merged
merged 2 commits into from
May 13, 2020
Merged

Hopefully the final fix to yet another Doxygen failure #630

merged 2 commits into from
May 13, 2020

Conversation

mosra
Copy link
Collaborator

@mosra mosra commented May 12, 2020

Motivation and Context

Followup to #624 based on a comment by @dhruvbatra.

Yet another case of Doxygen unable to create a directory, however this time it fails silently. Sigh.

When generating public docs and the build/docs/ directory didn't exist, Doxygen fails to create build/docs/habitat-cpp.tag, without any error, without any warning, nothing. To aid Doxygen in another case, m.css script creates build/docs-public/ in that case, so tell Doxygen to put everything there, including the tagfile.

Also updated the Doxyfile to what 1.8.18 expects, getting rid of one warning in the output. (Tangential: the C++ docs are a total mess, not even my 5000 line terminal history scrollback was enough to fit all the warnings, and it seems to be getting progressively worse. Unless people actively try to minimize the warnings by building docs locally and checking the output, this will never improve.)

How Has This Been Tested

Doc generation using ./build-public.sh passes now even with the build directory not existing before.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

mosra added 2 commits May 12, 2020 07:56
Yet another case of Doxygen unable to create a directory, however this
time it fails silently. Sigh.

This fails when generating public docs and the build/docs/ directory
doesn't exist. The m.css scripts creates build/docs-public/ in that
case, so tell Doxygen to put everything there, including the tagfile.
@mosra mosra requested review from mathfac and dhruvbatra May 12, 2020 06:13
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 12, 2020
@mosra mosra mentioned this pull request May 12, 2020
2 tasks
@codecov
Copy link

codecov bot commented May 12, 2020

Codecov Report

Merging #630 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #630      +/-   ##
==========================================
- Coverage   57.78%   57.76%   -0.02%     
==========================================
  Files         135      135              
  Lines        5974     5974              
  Branches       84       84              
==========================================
- Hits         3452     3451       -1     
- Misses       2522     2523       +1     
Flag Coverage Δ
#CPP 53.40% <ø> (-0.04%) ⬇️
#JavaScript 10.00% <ø> (ø)
#Python 76.34% <ø> (ø)
Impacted Files Coverage Δ
src/esp/nav/PathFinder.cpp 83.27% <0.00%> (-0.18%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23f6324...6df317b. Read the comment docs.

@dhruvbatra
Copy link
Contributor

dhruvbatra commented May 13, 2020

Thank you for this! I tested this branch. Works.

Re: C++ docs warnings: Agreed. CC: @bigbike @jturner65 @aclegg3 @eundersander as the people working most closely on the C++ codebase.

@mosra mosra merged commit 003b709 into master May 13, 2020
@erikwijmans erikwijmans deleted the docs6 branch May 13, 2020 17:47
Ram81 pushed a commit to Ram81/habitat-web-sim that referenced this pull request Dec 10, 2020
…rch#630)

* doc: don't alias public and local tagfile location.

Yet another case of Doxygen unable to create a directory, however this
time it fails silently. Sigh.

This fails when generating public docs and the build/docs/ directory
doesn't exist. The m.css scripts creates build/docs-public/ in that
case, so tell Doxygen to put everything there, including the tagfile.

* doc: update Doxyfile once more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants