From: Aina Niemetz Date: Mon, 21 Jun 2021 22:46:07 +0000 (-0700) Subject: docs: Split out and merge C++ class hierarchy. (#6781) X-Git-Tag: cvc5-1.0.0~1578 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f78a273345ddf4f1cdfb281fe36ea9e6dbdff726;p=cvc5.git docs: Split out and merge C++ class hierarchy. (#6781) This restructures the entry page for the C++ API documentation in preparation for adding a quickstart and linking to examples and adding more content. --- diff --git a/docs/_static/custom.css b/docs/_static/custom.css index a5403c295..9d07edeaf 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -87,3 +87,13 @@ a:hover, a:focus { .highlight .m { color: #ba2121; } + +#c-api-class-hierarchy code { + font-size: 100%; + font-weight: normal; + font-family: "Lato","proxima-nova","Helvetica Neue","Arial","sans-serif"; +} + +.hide-toctree { + display: none; +} diff --git a/docs/api/cpp/class_hierarchy.rst b/docs/api/cpp/class_hierarchy.rst new file mode 100644 index 000000000..3fda2f348 --- /dev/null +++ b/docs/api/cpp/class_hierarchy.rst @@ -0,0 +1,45 @@ +C++ API Class Hierarchy +======================= + +``namespace cvc5::api {`` + + * class :cpp:class:`CVC5ApiException ` + * class :cpp:class:`CVC5ApiRecoverableException ` + + * class :ref:`api/cpp/datatype:datatype` + + * class :cpp:class:`const_iterator ` + + * class :ref:`api/cpp/datatypeconstructor:datatypeconstructor` + + * class :cpp:class:`const_iterator ` + + * class :ref:`api/cpp/datatypeconstructordecl:datatypeconstructordecl` + * class :ref:`api/cpp/datatypedecl:datatypedecl` + * class :ref:`api/cpp/datatypeselector:datatypeselector` + + * class :ref:`api/cpp/grammar:grammar` + + * class :ref:`api/cpp/kind:kind` + + * class :ref:`api/cpp/op:op` + + * class :ref:`api/cpp/result:result` + + * enum :cpp:enum:`UnknownExplanation ` + + * class :ref:`api/cpp/roundingmode:roundingmode` + + * class :ref:`api/cpp/solver:solver` + + * class :ref:`api/cpp/sort:sort` + + * class :cpp:class:`Stat ` + + * class :cpp:class:`Statistics ` + + * class :ref:`api/cpp/term:term` + + * class :cpp:class:`const_iterator ` + +``}`` diff --git a/docs/api/cpp/cpp.rst b/docs/api/cpp/cpp.rst index 8d302d60c..17e121a2c 100644 --- a/docs/api/cpp/cpp.rst +++ b/docs/api/cpp/cpp.rst @@ -6,63 +6,27 @@ C++ API Documentation .. toctree:: :maxdepth: 2 - datatype - datatypeconstructor - datatypeconstructordecl - datatypedecl - datatypeselector - exceptions - grammar - kind - op - result - roundingmode - solver - sort - statistics - term + class_hierarchy + +.. container:: hide-toctree + + .. toctree:: + :maxdepth: 0 + + datatype + datatypeconstructor + datatypeconstructordecl + datatypedecl + datatypeselector + exceptions + grammar + kind + op + result + roundingmode + solver + sort + statistics + term -Class Hierarchy ---------------- - -* namespace ``cvc5::api`` - - * class :cpp:class:`CVC5ApiException ` - * class :cpp:class:`CVC5ApiRecoverableException ` - - * class :cpp:class:`Datatype ` - - * class :cpp:class:`const_iterator ` - - * class :cpp:class:`DatatypeConstructor ` - - * class :cpp:class:`const_iterator ` - - * class :cpp:class:`DatatypeConstructorDecl ` - * class :cpp:class:`DatatypeDecl ` - * class :cpp:class:`DatatypeSelector ` - - * class :cpp:class:`Grammar ` - - * enum :cpp:enum:`Kind ` - - * class :cpp:class:`Op ` - - * class :cpp:class:`Result ` - - * enum :cpp:enum:`UnknownExplanation ` - - * enum :cpp:enum:`RoundingMode ` - - * class :cpp:class:`Solver ` - - * class :cpp:class:`Sort ` - - * class :cpp:class:`Stat ` - - * class :cpp:class:`Statistics ` - - * class :cpp:class:`Term ` - - * class :cpp:class:`const_iterator `