From 96dcc2cbc22ec9efa98eb75771ba3154bc881bba Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Jun 2020 10:39:07 +0200 Subject: [PATCH] Fix PDF build Do not include ceilometer.conf.sample since PDF building fails with the large file. This fix PDF building of openstack-tox-docs job. Change-Id: Idaf811f71bab0b49de5b68a6a69a7872cb481ffb (cherry picked from commit 89969ec0a919a3a5ea9f4cee7e9b128c5fe0804d) --- doc/source/configuration/index.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/source/configuration/index.rst b/doc/source/configuration/index.rst index 2c9cc9bb80..32dc287cda 100644 --- a/doc/source/configuration/index.rst +++ b/doc/source/configuration/index.rst @@ -17,8 +17,10 @@ can be easily created by running:: --config-file=/etc/ceilometer/ceilometer-config-generator.conf \ --output-file=/etc/ceilometer/ceilometer.conf -The following is a sample Ceilometer configuration for adaptation and use. -It is auto-generated from Ceilometer when this documentation is built, and -can also be viewed in `file form <_static/ceilometer.conf.sample>`_. +.. only:: html -.. literalinclude:: ../_static/ceilometer.conf.sample + The following is a sample Ceilometer configuration for adaptation and use. + It is auto-generated from Ceilometer when this documentation is built, and + can also be viewed in `file form <_static/ceilometer.conf.sample>`_. + + .. literalinclude:: ../_static/ceilometer.conf.sample