Skip to content

Commit 89a34e9

Browse files
committed
conf: Don't export txt sources.
The sources are hosted on GitHub, so there is not additional information here. Also, the actual docstrings are included in the .py files. See pybricks/support#1559
1 parent 9597f22 commit 89a34e9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

doc/common/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@
151151
html_theme = "sphinx_rtd_theme"
152152
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
153153

154+
html_show_sourcelink = False
155+
html_copy_source = False
156+
154157
html_context = {
155158
"disclaimer": _DISCLAIMER,
156159
}
@@ -261,6 +264,7 @@
261264
"messaging.rst",
262265
"nxtdevices.rst",
263266
"tools/datalog.rst",
267+
"*.rst.txt",
264268
]
265269

266270

0 commit comments

Comments
 (0)