Skip to content

Commit

Permalink
Reorganise documentation pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SkypLabs committed Dec 13, 2024
1 parent 318f01f commit 82c1c95
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 28 deletions.
29 changes: 4 additions & 25 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,8 @@
Development
===========

Dropping support for deprecated Python versions
-----------------------------------------------
.. toctree::
:glob:
:maxdepth: 2

When a Python version is officially deprecated, it needs to be removed from the
versions supported by this package. To do so, the following actions need to be taken:

* In `pyproject.toml`:

* Remove the Python version from the classifiers.
* Update the minimum supported Python version in `requires-python`.

* In `tox.ini`:

* Remove the Python version from `tox.envlist`.

* In `.github/workflows/test_and_publish.yml`:

* Remove the Python version from the build matrix.

* In the GitHub repository settings:

* If necessary, update the required status checks in the branch protection
rules.

The status of the Python versions can be found `here
<https://devguide.python.org/versions/>`_.
development/*
File renamed without changes.
28 changes: 28 additions & 0 deletions docs/development/drop-deprecated-py-versions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
===============================================
Dropping support for deprecated Python versions
===============================================

When a Python version is officially deprecated, it needs to be removed from the
versions supported by this package. To do so, the following actions need to be taken:

* In `pyproject.toml`:

* Remove the Python version from the classifiers.
* Update the minimum supported Python version in `requires-python`.

* In `tox.ini`:

* Remove the Python version from `tox.envlist`.

* In `.github/workflows/test_and_publish.yml`:

* Remove the Python version from the build matrix.

* In the GitHub repository settings:

* If necessary, update the required status checks in the branch protection
rules.

The status of the Python versions can be found `here
<https://devguide.python.org/versions/>`_.

2 changes: 1 addition & 1 deletion docs/modules.rst → docs/development/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Modules
The different modules of Faker Wi-Fi ESSID will be listed here.

.. toctree::
:maxdepth: 1
:glob:
:maxdepth: 1

modules/*
File renamed without changes.
3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ Faker Wi-Fi ESSID is a `Faker`_ provider for Wi-Fi ESSIDs.

.. toctree::
:caption: Contents
:maxdepth: 2

installation
usage
modules
development
documentation

.. _Faker: https://github.com/joke2k/faker/

0 comments on commit 82c1c95

Please sign in to comment.