@@ -35,8 +35,17 @@ processing additional packages are needed. The XeTeX_ needed not only for PDF
35creation, its also needed for :ref:`math` when HTML output is build.
35creation, its also needed for :ref:`math` when HTML output is build.
37To be able to do :ref:`sphinx:math-support` without CDNs, the math are rendered
37To 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
38+as images (``sphinx.ext.imgmath`` extension).
40+Here is the extract from the :origin:`docs/conf.py` file, setting math renderer
43+.. literalinclude:: ../conf.py
45+ :start-after: # sphinx.ext.imgmath setup
46+ :end-before: # sphinx.ext.imgmath setup END
39−docs``) shows warnings like this::
48+If your docs build (``make docs``) shows warnings like this::
41 WARNING: dot(1) not found, for better output quality install \
50 WARNING: dot(1) not found, for better output quality install \
42 graphviz from http://www.graphviz.org
51 graphviz from http://www.graphviz.org
@@ -47,8 +56,6 @@ docs``) shows warnings like this::
47you need to install additional packages on your build host, to get better HTML
56you need to install additional packages on your build host, to get better HTML
50−.. _system requirements:
54 .. group-tab:: Ubuntu / debian
61 .. group-tab:: Ubuntu / debian
@@ -94,10 +101,35 @@ For PDF output you also need:
94 texlive-collection-fontsrecommended texlive-collection-latex \
101 texlive-collection-fontsrecommended texlive-collection-latex \
95 dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts
102 dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts
97−.. _system requirements END:
104+.. _sh lint:
99−.. literalinclude:: ../conf.py
106+Lint shell scripts
100− :language: python
107+==================
101− :start-after: # sphinx.ext.imgmath setup
108+
102− :end-before: # sphinx.ext.imgmath setup END
109+.. _ShellCheck: https://github.com/koalaman/shellcheck
111+To lint shell scripts, we use ShellCheck_ - A shell script static analysis tool.
113+.. SNIP sh lint requirements
117+ .. group-tab:: Ubuntu / debian
121+ $ sudo apt install shellcheck
123+ .. group-tab:: Arch Linux
127+ $ sudo pacman -S shellcheck
129+ .. group-tab:: Fedora / RHEL
133+ $ sudo dnf install ShellCheck
135+.. SNAP sh lint requirements