From 18ddb70dbf81da59494192ce46781ebf34fe0d4b Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Sat, 4 Nov 2023 17:23:08 -0700 Subject: [PATCH 1/2] remove the creating documentation tutorial --- source/tutorials/creating-documentation.rst | 66 --------------------- source/tutorials/index.rst | 1 - 2 files changed, 67 deletions(-) delete mode 100644 source/tutorials/creating-documentation.rst diff --git a/source/tutorials/creating-documentation.rst b/source/tutorials/creating-documentation.rst deleted file mode 100644 index 483fb0d727..0000000000 --- a/source/tutorials/creating-documentation.rst +++ /dev/null @@ -1,66 +0,0 @@ -.. _creating-documentation: - -====================== -Creating Documentation -====================== - -This section covers the basics of how to create documentation using `Sphinx`_ and -host the documentation for free in `Read The Docs`_. - -.. _Sphinx: https://www.sphinx-doc.org -.. _Read The Docs: https://readthedocs.org/ - -Installing Sphinx ------------------ -Use ``pip`` to install Sphinx: - -.. tab:: Unix/macOS - - .. code-block:: bash - - python3 -m pip install --upgrade sphinx - -.. tab:: Windows - - .. code-block:: bat - - py -m pip install --upgrade sphinx - -For other installation methods, see this :doc:`installation guide ` by Sphinx. - - -Getting Started With Sphinx ---------------------------- - -Create a ``docs`` directory inside your project to hold your documentation: - -.. code-block:: bash - - cd /path/to/project - mkdir docs - -Run ``sphinx-quickstart`` inside the ``docs`` directory: - -.. code-block:: bash - - cd docs - sphinx-quickstart - -This sets up a source directory, walks you through some basic configurations, and creates an ``index.rst`` file as well as a ``conf.py`` file. - -You can add some information about your project in ``index.rst``, then build them: - -.. code-block:: bash - - make html - -For more details on the build process, see this `guide`_ by Read The Docs. - -.. _guide: https://docs.readthedocs.io/en/latest/intro/import-guide.html - -Other Sources -------------- - -For a more detailed guide on how to use Sphinx and reStructuredText, please see this `documentation tutorial`_ on Hitchhiker's Guide to Python. - -.. _documentation tutorial: https://docs.python-guide.org/writing/documentation/ diff --git a/source/tutorials/index.rst b/source/tutorials/index.rst index 40b0620f31..33ab4f98af 100644 --- a/source/tutorials/index.rst +++ b/source/tutorials/index.rst @@ -11,4 +11,3 @@ topics, see :doc:`/guides/index`. installing-packages managing-dependencies packaging-projects - creating-documentation From 4c6680f58dada4609a337cd0044978fd5f6be8b7 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Sun, 5 Nov 2023 12:21:35 -0800 Subject: [PATCH 2/2] Create an orphan page per @pradyunsg review --- source/tutorials/creating-documentation.rst | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 source/tutorials/creating-documentation.rst diff --git a/source/tutorials/creating-documentation.rst b/source/tutorials/creating-documentation.rst new file mode 100644 index 0000000000..5d9dae7871 --- /dev/null +++ b/source/tutorials/creating-documentation.rst @@ -0,0 +1,7 @@ +:orphan: + +Creating documentation +====================== + +This tutorial has been removed since it is not related to packaging and was unmaintained. +Please see the `Sphinx tutorial `_ instead.