3
0
mirror of https://github.com/triqs/dft_tools synced 2024-07-17 00:20:39 +02: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;
public:
toto() = default;
toto() = default;
/**
* Construct from integer
@ -40,7 +40,7 @@ namespace app4triqs {
*
* @param u Nothing useful
*/
int f(int u) { return u;}
int f(int u) { return u; }
/// Arithmetic operations
toto operator+(toto const &b) const;

View File

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

View File

@ -20,7 +20,7 @@ extensions = ['sphinx.ext.autodoc',
source_suffix = '.rst'
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@'
mathjax_path = "@TRIQS_MATHJAX_PATH@/MathJax.js?config=default"

View File

@ -8,19 +8,6 @@ Table of contents
install
documentation
issues
changelog
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
=============
Contents
--------
.. math::
(a + b)^2 &= (a + b)(a + b) \\
&= a^2 + 2ab + b^2
Table of Contents
-----------------
.. toctree::
:maxdepth: 5