-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add GitHub workflow to publish docs on GitHub #3302
Conversation
endif () | ||
|
||
# https://en.cppreference.com/w/Cppreference:Archives | ||
# https://stackoverflow.com/questions/60822559/how-to-move-a-file-download-from-configure-step-to-build-step |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice comment!
../src/ripple/json/README.md \ | ||
../src/ripple/json/TODO.md \ | ||
../src/ripple/resource/README.md \ | ||
../src/ripple/rpc/README.md \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these READMEs still included in the documentation? I can't seem to find them at https://thejohnfreeman.github.io/rippled/. For instance, where do I find src/ripple/rpc/README.md?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're all under Related Pages: https://thejohnfreeman.github.io/rippled/pages.html
To find a given document, you need to know its title. I'd like to go through and re-title them all to make them easier to find in the Related Pages list. src/ripple/rpc/README.md
is at https://thejohnfreeman.github.io/rippled/md_ripple_rpc_README.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thejohnfreeman Left one comment worth a response. The github action looks good. To be honest, I am not all that familiar with a lot of the things that are going on in this pull request: doxygen itself, cmake and doxygen integration, and docker. So a "looks good to me" from me shouldn't carry too much weight.
Codecov Report
@@ Coverage Diff @@
## develop #3302 +/- ##
===========================================
- Coverage 70.61% 70.60% -0.02%
===========================================
Files 676 676
Lines 54339 54339
===========================================
- Hits 38374 38368 -6
- Misses 15965 15971 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as @cjcobb23 , this looks good, but I'm outside my area of expertise. The documentation generation on my end works and looks like your example linked above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just added one comment regarding to the token. One other comment I have:
I see that we will have new workflows in the future. I recommend we think about how we organize these actions. Is main.yml the best name for this workflow?
|
||
jobs: | ||
job: | ||
runs-on: ubuntu-18.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not ubuntu-latest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to pin the version so we can reliably build. We can control when we update this way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated changes look good.
This will update https://ripple.github.io/rippled automatically any time we push to the
develop
branch. We can always push to thegh-pages
branch manually to override it.You can see an example of the current output at https://thejohnfreeman.github.io/rippled.
I experimented with Read The Docs before this. RTD supports browsing multiple versions of documentation via its Sphinx theme, but the HTML output of Doxygen is completely unaware of this theme. Even if we were ok with supporting just a single version, getting Sphinx to use the raw HTML output of Doxygen requires a custom builder, but RTD only lets us choose one of the three built-in builders (
html
,dirhtml
, andsinglehtml
).