Skip to content

Commit c48afaa

Browse files
committed
Removed the :orphan: directive to surpress warning,
because it is being SHOWN due to a bug in Sphinx.
1 parent fc68bef commit c48afaa

16 files changed

+0
-32
lines changed

snippets/desc_application-modules.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
:orphan:
2-
31
Use this section if your package contains both a Python module, that is being imported by third-party projects, and also contains an application—an executable that doesn't interact with Python code (it doesn't even have to be programmed in Python).

snippets/desc_applications.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
The section for applications is for software where the user doesn't care in which programming language it is written. For example, it doesn't matter if it is written in Python 2 or 3 because the application should run the same.
42

53
If your package is not being imported by third-party projects (e.g. ``import some_module`` in a Python file), it is most likely an application.

snippets/desc_tools.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
This last section is for tools (executables) written in Python that themselves interact with Python code. If you need to package two versions of the executable, one for each major Python version, then this section is for you.
42

53
Examples: *pip, pytest, nosetest*.

snippets/files_preamble.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
:orphan:
2-
31
The presence or absence of a ``%files`` section is the deciding factor in whether a given package or subpackage gets built or not. Therefore, to assure that our base package doesn't get built (as all the content has been moved to the two subpackages), make sure there is no ``%files`` section without a subpackage name.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
:orphan:
2-
31
Again as in the `build-section`_ section, in the rare cases where you encounter a non-Python install script such as a Makefile, consult documentation for the specific install method and make adjustments on your own.

snippets/section_header.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
If this doesn't fit your package, look into :ref:`other sections <chosing-type-section>`.
42

53
.. contents:: Table of Contents

subsections/h2-diff.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
Diff of the changes
42
-------------------
53

subsections/h2-modifications.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
.. _modifications:
42

53
Modifications

subsections/h2-ported-specfile.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
Ported RPM spec file
42
--------------------
53

subsections/h3-build-requires.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
BuildRequires and Requires
42
^^^^^^^^^^^^^^^^^^^^^^^^^^
53

0 commit comments

Comments
 (0)