From 74a84e9be358cebac69bb6b2387a27a4eb71e20e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 16 Mar 2017 15:03:43 +0800 Subject: [PATCH] doc: indent :maxdepth: using spaces in toc * indent :maxdepth: directive properly, otherwise sphinx complains index.rst:45: WARNING: toctree contains reference to nonexisting document u'rados/configuration/ :maxdepth: 1' * also reindent the entries in toc, so we can add paths without documenting their titles. because otherwise the paths inclues an extra space, without the proper indent. Signed-off-by: Kefu Chai --- doc/rados/configuration/index.rst | 25 ++++++++++--------- doc/radosgw/index.rst | 41 +++++++++++++++---------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/doc/rados/configuration/index.rst b/doc/rados/configuration/index.rst index 93df640e056f6..b609b155e4b8d 100644 --- a/doc/rados/configuration/index.rst +++ b/doc/rados/configuration/index.rst @@ -43,18 +43,19 @@ For general object store configuration, refer to the following: To optimize the performance of your cluster, refer to the following: .. toctree:: - :maxdepth: 1 - - Network Settings - Auth Settings - Monitor Settings - Heartbeat Settings - OSD Settings - Filestore Settings - Journal Settings - Pool, PG & CRUSH Settings - Messaging Settings - General Settings + :maxdepth: 1 + + Network Settings + Auth Settings + Monitor Settings + mon-lookup-dns + Heartbeat Settings + OSD Settings + Filestore Settings + Journal Settings + Pool, PG & CRUSH Settings + Messaging Settings + General Settings .. raw:: html diff --git a/doc/radosgw/index.rst b/doc/radosgw/index.rst index bbd53c4006806..145a0feaa3479 100644 --- a/doc/radosgw/index.rst +++ b/doc/radosgw/index.rst @@ -34,24 +34,23 @@ you may write data with one API and retrieve it with the other. .. toctree:: - :maxdepth: 1 - - Manual Install <../../install/install-ceph-gateway> - Simple Configuration with FastCGI - Federated Configuration - Multisite Configuration - Config Reference - Admin Guide - S3 API - Swift API - Admin Ops API - Python binding - OpenStack Keystone Integration - Multi-tenancy - Compression - Data Layout in RADOS - Upgrade to Older Versions of Jewel - troubleshooting - Manpage radosgw <../../man/8/radosgw> - Manpage radosgw-admin <../../man/8/radosgw-admin> - + :maxdepth: 1 + + Manual Install <../../install/install-ceph-gateway> + Simple Configuration with FastCGI + Federated Configuration + Multisite Configuration + Config Reference + Admin Guide + S3 API + Swift API + Admin Ops API + Python binding + OpenStack Keystone Integration + Multi-tenancy + Compression + Data Layout in RADOS + Upgrade to Older Versions of Jewel + troubleshooting + Manpage radosgw <../../man/8/radosgw> + Manpage radosgw-admin <../../man/8/radosgw-admin> -- 2.39.5