Skip to content

Commit 0fa0648

Browse files
committed
more formatting fixes
1 parent c8903a5 commit 0fa0648

10 files changed

Lines changed: 1097 additions & 1322 deletions

File tree

docs/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
1919
# the i18n builder cannot share the environment and doctrees with the others
2020
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
2121

22-
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
22+
.PHONY: help clean html serve dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
2323

2424
help:
2525
@echo "Please use \`make <target>' where <target> is one of"
2626
@echo " html to make standalone HTML files"
27+
@echo " serve to clean, build HTML, and serve locally"
2728
@echo " dirhtml to make HTML files named index.html in directories"
2829
@echo " singlehtml to make a single large HTML file"
2930
@echo " pickle to make pickle files"
@@ -49,6 +50,9 @@ help:
4950
clean:
5051
rm -rf $(BUILDDIR)/*
5152

53+
serve: clean html
54+
python -m http.server -d $(BUILDDIR)/html
55+
5256
html:
5357
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
5458
@echo

docs/_static/css/pyscript_editor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ py-editor::part(editor) {
4646
padding: 0.5em 1em;
4747
}
4848

49-
/* Run button: nudge it to sit inside the highlight box */
49+
/* Run button: border-radius only; margin-top is injected into shadow DOM via JS */
5050
py-editor::part(run-button) {
5151
border-radius: 0 0 4px 0;
5252
}

docs/basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ explanatory error message.
3838
A simple example program
3939
------------------------
4040

41-
The following calls the SPICE function :py:meth:`spiceypy.spiceypy.tkvrsn` which outputs the version
41+
The following calls the SPICE function :py:func:`spiceypy.tkvrsn <spiceypy.spiceypy.tkvrsn>` which outputs the version
4242
of cspice that SpiceyPy is wrapping.
4343

4444
.. py-editor::

docs/binary_pck.rst

Lines changed: 130 additions & 144 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)