From 52a869470530f3c6bf7820a2b63fa9e17f227a16 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 10 Nov 2020 14:59:34 +0100 Subject: 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 --- docs/source/_static/custom.css | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/source/_static/custom.css (limited to 'docs/source/_static/custom.css') 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; +} -- cgit v1.2.3-54-g00ecf