diff --git a/docs/conf.py b/docs/conf.py index dd22132..141568c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,7 +19,7 @@ extensions = [ 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)} diff --git a/docs/start.rst b/docs/start.rst index fb5fb0e..3d7772f 100644 --- a/docs/start.rst +++ b/docs/start.rst @@ -10,7 +10,7 @@ This section demonstrates the basic Amaranth workflow to provide a cursory overv 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