From 219bd830a5355ec3aa7b5a901f574cad11bc7019 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 26 Apr 2019 10:23:36 -0400 Subject: [PATCH] [doc] Minor cleanings of app4triqs doc examples --- c++/app4triqs/toto.hpp | 4 ++-- doc/ChangeLog.md | 4 ++-- doc/conf.py.in | 2 +- doc/contents.rst | 15 +-------------- doc/documentation.rst | 4 ++-- 5 files changed, 8 insertions(+), 21 deletions(-) diff --git a/c++/app4triqs/toto.hpp b/c++/app4triqs/toto.hpp index ee3b05ef..92353c44 100644 --- a/c++/app4triqs/toto.hpp +++ b/c++/app4triqs/toto.hpp @@ -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; diff --git a/doc/ChangeLog.md b/doc/ChangeLog.md index 0806d26b..ae187f62 100644 --- a/doc/ChangeLog.md +++ b/doc/ChangeLog.md @@ -1,5 +1,5 @@ -Version 0.1 ------------ +Version 2.2.0 +------------- Some Changes ~~~~~~~~~~~~ diff --git a/doc/conf.py.in b/doc/conf.py.in index 5ab9baaa..32b6f1a3 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -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" diff --git a/doc/contents.rst b/doc/contents.rst index b6e57375..725589f8 100644 --- a/doc/contents.rst +++ b/doc/contents.rst @@ -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 diff --git a/doc/documentation.rst b/doc/documentation.rst index 63c830fc..4f59764e 100644 --- a/doc/documentation.rst +++ b/doc/documentation.rst @@ -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