diff --git a/changelogs/unreleased/fix-docs-spacing.yml b/changelogs/unreleased/fix-docs-spacing.yml new file mode 100644 index 0000000000..4214b3b8a5 --- /dev/null +++ b/changelogs/unreleased/fix-docs-spacing.yml @@ -0,0 +1,5 @@ +description: This adds a space between the type and the attribute. Without the space will not always render +issue-nr: 52 +issue-repo: inmanta-sphinx +change-type: patch +destination-branches: [master, iso5, iso4] diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css new file mode 100644 index 0000000000..159c39d434 --- /dev/null +++ b/docs/_static/css/custom.css @@ -0,0 +1,4 @@ +/* This adds a space between the type and the attribute. Without the space will not always render */ +dl.attribute .sig-prename { + margin-left: 0.5em; +} diff --git a/docs/conf.py b/docs/conf.py index d110703378..82218b67e2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -210,6 +210,10 @@ def setup(app): # Output file base name for HTML help builder. htmlhelp_basename = 'InmantaDoc' +html_css_files = [ + 'css/custom.css', +] + # -- Options for LaTeX output --------------------------------------------------