-
Notifications
You must be signed in to change notification settings - Fork 588
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3868 from Zac-HD/more-sphinx-options
Update some Sphinx config for docs
- Loading branch information
Showing
9 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
RELEASE_TYPE: patch | ||
|
||
This patch improves formatting and adds some cross-references to our docs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* don't use italics for param names; looks bad with "|" for unions */ | ||
.rst-content dl .sig-param { | ||
font-style: normal; | ||
} | ||
|
||
/* Take out pointless vertical whitespace in the signatures. | ||
* See also https://github.com/readthedocs/sphinx_rtd_theme/pull/1450 */ | ||
.rst-content dl .sig dl, | ||
.rst-content dl .sig dd { | ||
margin-bottom: 0; | ||
} | ||
|
||
/* Make signature boxes full-width, with view-source and header links right-aligned. */ | ||
.rst-content dl .sig { | ||
width: -webkit-fill-available; | ||
} | ||
.rst-content .viewcode-link { | ||
display: inline-flex; | ||
float: inline-end; | ||
margin-right: 1.5em; | ||
} | ||
.rst-content .headerlink { | ||
position: absolute; | ||
right: 0.5em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters