From 183c6c06ffaa86a1b9785088bf6329509da53b82 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 25 Jan 2023 21:28:18 -0500 Subject: [PATCH] small tweaks to the "breadcrumbs" part of the theme to avoid double inserting a separation character --- doc/src/Build_extras.rst | 2 +- doc/utils/sphinx-config/_static/css/lammps.css | 7 +++++++ .../sphinx-config/_themes/lammps_theme/breadcrumbs.html | 9 ++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/doc/src/Build_extras.rst b/doc/src/Build_extras.rst index c44cfd6b4e..99051110b3 100644 --- a/doc/src/Build_extras.rst +++ b/doc/src/Build_extras.rst @@ -1929,7 +1929,7 @@ within CMake will download the non-commercial use version. -D DOWNLOAD_QUIP=value # download QUIP library for build, value = no (default) or yes -D QUIP_LIBRARY=path # path to libquip.a (only needed if a custom location) - + CMake will try to download and build the QUIP library from GitHub, if it is not found on the local machine. This requires to have git installed. It will use the same compilers and flags as used for compiling LAMMPS. Currently this is only supported for the GNU and the diff --git a/doc/utils/sphinx-config/_static/css/lammps.css b/doc/utils/sphinx-config/_static/css/lammps.css index cbf08c3da1..b09fea598c 100644 --- a/doc/utils/sphinx-config/_static/css/lammps.css +++ b/doc/utils/sphinx-config/_static/css/lammps.css @@ -66,9 +66,16 @@ hr { } .rst-breadcrumbs-buttons { + padding-top: 5px; margin: 0; } +.breadcrumb-item:before { + content: "ยป"; + color: black; + font-size: 16px; +} + p { margin-bottom: 12px; } diff --git a/doc/utils/sphinx-config/_themes/lammps_theme/breadcrumbs.html b/doc/utils/sphinx-config/_themes/lammps_theme/breadcrumbs.html index 325754bf4b..f672cf097a 100644 --- a/doc/utils/sphinx-config/_themes/lammps_theme/breadcrumbs.html +++ b/doc/utils/sphinx-config/_themes/lammps_theme/breadcrumbs.html @@ -22,11 +22,11 @@