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>
# 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
$(function() {
- var releases_url = DOCUMENTATION_OPTIONS.URL_ROOT + 'releases.json';
+ var releases_url = DOCUMENTATION_OPTIONS.URL_ROOT + '_static/releases.json';
function show_edit(branch, data) {
if (branch) {