3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-25 22:52:20 +02:00

final version of the new rtd design update

This commit is contained in:
Alexander Hampel 2021-08-18 16:00:28 -04:00 committed by Nils Wentzell
parent a06301304f
commit 17eee7a13d
10 changed files with 63 additions and 45 deletions

View File

@ -1,5 +1,9 @@
Version 3.0.0
=============
(changelog)=
# Changelog
## Version 3.0.0
app4triqs version 3.0.0 is a compatibility
release for TRIQS version 3.0.0 that
@ -8,8 +12,7 @@ release for TRIQS version 3.0.0 that
* fixes several application issues
Version 2.2.0
=============
## Version 2.2.0
app4triqs Version 2.2.0 provides a project
skeleton for TRIQS applications based on

5
doc/_static/css/custom.css vendored Normal file
View File

@ -0,0 +1,5 @@
@import url("theme.css");
.wy-nav-content {
max-width: 70em;
}

View File

@ -1,7 +1,7 @@
.. _about:
About app4triqs
===============
***************
An example application using ``cpp2py`` and TRIQS.

View File

@ -1,8 +0,0 @@
.. _changelog:
Changelog
=========
This document describes the main changes in APP4TRIQS.
.. include:: ChangeLog.md

View File

@ -16,21 +16,44 @@ extensions = ['sphinx.ext.autodoc',
'sphinx.ext.githubpages',
'sphinx_autorun',
'nbsphinx',
'myst_parser',
'matplotlib.sphinxext.plot_directive',
'numpydoc']
myst_enable_extensions = [
"amsmath",
"colon_fence",
"deflist",
"dollarmath",
"html_admonition",
"html_image",
"linkify",
"replacements",
"smartquotes",
"substitution",
"tasklist",
]
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
source_suffix = '.rst'
project = '@PROJECT_NAME@'
version = '@PROJECT_VERSION@'
copyright = '2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
copyright = '2017-2018 N. Wentzell, O. Parcollet 2018-2021 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
mathjax_path = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=default"
templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_templates']
# this requires the sphinx_rtd_theme to be installed via pip
html_theme = 'sphinx_rtd_theme'
# this loads the custom css file to change the page width
html_style = 'css/custom.css'
#html_favicon = '@CMAKE_CURRENT_SOURCE_DIR@/logos/favicon.ico'
#html_logo = '@CMAKE_CURRENT_SOURCE_DIR@/logos/logo.png'
# options for the the rtd theme
html_theme_options = {
@ -39,7 +62,7 @@ html_theme_options = {
'prev_next_buttons_location': 'bottom',
'style_external_links': False,
'vcs_pageview_mode': '',
# 'style_nav_header_background': '#7E588A',
'style_nav_header_background': '#7E588A',
# Toc options
'collapse_navigation': False,
'sticky_navigation': True,

View File

@ -1,12 +0,0 @@
Table of contents
=================
.. toctree::
:maxdepth: 2
index
install
documentation
issues
changelog
about

View File

@ -1,7 +1,7 @@
.. _documentation:
Documentation
=============
*************
.. math::
@ -9,20 +9,9 @@ Documentation
(a + b)^2 &= (a + b)(a + b) \\
&= a^2 + 2ab + b^2
Table of Contents
-----------------
.. toctree::
:maxdepth: 5
index
install
issues
changelog
about
C++ reference manual
--------------------
====================
.. toctree::
:maxdepth: 5
@ -30,7 +19,7 @@ C++ reference manual
cpp2rst_generated/contents
Python reference manual
-----------------------
=======================
.. automodule:: app4triqs
:members:

View File

@ -1,12 +1,18 @@
.. _welcome:
app4triqs
=========
*********
.. sidebar:: app4triqs 2.2.0
.. sidebar:: app4triqs 3.0.0
This is the homepage of app4triqs v2.2.0.
This is the homepage of app4triqs v3.0.0.
For changes see the :ref:`changelog page <changelog>`.
.. image:: _static/logo_github.png
:width: 75%
:align: center
:target: https://github.com/triqs/app4triqs
An example application using cpp2py and :ref:`TRIQS <triqslibs:welcome>`.
@ -15,5 +21,13 @@ and the comments in the sources and headers.
Learn how to use app4triqs in the :ref:`documentation`.
.. toctree::
:maxdepth: 2
:hidden:
install
documentation
issues
ChangeLog.md
about

View File

@ -2,9 +2,13 @@
.. _install:
Install app4triqs
*******************
Compiling app4triqs from source
===============================
.. note:: To guarantee reproducibility in scientific calculations we strongly recommend the use of a stable `release <https://github.com/TRIQS/triqs/releases>`_ of both TRIQS and its applications.
Prerequisites
-------------

View File

@ -1,7 +1,7 @@
.. _issues:
Reporting issues
================
****************
Please report all problems and bugs directly at the github issue page
`<https://github.com/TRIQS/app4triqs/issues>`_. In order to make it easier for us