@@ -35,8 +35,17 @@ processing additional packages are needed. The XeTeX_ needed not only for PDF
3535creation, its also needed for :ref:`math` when HTML output is build.
3636
3737To be able to do :ref:`sphinx:math-support` without CDNs, the math are rendered
38−as images (``sphinx.ext.imgmath`` extension). If your docs build (``make
39−docs``) shows warnings like this::
38+as images (``sphinx.ext.imgmath`` extension).
39+
40+Here is the extract from the :origin:`docs/conf.py` file, setting math renderer
41+to ``imgmath``:
42+
43+.. literalinclude:: ../conf.py
44+ :language: python
45+ :start-after: # sphinx.ext.imgmath setup
46+ :end-before: # sphinx.ext.imgmath setup END
47+
48+If your docs build (``make docs``) shows warnings like this::
4049
4150 WARNING: dot(1) not found, for better output quality install \
4251 graphviz from http://www.graphviz.org
@@ -47,8 +56,6 @@ docs``) shows warnings like this::
4756you need to install additional packages on your build host, to get better HTML
4857output.
4958
50−.. _system requirements:
51−
5259.. tabs::
5360
5461 .. group-tab:: Ubuntu / debian
@@ -94,10 +101,35 @@ For PDF output you also need:
94101 texlive-collection-fontsrecommended texlive-collection-latex \
95102 dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts
96103
97−.. _system requirements END:
104+.. _sh lint:
98105
99−.. literalinclude:: ../conf.py
100− :language: python
101− :start-after: # sphinx.ext.imgmath setup
102− :end-before: # sphinx.ext.imgmath setup END
106+Lint shell scripts
107+==================
108+
109+.. _ShellCheck: https://github.com/koalaman/shellcheck
110+
111+To lint shell scripts, we use ShellCheck_ - A shell script static analysis tool.
112+
113+.. SNIP sh lint requirements
114+
115+.. tabs::
116+
117+ .. group-tab:: Ubuntu / debian
118+
119+ .. code-block:: sh
120+
121+ $ sudo apt install shellcheck
122+
123+ .. group-tab:: Arch Linux
124+
125+ .. code-block:: sh
126+
127+ $ sudo pacman -S shellcheck
128+
129+ .. group-tab:: Fedora / RHEL
130+
131+ .. code-block:: sh
132+
133+ $ sudo dnf install ShellCheck
103134
135+.. SNAP sh lint requirements