From 57ce104f12b23e56d68f62093a072682e3abcede Mon Sep 17 00:00:00 2001 From: gmatteo Date: Fri, 19 Mar 2021 23:47:41 +0100 Subject: [PATCH] Fix log with CSS Important, remove old partials --- abimkdocs/variables_abinit.py | 20 +- abinit_theme/main.html | 10 +- abinit_theme/old_main.html | 280 -------------------------- abinit_theme/partials/header.html | 63 ------ abinit_theme/partials/old_footer.html | 67 ------ abinit_theme/partials/old_header.html | 70 ------- doc/css/extra.css | 6 +- doc/theory/mbt.md | 2 +- mkdocs.yml | 4 +- 9 files changed, 17 insertions(+), 505 deletions(-) delete mode 100644 abinit_theme/old_main.html delete mode 100644 abinit_theme/partials/header.html delete mode 100644 abinit_theme/partials/old_footer.html delete mode 100644 abinit_theme/partials/old_header.html diff --git a/abimkdocs/variables_abinit.py b/abimkdocs/variables_abinit.py index d6f31086e9..ca429b9555 100644 --- a/abimkdocs/variables_abinit.py +++ b/abimkdocs/variables_abinit.py @@ -629,10 +629,10 @@ Variable( * 1 --> the polarization will be kept in the same branch on each iteration. At the end of the run, a file "POLSAVE" will be saved containing the reduced polarization in atomic units. - !!! note +!!! note - Make sure that "POLSAVE" is empty or it does not exist before the calculation, or else that - it specifies the desired polarization branch. + Make sure that "POLSAVE" is empty or it does not exist before the calculation, or else that + it specifies the desired polarization branch. """, ), @@ -21475,7 +21475,7 @@ allocated for the wavefunctions, especially when we have to sum over empty state parallelize along this dimension. The parallelization over q-points seem to be more efficient than the one over perturbations although it introduces some load imbalance because, due to memory reasons, the code distributes the q-points in the IBZ (nqibz) instead of the q-points in the full BZ (nqbz). - Moreover non all the q-points in the IBZ contribute to the imaginary part of $\Sigma_nk$. + Moreover non all the q-points in the IBZ contribute to the imaginary part of $\Sigma_{nk}$. The MPI parallelism over k-points and spins is supported with similar behaviour as in **eph_task** +4. @@ -21668,9 +21668,9 @@ to integrate the Frohlich divergence. Possible values: - - = 0 --> Approximate oscillators with $ \delta_{b_1 b_2} $ - - > 0 --> Use full expression with G-dependence - - < 0 --> Deactivate computation of oscillators. +- = 0 --> Approximate oscillators with $ \delta_{b_1 b_2} $ +- > 0 --> Use full expression with G-dependence +- < 0 --> Deactivate computation of oscillators. !!! important @@ -22054,9 +22054,9 @@ to go from $W(\rr,\RR)$ to $v1scf(\rr,\qq)$. Possible values are: - 0 --> Use unit super cell for $\RR$ space. All weights set to 1. - 1 --> Use Wigner-Seitz super cell and atom-dependent weights (same algorithm as for the dynamical matrix). - Note that this option leads to more $\RR$-points with a non-negligible increase of the memory allocated. +0 --> Use unit super cell for $\RR$ space. All weights set to 1. +1 --> Use Wigner-Seitz super cell and atom-dependent weights (same algorithm as for the dynamical matrix). + Note that this option leads to more $\RR$-points with a non-negligible increase of the memory allocated. !!! tip diff --git a/abinit_theme/main.html b/abinit_theme/main.html index ac870d6801..48946050cc 100644 --- a/abinit_theme/main.html +++ b/abinit_theme/main.html @@ -156,7 +156,7 @@ {% endif %} - + {% if page.meta and page.meta.light_gallery %} {% endblock %} -{% block footer %} - - {% if config.theme.features.tabs %} - {% include "partials/tabs.html" %} - {% endif %} - {{ super() }} -{% endblock %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% if page.meta and page.meta.bootstrap_table %} - - - - {% endif %} - - - - - - - - - - - - - - - - - - {% if page.meta and page.meta.plotly %} - - - {% endif %} - - {% if page.meta and page.meta.light_gallery %} - - - - - - - - {% endif %} - - - - - - - - -{% endblock %} - -{% block content %} -{{ super() }} - - -
-
-
-
-
- -
- -
-
-
-
-{% endblock %} - -{% block footer %} - - {% if config.theme.features.tabs %} - {% include "partials/tabs.html" %} - {% endif %} - {{ super() }} -{% endblock %} - - diff --git a/abinit_theme/partials/header.html b/abinit_theme/partials/header.html deleted file mode 100644 index 07f8b581ea..0000000000 --- a/abinit_theme/partials/header.html +++ /dev/null @@ -1,63 +0,0 @@ -{#- - This file was automatically generated - do not edit --#} -
- -
diff --git a/abinit_theme/partials/old_footer.html b/abinit_theme/partials/old_footer.html deleted file mode 100644 index 058b3cb29a..0000000000 --- a/abinit_theme/partials/old_footer.html +++ /dev/null @@ -1,67 +0,0 @@ -{% import "partials/language.html" as lang with context %} - diff --git a/abinit_theme/partials/old_header.html b/abinit_theme/partials/old_header.html deleted file mode 100644 index 704c7cf98b..0000000000 --- a/abinit_theme/partials/old_header.html +++ /dev/null @@ -1,70 +0,0 @@ -
- -
diff --git a/doc/css/extra.css b/doc/css/extra.css index f0bb425614..77dd27e361 100644 --- a/doc/css/extra.css +++ b/doc/css/extra.css @@ -9,11 +9,13 @@ body { } /* Increase logo width because mkdocs material enforces 48 x 48 -.md-logo img { width: 48px; +*/ +.md-logo img { + width: 48px ! Important; height: auto; } -*/ + /* Add vertical rhythm diff --git a/doc/theory/mbt.md b/doc/theory/mbt.md index f8a20e8958..5785437d8e 100644 --- a/doc/theory/mbt.md +++ b/doc/theory/mbt.md @@ -494,7 +494,7 @@ in comparison to [[ecut]], [[ecutwfn]] and [[ecuteps]]. Another point worth noting is the presence in the expression of the Coulomb singularity for $| \qq + \GG | \rightarrow 0$ . From a mathematical point of view, the integral is well-defined since the singularity is integrable in three- -dimensional space once the thermodynamical limit, $N_\qq \rightarrow \infty$, is reached. +dimensional space once the thermodynamic limit, $N_\qq \rightarrow \infty$, is reached. On the other hand, only a finite number of $\qq$-points can be used for practical applications, and a careful numerical treatment is needed to avoid diff --git a/mkdocs.yml b/mkdocs.yml index bf993e5274..8ec8a5e8a3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -300,8 +300,6 @@ theme: name: material custom_dir: abinit_theme logo: images/logo-abinit-2015.png - #icon: - # logo: images/logo-abinit-2015.png favicon: images/favicon.ico palette: primary: deep orange @@ -317,7 +315,7 @@ plugins: - search: separator: '[\s\-\.]+' min_search_length: 2 - #prebuild_index: true + #prebuild_index: true # Should test whether this makes search faster. extra_css: - css/extra.css