summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/sampleconf.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/sampleconf.rst b/doc/source/sampleconf.rst
index c2901400d..45164a314 100644
--- a/doc/source/sampleconf.rst
+++ b/doc/source/sampleconf.rst
@@ -10,4 +10,6 @@ Tempest with the version of this documentation.
The sample configuration can also be viewed in `file form <_static/tempest.conf.sample>`_.
-.. literalinclude:: _static/tempest.conf.sample
+.. only:: html
+
+ .. literalinclude:: _static/tempest.conf.sample