Skip to content

Commit

Permalink
docs/conf.py: Don't include rST sources in HTML build
Browse files Browse the repository at this point in the history
Sphinx defaults to including all the rST source files
in the HTML build and making each HTML page link to the
source file. Disable that.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Acked-by: Aleksandar Markovic <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]
Message-id: [email protected]
  • Loading branch information
pm215 committed Mar 7, 2019
1 parent 4fad386 commit 479fb8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@
]
}

# Don't copy the rST source files to the HTML output directory,
# and don't put links to the sources into the output HTML.
html_copy_source = False

# -- Options for HTMLHelp output ------------------------------------------

Expand Down

0 comments on commit 479fb8a

Please sign in to comment.