diff options
author | Kefu Chai <kchai@redhat.com> | 2020-11-20 04:20:11 +0100 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2020-11-20 05:59:22 +0100 |
commit | 23626401e94435ca0491f42713c58843a1fef4ee (patch) | |
tree | e8613866740a533c0d061c3ab81a19c7cb0ce1ab /admin | |
parent | doc/conf: add blank lines before class/func definitions (diff) | |
download | ceph-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-x | admin/build-doc | 2 |
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 |