]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
admin/build-doc: use htmldir builder for livehtml
authorKefu Chai <kchai@redhat.com>
Wed, 14 Apr 2021 08:29:39 +0000 (16:29 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Apr 2021 10:41:38 +0000 (18:41 +0800)
otherwise livehtml uses the default html builder. so we can copy and
paste the partial URL to cross check the rendering result.

Signed-off-by: Kefu Chai <kchai@redhat.com>
admin/build-doc

index 6738fc8f64f374674a8e680b4e615efdcafc843f..d8b82b32c9723c8c1f0f31149970389fb883e168 100755 (executable)
@@ -96,7 +96,7 @@ for target in $sphinx_targets; do
             ;;
         livehtml)
             $vdir/bin/pip install --quiet sphinx-autobuild
-            $vdir/bin/sphinx-autobuild --re-ignore '.*\.dot' "$@" \
+            $vdir/bin/sphinx-autobuild --re-ignore '.*\.dot' -b dirhtml "$@" \
                                        $TOPDIR/doc $TOPDIR/build-doc/output/html
             ;;
     esac