diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-11-10 14:59:34 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-11-10 15:27:08 +0100 |
commit | 52a869470530f3c6bf7820a2b63fa9e17f227a16 (patch) | |
tree | 84d2940f763b124c75dd124aecbf76ff3707f140 /docs/source/_static | |
parent | da01191aa3526e3a77d9a055e23c318c26720785 (diff) | |
download | podman-52a869470530f3c6bf7820a2b63fa9e17f227a16.tar.gz podman-52a869470530f3c6bf7820a2b63fa9e17f227a16.tar.bz2 podman-52a869470530f3c6bf7820a2b63fa9e17f227a16.zip |
Add anchors for flag names on docs.podman.io
Change the docs markdown so that flag names will be h4 headers.
Sphinx will automatically add anchors to headers. Add css to
make sure the flag names are not to big compared to the text.
The man pages also still renders fine but it looks a bit different.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'docs/source/_static')
-rw-r--r-- | docs/source/_static/custom.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css new file mode 100644 index 000000000..6974d8514 --- /dev/null +++ b/docs/source/_static/custom.css @@ -0,0 +1,7 @@ +h2,h3,h4,h5,h6{ + /* Sphinx doesn't respect using a h4 header without using h1,h2,h3. + The flag names will be rendered as h2 and by default way to big + so make the font size for all headers except h1 smaller. + */ + font-size: 120% !important; +} |