Skip to content

Commit

Permalink
docs: add info about the docs in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
n-peugnet committed Jul 25, 2024
1 parent ff1a8da commit 42a00d6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [unreleased]

### Added

- Add information about the documentation in the documentation.

## [v1.3.0] - 2024-07-22

### Fixed
Expand Down
4 changes: 1 addition & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ Development requirements
- **composer**: to install PHP development dependencies
- **pigz**: (Optional) to build tests data, will fallback to a PHP script if not present

On Debian and derivatives:

.. code:: shell
On Debian and derivatives::

sudo apt install make composer pigz

Expand Down
21 changes: 21 additions & 0 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,24 @@ The code hosting and the issue tracker is provided by `GitHub <https://github.co
.. include:: ../README.rst
:start-after: .. Development
:end-before: .. Epilog

Compiling the documentation
~~~~~~~~~~~~~~~~~~~~~~~~~~~

The documentation is obviously generated using `Sphinx <https://sphinx-doc.org>`_,
so the requierements are:

- **sphinx**: the documentation generator
- **sphinxcontrib-phpdomain**: to allow documenting PHP code
- **myst-parser**: to include the Markdown formatted changelog

On Debian and derivatives::

sudo apt install sphinx-doc python3-sphinxcontrib.phpdomain python3-myst-parser

Then to build the documentation (see :ref:`builders` for available builders):

.. code:: sh
make docs # Using the default builder (html)
make docs BUILDER=epub # Using a specific builder

0 comments on commit 42a00d6

Please sign in to comment.