Skip to content

Commit

Permalink
fix to conf.py for nbsphinx prompt widths
Browse files Browse the repository at this point in the history
  • Loading branch information
jlustigy committed May 6, 2020
1 parent 8bbd1f7 commit e2ea713
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coronagraph/transits.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
For transmission spectroscopy calculations use :class:`TransitNoise`,
and for emission spectroscopy use :class:`EclipseNoise`. You may also get an
example transmission and emission spectrum of the Earth by calling
:func:`get_earth_trans_spectrum`.
:func:`get_earth_trans_spectrum`.
"""

Expand Down
13 changes: 12 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,20 @@
plot_include_source = False
plot_html_show_source_link = False
plot_html_show_formats = False

# Remove ipython notebook prompt numbers
nbsphinx_prompt_width = 0
nbsphinx_prolog = """
.. raw:: html
<style>
.nbinput .prompt,
.nboutput .prompt {
display: none;
}
</style>
"""

napoleon_use_ivar = True

# Make the order of the autodocs in the order they appear in the code
autodoc_member_order = 'bysource'

Expand Down

0 comments on commit e2ea713

Please # to comment.