Commit Graph
453 Commits
Author SHA1 Message Date
Bryan W. Weber daa36668e7 [SCons] Fix Sphinx docs build in parallel
The Sphinx build requires both the Cython module to have been built and
the doxygen run to have finished. When running the build in parallel
with scons build -j#, there was the possibility that Sphinx could run
before all its dependencies were built. This change adds dependencies
for the Sphinx builder on Doxygen and the Cython module, resolving the
problem.
2021-02-12 16:57:15 -05:00
Bryan W. Weber a35344d74f [SCons] Avoid shadowing built-in str type 2021-02-12 16:57:15 -05:00
Bryan W. Weber 4ff4b78d5e [Sphinx] Fix spurious warnings in __init__ docs
This has been bugging me for years, and I'm very happy to have finally
fixed it! To debug this, I used the -vv output from sphinx-build to
inspect what autodoc was doing. autodoc seemed to have no problem
reading the source, but it was indeed generating reST with unmatched
emphasis and strong markers. Although it really seems like autodoc
should be able to handle this case, apparently it can't. Then, I was
reading the autodoc documentation when I noticed this idea of an event
handler, a function that gets called whenever a particular event
happens. I realized I could get in and munge the docstring text to
replace any unescaped splats with escaped ones.
2021-02-12 16:57:15 -05:00
Bryan W. Weber 4947fa6a4f [Doc] Fix NumPy intersphinx location
Use pathlib to read configuration file for Cantera's current version.
This avoids leaving the file handle open.
2021-02-12 16:57:15 -05:00
Bryan W. Weber 667a52d274 [Doc] Fix missing function for flow controllers
The flow controller base class added a new function in 2.5.0, which is
not overriden by the child classes. Make sure that this function is
documented.
2021-02-12 16:57:15 -05:00
Bryan W. Weber bb67472b70 [Doc] Update doxygen configuration
Doxygen was warning about unused options. The Doxyfile was updated by
running doxygen -u.
2021-02-12 16:57:15 -05:00
Raymond Speth 4f265d11a7 [Doc] Fix missing Python class member documentation
Sphinx 1.8 deprecated the 'autodoc_default_flags' option. It appears
to have stopped working without warning in more recent versions.
2021-02-09 22:18:20 -05:00
Raymond Speth 6ce695d96d Bump version to 2.5.0
Update 'cantera-version' in all YAML files to correspond to the stable
release.
2021-02-08 13:28:55 -05:00
Raymond Speth 2ed1d27485 Bump version to 2.5.0rc1 2021-02-05 11:29:55 -05:00
Raymond Speth 8c0da723a2 [Input] Add T-min and T-max fields to YAML species thermo 2021-01-29 21:35:40 -05:00
Ingmar Schoegl 9b53599d01 Happy New Year! 2021-01-18 17:02:15 -05:00
Ray Speth 100711f6e7 Bump version to 2.5.0b1 2020-09-01 18:18:43 -04:00
Bryan W. Weber ad8eefccd6 [CI] Upload the documentation to the website
Uses the SSH action to add the deploy account SSH key to the
configuration and add the Cantera server to the known_hosts.
2020-06-26 18:00:38 -04:00
Bryan W. Weber 28baede600 [Doc] KaTeX version is no longer configurable
The KaTeX version is no longer configurable in the sphinxcontrib-katex
extension. There is now a Python script in the website repository
api-docs folder that can bump the KaTeX version in the built
documentation to match the version supplied by sphinxcontrib-katex.
2020-06-26 18:00:38 -04:00
Ray Speth 15b9b33455 [Thermo] Deprecate class FixedChemPotSSTP
This model can easily be replaced with StoichSustance using ConstCpPoly for the
species thermo.

The changed values in the LiSi regression tests suggest that there are some
implementation errors in the FixedChemPotSSTP class which will be automatically
resolved by eliminating it.
2020-04-05 11:21:25 -04:00
Ray Speth 4082636dc3 [Thermo] Deprecate "gas" mode of IdealSolnGasVPSS 2020-04-05 11:21:25 -04:00
Ray Speth b7591cb403 [Doc] Small improvements to YAML API docs 2020-01-21 15:50:26 -05:00
Ray Speth cc2066a043 [Input] Move Debye-Huckel species parameters to their own sub-field 2020-01-21 15:50:26 -05:00
Ray Speth 43ad8bd892 Standardize names used for pure substance models
Ensure that the name returned by Sub::name() is a name that can be used to
reconstruct a substance of the same type.

Make phase names in liquidvapor.yaml match the substance model names.
2020-01-21 15:50:26 -05:00
Ray Speth e916fa7b22 [Input] Allow 'equation-of-state' field to contain multiple model options 2020-01-21 15:50:26 -05:00
Ray Speth 9e84845202 Remove references to previously-removed Semiconductor class 2020-01-11 12:19:20 -05:00
Ray Speth 1bdced1b17 Bump version to 2.5.0a4 2020-01-11 12:19:20 -05:00
Ingmar Schoegl 028a054c60 Happy New Year! 2020-01-03 17:09:28 -05:00
Ray Speth bbb5518469 [Doc] Make YAML section labels more distinctive
All ReST section labels in the YAML API docs start with "sec-yaml"
2019-12-04 16:09:56 -05:00
Bryan W. Weber 3cd1802540 [Doc/cti2yaml] Add Sphinx docs page for cti2yaml 2019-12-02 10:00:16 -05:00
Bryan W. Weber 06627ed0c3 [ctml2yaml] Add command line arguments
Add parsing of arguments passed when the script is run from the command
line. A new function is introduced to parse the arguments and is the
default function when the file is executed as a script. Update the
documentation to add the new function.

Add a new argument to convert that takes a string containing the content
of a CTML file. This allows convert to be used from within the Python
interpreter more easily.
2019-12-01 21:22:24 -05:00
Bryan W. Weber 6a47942eef [ctml2yaml] Add QUANTITY type definition
A quantity is a value that can be either just a number (i.e., a float)
or a number plus a unit (i.e., a str).
2019-12-01 21:07:44 -05:00
Bryan W. Weber 1d62ec0439 [Doc] Add documentation for ctml2yaml script
Add intersphinx extension to auto-link to Python docs. Bump KaTeX
version.
2019-12-01 21:07:44 -05:00
Ray Speth 02c433b9a2 [Doc/Input] Document phase-level setting for Motz-Wise in YAML files 2019-11-09 11:53:16 -05:00
Ray Speth 6dbcd94029 [Doc] Fix alphabetization of thermo and species thermo models 2019-11-02 10:42:35 -04:00
Ray Speth 71ba021467 Add sticking coefficients to CTI API docs 2019-11-02 10:42:35 -04:00
Bryan W. Weber 55fe2233b1 [Thermo/YAML] Rename water-IAPWS95 to liquid-water-IAPWS95
The water-IAPWS95 instantiates either WaterSSTP or PDSS_water objects,
both of which are intended for liquid phases only. Clarify the phase
name to liquid-water-IAPWS95 to allow a future phase that could
represent the full liquid<->vapor phase space.
2019-10-06 16:45:21 -04:00
Ray Speth c840142bff Bump version to 2.5.0a3 2019-06-27 18:29:21 -04:00
Bryan W. Weber 360ac9b79e Copy editing for YAML docs
Improve consistency of formatting. Eliminate duplicate hyperlink targets
by making them anonymous links.
2019-06-25 23:31:23 -04:00
Ray Speth 44c5094bb2 [Input] Implement 'skip-undeclared-third-bodies' option in YAML format 2019-06-25 22:30:59 -04:00
Ray Speth b77f368ead [Input] Instantiate BinarySolutionTabulatedThermo from YAML 2019-06-25 22:30:59 -04:00
Ray Speth 8eb52a7afb [Input] Create ElectrochemicalReaction objects from YAML definitions 2019-06-25 22:30:59 -04:00
Ray Speth d66abc5234 [Doc] Add API documentation for the YAML input format 2019-06-25 22:30:59 -04:00
Bryan W. Weber d25637d0ea Update NumFOCUS donation link in docs sidebar 2019-03-20 09:15:39 -04:00
Ray Speth ce9a17dd92 Bump version to 2.5.0a2 2019-02-25 09:14:33 -05:00
Ray Speth 6f45b241b5 Remove code deprecated in Cantera 2.4 2018-12-14 11:27:24 -05:00
Bryan W. Weber d143e8e1f0 [Doc] Fix documentation header to match main site 2018-09-30 20:19:57 -04:00
band-a-prend 72d2fc4f8c [SCons/Doc] Fix too long time offline render of Sphinx Docs pages
Add asynchronous ('async', 'media' and conditional 'defer' attributes) loading of remote javascript
and css files within Cantera 2.4.0 Sphinx Documentation to avoid too long render of pages
in case of offline usage of documentation.
2018-09-29 23:21:50 +03:00
band-a-prend 59eabbe454 [SCons/Doc] Fix installation of Sphinx docs
Fix installation of Cantera Sphinx Documentation
via similar way as it was done for Doxygen documentation
https://github.com/Cantera/cantera/commit/8f2468d
2018-09-26 02:18:32 +03:00
Ray Speth d6da006e3e [SCons] Only build the Python package for Python 3.x 2018-09-19 17:59:59 -04:00
Ray Speth 51263193de Bump version to 2.5.0a1 2018-08-28 16:45:49 -04:00
Ray Speth 8f2468da52 [SCons/Doc] Fix installation of Doxygen docs
Fixes regression introduced in b84d3e3, where the organization of files in the built
documentation changed.

Fixes #553
2018-08-24 09:24:45 -04:00
Ray Speth f1d8d9b1b9 Bump version for 2.4.0 release 2018-08-20 18:52:09 -04:00
Ray Speth e7a48375dc Bump version to 2.4.0b2 2018-08-10 22:51:18 -04:00
Ray Speth a54ab2f3ef [Doc] Update docs related to StFlow restructuring 2018-08-10 18:15:36 -04:00