]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/_ext: claim ceph_releses ext to be parallel read safe
authorKefu Chai <kchai@redhat.com>
Wed, 14 Apr 2021 09:07:23 +0000 (17:07 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Apr 2021 10:41:38 +0000 (18:41 +0800)
so we can pass `-j auto` to sphinx-build to speed up the build

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/_ext/ceph_releases.py

index a5b913cefd2aab6ff23eb1c92b592100461799ca..7fcb4a6d92eca355fc0816c65e2a75e0c39062eb 100644 (file)
@@ -210,3 +210,7 @@ class CephTimeline(Directive):
 def setup(app):
     app.add_directive('ceph_releases', CephReleases)
     app.add_directive('ceph_timeline', CephTimeline)
+    return {
+        'parallel_read_safe': True,
+        'parallel_write_safe': True
+    }