From 7d40eb3cac62a047012a40a597eb914fce8afe5c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 15 May 2021 00:26:19 -0400 Subject: [PATCH] fix issue with commands docs not being kept separate from programmer guide --- doc/src/Manual.rst | 13 +++++++++---- doc/utils/sphinx-config/_static/css/lammps.css | 4 ++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/src/Manual.rst b/doc/src/Manual.rst index 9198f545bc..4c7e5fa8f5 100644 --- a/doc/src/Manual.rst +++ b/doc/src/Manual.rst @@ -89,10 +89,15 @@ Programmer Guide Modify Developer +***************** +Command Reference +***************** + +.. _command_reference: .. toctree:: - :caption: Index - :name: index - :hidden: + :name: reference + :maxdepth: 1 + :caption: Command Reference commands_list fixes @@ -118,7 +123,7 @@ Indices and tables .. admonition:: Web Browser Compatibility The HTML version of the manual makes use of advanced features present - int "modern" web browsers. This can lead to incompatibilities with older + in "modern" web browsers. This can lead to incompatibilities with older web browsers (released more than 4 years ago) and specific vendor browsers (e.g. Internet Explorer on Windows; Microsoft Edge works well though) where parts of the pages are not rendered as expected (e.g. the layout is diff --git a/doc/utils/sphinx-config/_static/css/lammps.css b/doc/utils/sphinx-config/_static/css/lammps.css index b69405365a..900054eeeb 100644 --- a/doc/utils/sphinx-config/_static/css/lammps.css +++ b/doc/utils/sphinx-config/_static/css/lammps.css @@ -35,6 +35,10 @@ hr { display: none; } +#command-reference.section h2 { + display: none; +} + .ui.tabular.menu .item { padding-right: 1em; padding-left: 1em;