From: Kefu Chai Date: Thu, 20 Feb 2020 06:42:32 +0000 (+0800) Subject: doc: do not use absolute address X-Git-Tag: v15.1.1~352^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F33423%2Fhead;p=ceph.git doc: do not use absolute address use relative address instead, to ease the pain when testing. Signed-off-by: Kefu Chai --- diff --git a/doc/_static/js/ceph.js b/doc/_static/js/ceph.js index 5374029a0a37..c73805c87083 100644 --- a/doc/_static/js/ceph.js +++ b/doc/_static/js/ceph.js @@ -1,5 +1,5 @@ $(function() { - var releases_url = "https://docs.ceph.com/docs/master/releases.json"; + var releases_url = DOCUMENTATION_OPTIONS.URL_ROOT + '/releases.json'; function show_edit(branch, data) { if (branch) {