Commit Graph

7 Commits

Author SHA1 Message Date
Kefu Chai
c555a4e10d doc/_static/css: fine tune the spacing
* `ul.simple > li` is also used in front page, where the items are too
  sparse now. so we need to restore the default spacing.
* `ul.simple > li > ul > li:last-child` is used to control the spacing
  between nested unordered list. we need have more spacing there.
* `div.section > ul > li > p` is added to decrease the spacing of nested
  list items.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 20:12:38 +08:00
Kefu Chai
e2e9de8b4d doc: overide the default margin for "ul.simple > li"
by default, the user agent's css sets `margin-block-end` of "ul ul" to
"0", which renders the unordered lists in release notes cluttered. as we
are using nested unordered list to present the changes in different
components.

in this change a customized css is added to reset the begin and end
margin of ul to 1em, which is the default value of top level ul.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-13 20:16:18 +08:00
Kefu Chai
3d129f45d4 doc/_static/js/ceph.js: avoid the "//" in URI
it's just annoying.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-28 10:08:49 +08:00
Kefu Chai
26a48b36f7 doc: do not use absolute address
use relative address instead, to ease the pain when testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 14:44:11 +08:00
Kefu Chai
9d2f6329b7 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>
2020-02-20 14:44:11 +08:00
Kefu Chai
eb247c943a doc: always load resources via HTTPS
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-08-22 16:19:17 +08: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