Skip to content

Commit

Permalink
avoid including :orphan:
Browse files Browse the repository at this point in the history
remove surplus to requirements includes.

better solution
  • Loading branch information
wxtim committed Nov 28, 2024
1 parent 6ca4edc commit 1e65d00
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
'python': ('https://docs.python.org/', None),
}

rst_epilog = open('hyperlinks.rst', 'r').read()
rst_epilog = open('hyperlinks.txt', 'r').read()

# Slide (hieroglyph) settings.
slide_theme = 'single-level'
Expand Down
2 changes: 0 additions & 2 deletions sphinx/hyperlinks.rst → sphinx/hyperlinks.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
:orphan:

.. This document contains hyperlink references to be used throughout the
documentation.

Expand Down
2 changes: 1 addition & 1 deletion sphinx/tutorial/rose/configurations.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../hyperlinks.rst

:start-line: 1


Expand Down
2 changes: 1 addition & 1 deletion sphinx/tutorial/rose/furthertopics/failif-warnif.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../hyperlinks.rst

:start-line: 1

.. _tutorial-rose-fail-if-warn-if:
Expand Down
2 changes: 1 addition & 1 deletion sphinx/tutorial/rose/furthertopics/rose-stem-tutorial.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../hyperlinks.rst

:start-line: 1

.. _Rose Stem Tutorial:
Expand Down
2 changes: 1 addition & 1 deletion sphinx/tutorial/rose/furthertopics/rose-stem.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../hyperlinks.rst

:start-line: 1

.. _Rose Stem:
Expand Down

0 comments on commit 1e65d00

Please sign in to comment.