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

Documentation updates #1572

Merged
merged 15 commits into from
Aug 7, 2023
Merged

Documentation updates #1572

merged 15 commits into from
Aug 7, 2023

Conversation

speth
Copy link
Member

@speth speth commented Aug 7, 2023

Changes proposed in this pull request

  • Update to build docs with Sphinx 5.1.1 as part of CI
  • Remove obsolete Doxygen options that generated warnings with Doxygen 1.9.6
  • Fix alphabetization of phase models in Sphinx docs
  • Note version added for recent ThermoPhase models
  • Use Doxylink to link to C++ classes instead of using direct HTML links to the dev docs
  • Revise ThermoPhase documentation and eliminate the separate, outdated thermoprops.dox file
  • Fix instances of \log that should be \ln, and always write \log_{10} when we mean the base 10 log.
  • Add BibTeX citations for some transport-related classes

If applicable, fill in the issue number this pull request is fixing

Closes #Cantera/enhancements#175

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • The pull request is ready for review

speth added 12 commits August 6, 2023 14:40
Sphinx 3.x isn't compatible with our Nikola plugins, and the old
extension compatibility issues with 4.x no longer hold.

Sphinx 5.1.1 seems to be the most recent version that doesn't have
formatting issues for us.

Resolves Cantera/enhancements#175
These options generate warnings with Doxygen 1.9.6
No need to link directly to the "details" section since that now
appears close to the top of the page.
Extract content from "thermoprops.dox" to populate the docstring for
the ThermoPhase class and the "thermoprops" group.

Fix numerous areas where this documentation was outdated or incorrect.
The classes derived from this (RedlichKwongMFTP and PengRobinson)
have adequate tests.
Always write \log_{10} in the rare instances where that's what's
actually meant.
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #1572 (ef568b1) into main (a900edf) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1572      +/-   ##
==========================================
- Coverage   70.54%   70.49%   -0.05%     
==========================================
  Files         379      379              
  Lines       59110    59110              
  Branches    21232    21232              
==========================================
- Hits        41698    41671      -27     
- Misses      14338    14363      +25     
- Partials     3074     3076       +2     
Files Changed Coverage Δ
include/cantera/kinetics/ChebyshevRate.h 100.00% <ø> (ø)
include/cantera/kinetics/PlogRate.h 100.00% <ø> (ø)
include/cantera/numerics/Func1.h 49.55% <ø> (ø)
...nclude/cantera/thermo/CoverageDependentSurfPhase.h 68.00% <ø> (ø)
include/cantera/thermo/DebyeHuckel.h 100.00% <ø> (ø)
include/cantera/thermo/GibbsExcessVPSSTP.h 12.50% <ø> (ø)
include/cantera/thermo/HMWSoln.h 40.00% <ø> (ø)
include/cantera/thermo/IdealGasPhase.h 89.74% <ø> (ø)
include/cantera/thermo/IdealMolalSoln.h 50.00% <ø> (ø)
include/cantera/thermo/IdealSolidSolnPhase.h 89.47% <ø> (ø)
... and 19 more

... and 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

ischoegl
ischoegl previously approved these changes Aug 7, 2023
Copy link
Member

@ischoegl ischoegl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @speth. I appreciate that additional documentation cleanup. Changes all look good to me.

doc/doxygen/thermoprops.dox Outdated Show resolved Hide resolved
doc/doxygen/cantera.bib Outdated Show resolved Hide resolved
@ischoegl ischoegl merged commit 1f580a3 into Cantera:main Aug 7, 2023
41 of 42 checks passed
@speth speth deleted the doc-updates2 branch July 23, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants