diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 38ca1b7333..915b818a66 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -254,10 +254,10 @@ language. On Linux distros based on Debian and Ubuntu, you may need to install the following packages to build PDFs: -``console +```console sudo apt install latexmk sudo apt install texlive-latex-extra -`` +``` To reduce the large (300 MB+) install size of the second package, you may be able to use the `--no-install-recommends` flag. diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index 3e33eb2830..8e61f66a11 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -293,6 +293,10 @@ table.resource-table td > .resource-thumb.file-icon { /* Not clear why this doesn't work for the .caption-text */ font-size: 1em !important; } +.resource-handle > .literal { + /* Removes the verticle scroll when you zoom out more than 100% */ + overflow-y: hidden; +} /* Imitate sphinx-copybutton style */ diff --git a/doc/example_code/index.rst b/doc/example_code/index.rst index d6201d69a6..c966c3299e 100644 --- a/doc/example_code/index.rst +++ b/doc/example_code/index.rst @@ -66,7 +66,7 @@ Animating Drawing Primitives .. figure:: images/thumbs/shapes.png :figwidth: 170px - :target: shapes-slow.html + :target: shapes.html#shapes-slow.html :ref:`shapes-slow`