Skip to content

Commit

Permalink
This adds a space between the type and the attribute. Without the spa…
Browse files Browse the repository at this point in the history
…ce will not always render (Issue inmanta/inmanta-sphinx#52, PR #4390)

Pull request opened by the merge tool on behalf of #4390
  • Loading branch information
bartv authored and inmantaci committed Jun 22, 2022
1 parent 4d6ae1d commit dc3bbe6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelogs/unreleased/fix-docs-spacing.yml
Original file line number Diff line number Diff line change
@@ -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]
4 changes: 4 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -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;
}
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 --------------------------------------------------

Expand Down

0 comments on commit dc3bbe6

Please sign in to comment.