]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc: do not try to patch #edit-on-github if not found
authorKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 05:05:45 +0000 (13:05 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 06:44:11 +0000 (14:44 +0800)
commit9d2f6329b76f39678a51a13a2f01a6546243f23d
treeea5e8de15b38522ee2a8cda39d52a28ed36914f8
parent34b78df4806461862bdb6c04b6a0c7d82df0780a
doc: do not try to patch #edit-on-github if not found

we add this element in _templates/page.html, which is only used for the
content pages, not in the "search" page. to avoid the js errors, just
disabled it if it's not found.

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