Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection of small changes resulting from final removal of plasmapy_sphinx from plasmapy #10

Merged
merged 8 commits into from
May 6, 2024
2 changes: 1 addition & 1 deletion plasmapy_sphinx/directives/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def parse_event(env, sig, signode):
Instance of the Sphinx's build environment.

sig : str
The "signature" given the the event directive or role. For example,
The "signature" given the event directive or role. For example,

.. code-block:: rst

Expand Down
15 changes: 11 additions & 4 deletions plasmapy_sphinx/theme/static/css/plasmapy.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
@import "theme.css"; /* From sphinx_rtd_theme */
@import "admonition_color_contrast.css";


/* -----------------------------------------------------------------------------
* RTD Overrides
*/
Expand Down Expand Up @@ -71,6 +70,14 @@ div.graphviz {
margin-bottom: 0 !important;
}

/*
* Patch for overflow wrapping caused by sphinx_rtd_theme==1.1.0
* See https://github.com/PlasmaPy/PlasmaPy/issues/1784
*/
.rst-content p a code {
overflow-wrap: normal;
}

/* Remove excess bottom margin for table headings */
.rst-content table.docutils thead p {
margin-bottom: 0;
Expand Down Expand Up @@ -130,7 +137,7 @@ div.wy-nav-content a:hover {

/*
The style for generic code literals, in particular text that is
enclosed in double back ticks in reST (e.g., ``make -j 32``).
enclosed in double back ticks in reStructuredText (e.g., ``make -j 32``).
*/

div.wy-nav-content .rst-content code.literal {
Expand All @@ -140,7 +147,7 @@ div.wy-nav-content .rst-content code.literal {

/*
The style for links to Python objects, in particular text enclosed in
single back ticks in reST (e.g., `~plasmapy.particles`).
single back ticks in reStructuredText (e.g., `~plasmapy.particles`).
*/

div.wy-nav-content .rst-content code.literal.xref {
Expand All @@ -150,7 +157,7 @@ div.wy-nav-content .rst-content code.literal.xref {

/*
The style for literal text that shows the location of a file, in
particular when used by the reST role :file: (e.g.,
particular when used by the reStructuredText role :file: (e.g.,
:file:`docs/_static/css/plasmapy.css`).
*/
div.wy-nav-content .rst-content code.literal.file {
Expand Down
Loading