Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
0e00d2f21bddd8ee811dec816cff5b4f05b1f891)
Conflicts:
doc/man/CMakeLists.txt: jewel does not have this file. so do
not cherry-pick changes of it.
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = ['**/.#*', '**/*~', 'start/quick-common.rst']
+if tags.has('man'):
+ exclude_patterns += ['architecture.rst', 'glossary.rst', 'release*.rst',
+ 'api/*',
+ 'cephfs/*',
+ 'dev/*',
+ 'install/*',
+ 'mon/*',
+ 'rados/*',
+ 'radosgw/*',
+ 'rbd/*',
+ 'start/*']
+
pygments_style = 'sphinx'
html_theme = 'ceph'
# in a tree populated from dist tarball, the $(top_srcdir)/doc is not included
sphinx-build.stamp:
if [ -d $(top_srcdir)/doc/man ] ; then \
- ${SPHINX_BUILD} -b man -d doctrees -c $(top_srcdir)/man $(top_srcdir)/doc/man $(top_builddir)/man; \
+ ${SPHINX_BUILD} -b man -t man -d doctrees -c $(top_srcdir)/man $(top_srcdir)/doc/man $(top_builddir)/man; \
fi
clean-local: