summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-11-20 04:20:11 +0100
committerKefu Chai <kchai@redhat.com>2020-11-20 05:59:22 +0100
commit23626401e94435ca0491f42713c58843a1fef4ee (patch)
treee8613866740a533c0d061c3ab81a19c7cb0ce1ab /admin
parentdoc/conf: add blank lines before class/func definitions (diff)
downloadceph-23626401e94435ca0491f42713c58843a1fef4ee.tar.xz
ceph-23626401e94435ca0491f42713c58843a1fef4ee.zip
doc: write releases.json to _static
this follows the convention of sphinx, so we can also customise this path in future using "html_static_path". see also https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_static_path Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/build-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/build-doc b/admin/build-doc
index 979bba4b85e..ac655b75e05 100755
--- a/admin/build-doc
+++ b/admin/build-doc
@@ -142,7 +142,7 @@ done
# build the releases.json. this reads in the yaml version and dumps
# out the json representation of the same file. the resulting releases.json
# should be served from the root of hosted site.
-$vdir/bin/python << EOF > $TOPDIR/build-doc/output/html/releases.json
+$vdir/bin/python << EOF > $TOPDIR/build-doc/output/html/_static/releases.json
from __future__ import print_function
import datetime
import json