]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: do not use absolute address
authorKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 06:42:32 +0000 (14:42 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 06:44:11 +0000 (14:44 +0800)
use relative address instead, to ease the pain when testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/_static/js/ceph.js

index 5374029a0a37a6098b9defc9f867b252b30946e5..c73805c8708330cbc8a03f7380a983b72802bf59 100644 (file)
@@ -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) {