3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00

[doc] Minor cleanings of app4triqs doc examples

This commit is contained in:
Nils Wentzell 2019-04-26 10:23:36 -04:00
parent 1d2e845f66
commit 219bd830a5
5 changed files with 8 additions and 21 deletions

View File

@ -13,7 +13,7 @@ namespace app4triqs {
int i = 0; int i = 0;
public: public:
toto() = default; toto() = default;
/** /**
* Construct from integer * Construct from integer
@ -40,7 +40,7 @@ namespace app4triqs {
* *
* @param u Nothing useful * @param u Nothing useful
*/ */
int f(int u) { return u;} int f(int u) { return u; }
/// Arithmetic operations /// Arithmetic operations
toto operator+(toto const &b) const; toto operator+(toto const &b) const;

View File

@ -1,5 +1,5 @@
Version 0.1 Version 2.2.0
----------- -------------
Some Changes Some Changes
~~~~~~~~~~~~ ~~~~~~~~~~~~

View File

@ -20,7 +20,7 @@ extensions = ['sphinx.ext.autodoc',
source_suffix = '.rst' source_suffix = '.rst'
project = u'APP4TRIQS - An example triqs application' project = u'APP4TRIQS - An example triqs application'
copyright = u'2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, H. Strand, O. Parcollet' copyright = u'2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
version = '@APP4TRIQS_VERSION@' version = '@APP4TRIQS_VERSION@'
mathjax_path = "@TRIQS_MATHJAX_PATH@/MathJax.js?config=default" mathjax_path = "@TRIQS_MATHJAX_PATH@/MathJax.js?config=default"

View File

@ -8,19 +8,6 @@ Table of contents
install install
documentation documentation
issues issues
changelog
about about
Python
------
.. automodule:: app4triqs
:members:
Reference manual
----------------
.. toctree::
:maxdepth: 1
cpp2rst_generated/app4triqs/toto
cpp2rst_generated/app4triqs/chain

View File

@ -3,14 +3,14 @@
Documentation Documentation
============= =============
Contents
--------
.. math:: .. math::
(a + b)^2 &= (a + b)(a + b) \\ (a + b)^2 &= (a + b)(a + b) \\
&= a^2 + 2ab + b^2 &= a^2 + 2ab + b^2
Table of Contents
-----------------
.. toctree:: .. toctree::
:maxdepth: 5 :maxdepth: 5