Skip to content

Commit

Permalink
[docs] Use doxylink to link content from Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Jul 24, 2023
1 parent b22747b commit 24f6787
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
6 changes: 3 additions & 3 deletions doc/doxygen/yaml.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@page sec-yaml-documentation %Cantera YAML Documentation

> **Note:** %Cantera provides @ref sec-yaml-conversion to generate YAML files
> from Chemkin input data as well as legacy %Cantera formats.
This short guide describes %Cantera YAML input files that define phases and
interfaces for use in %Cantera simulations. Each link below represents an entry
point to the @subpage sec-yaml-api; while you certainly can read them in order,
Expand All @@ -21,6 +24,3 @@ tips on troubleshooting the YAML file syntax rules, please look at the
several types of homogeneous reactions, surface reactions, and
electrochemical reactions. For each, there is a corresponding entry
type.

> **Note:** %Cantera provides @ref sec-yaml-conversion to generate YAML files
> from Chemkin input data as well as legacy %Cantera formats.
2 changes: 1 addition & 1 deletion doc/doxygen/yaml/yamltutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ A: 1.0e20 cm^6/mol^2-s # error ('s' should be in denominator)
density: 3.0g/cm^3 # error (missing space between value and units)
```

See the \ref sec-yaml-units documentation for additional details,
See the @ref sec-yaml-units documentation for additional details,
including the full set of supported units.

# Error Handling
Expand Down
1 change: 1 addition & 0 deletions doc/sphinx/yaml/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ YAML Input File Converters
cti_conversion
ctml_conversion
ck_conversion
yaml_format
7 changes: 7 additions & 0 deletions doc/sphinx/yaml/yaml_format.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*******************
Cantera YAML Format
*******************

For information on the Cantera YAML format, refer to the
:ct:`Cantera YAML Documentation <sec-yaml-documentation>`
on the Cantera Developer website.
2 changes: 1 addition & 1 deletion interfaces/cython/cantera/_utils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ cdef class AnyMap(dict):
A key-value store representing objects defined in Cantera's YAML input format.
Extends the capabilities of a normal `dict` object by providing functions for
converting values between different unit systems. See YAML Format Reference for
converting values between different unit systems. See :ct:`sec-yaml-units` for
details on how units are handled in YAML input files.
"""
def __cinit__(self, *args, **kwawrgs):
Expand Down

0 comments on commit 24f6787

Please sign in to comment.