with open(".gitignore") as f:
exclude_patterns = [line.strip() for line in f.readlines()]
-master_doc = "cover"
+root_doc = "cover"
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
A counter
=========
-As a first example, consider a counter with a fixed limit, enable, and overflow. The code for this example is shown below. `Download <_code/up_counter.py>`_ and run it:
+As a first example, consider a counter with a fixed limit, enable, and overflow. The code for this example is shown below. :download:`Download <_code/up_counter.py>` and run it:
.. code-block:: shell