From 5db74995683b6f785fb92d51331deb502e420f73 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 11 Dec 2021 06:32:32 +0000 Subject: [PATCH] docs: fix download link in start.rst. Fixes #647. --- docs/conf.py | 2 +- docs/start.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index bf29557..22ab5cd 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 972a287..618c158 100644 --- a/docs/start.rst +++ b/docs/start.rst @@ -10,7 +10,7 @@ This section demonstrates the basic nMigen workflow to provide a cursory overvie 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 -- 2.30.2