-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove sub-section headings to fix table of content to fix #1168
Add custom role to customize rubric directives with font size to match sub-section (H2) headings. Also remove unnecessary extra header to include CSS. Note the font size is not changed in the PDF output
- Loading branch information
1 parent
97fc428
commit eaeec95
Showing
4 changed files
with
22 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,15 @@ | ||
/* | ||
* rubric.css | ||
* ~~~~~~~~~~~~~~~ | ||
* | ||
* custom Sphinx stylesheet -- define custom font size to match h2 in rubrics with NXDL documentation | ||
* | ||
* :see: http://stackoverflow.com/questions/23462494/how-to-add-custom-css-file | ||
* | ||
*/ | ||
|
||
|
||
.rubric > .styleh2 { | ||
font-size: 1.35em; | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ NeXus: Reference Documentation | |
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:glob: | ||
|
||
defs_intro | ||
nxdl | ||
|