Commit Graph

15 Commits

Author SHA1 Message Date
Kefu Chai
f9d17b8848 doc: decrease padding in the "docubetter" div
for better UX

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-13 10:18:58 +08:00
Kefu Chai
7a62303b57 doc: check "release" context variable for #dev-warning
if $release is "dev", then the release being built is not a stable
version.

drop ceph.js, as the web page is generated at build time.

since the last user of "releases.json" is gone, now we can
drop the hooks preparing "releases.json" in conf.py as well.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 00:25:16 +08:00
Kefu Chai
448800d300 doc: disable eol-warning based on "is_release_eol"
enable/disable #eol-warning based on "is_release_eol" context variable.
this allows us to generate a more static web page. and pave the road to
a releases.json-free doc build process.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 00:25:16 +08:00
Kefu Chai
7edd8dd0d0 doc: add docubetter link back
check if the release being built is EOL when building the document, so
no need to use javascript to read releases.json anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 00:25:16 +08:00
Kefu Chai
be26c566e5 doc: remove edit_on_github sphinx extension
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-01 15:41:45 +08:00
Kefu Chai
31aefb0cd6 doc: drop http://ayni.ceph.com/public/js/ceph.js
seems we will never have this file in foreseeable future.

See-also: https://tracker.ceph.com/issues/11490
See-also: https://tracker.ceph.com/issues/18075
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-28 10:13:12 +08:00
Neha
066981dedb doc/_templates/page.html: redirect to etherpad
This simplifies things for users who are not able to add cards to
https://github.com/ceph/ceph/projects/4 due to insufficient permissions.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-12-12 04:21:04 +00:00
Neha Ojha
de30c4d3c5 doc/_templates/page.html: add link to report doc bugs
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-11-02 14:49:15 -07:00
Noah Watkins
bb887b78f8 doc: show edit on github links and version warnings
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2018-11-02 14:49:15 -07:00
Alfredo Deza
9bb3397a58 doc update template call for toctree
Up until version 1.1.3 of Sphinx, this call would show hidden toctree
entries. Most of Ceph's toctree's are hidden, so when the version of
Sphinx was bumped to >1.6, the sidebar stopped showing entries

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-18 12:05:03 -04:00
nehaummareddy
168881b61d doc: Replaced with apt word and fixed grammatical error
Signed-off-by: Neha Ummareddy <nehaummareddy@gmail.com>
2015-04-07 14:11:23 +06:00
Alfredo Deza
69638dfaeb doc: fix missing bracket
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-09-04 13:44:37 -04:00
Alfredo Deza
35663fa55a doc: attempt to get the ayni JS into all head tags
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-09-04 13:44:32 -04:00
Tommi Virtanen
c4166492ab doc: Add index into the sidebar.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-23 15:55:01 -07:00
Tommi Virtanen
c85c2f7535 doc: Adjust how table of contents is presented.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-08-30 11:26:56 -07:00