-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print each argument on new line in Python docs (#2207)
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
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,18 @@ | ||
/* source: https://github.com/sphinx-doc/sphinx/issues/1514#issuecomment-742703082 */ | ||
|
||
/* Newlines (\a) and spaces (\20) before each parameter */ | ||
.sig-param::before { | ||
content: "\a\20\20\20\20"; | ||
white-space: pre; | ||
} | ||
|
||
/* Newline after the last parameter (so the closing bracket is on a new line) */ | ||
dt em.sig-param:last-of-type::after { | ||
content: "\a"; | ||
white-space: pre; | ||
} | ||
|
||
/* To have blue background of width of the block (instead of width of content) */ | ||
dl.class > dt:first-of-type { | ||
display: block !important; | ||
} |
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