Skip to content

Commit

Permalink
[#29] fix documentation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Jan 29, 2025
1 parent a3d2f81 commit bb8883e
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

0.0.x (TBD)
-----------
* Documentation on https://open-producten.readthedocs.io/
* Added Read the Docs documentation

0.0.2 (17-01-2025)
------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/client-development/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _client-development:

Open Producten client documentation
==============================
===================================

Open Producten is primarily a provider of API's to be consumed by clients. If you're
developing such a client (or consumer), you're in the right place!
Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
linkcheck_ignore = [
r"http://localhost:\d+/",
r"http://127\.0\.0\.1:\d+/",
r"https?://.*\.gemeente.nl",
r"http://localhost:\d+,https?://.*\.gemeente.nl",
]

sphinx_tabs_valid_builders = ["linkcheck"]
1 change: 1 addition & 0 deletions docs/development/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ The file ``includes/local.py`` overwrites settings from the base configuration,
and is only loaded for the dev settings.

.. TODO: remove Celery part below? No references for usage found in project
Running background tasks
=====================================

Expand Down
2 changes: 1 addition & 1 deletion docs/development/performance/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Performance
.. TODO: include performance benchmarks
The performance for Open Producten can be measured in several ways. See
:ref:`Profiling <_development_performance_profiling>` for options about measuring
:ref:`Profiling<development_performance_profiling>` for options about measuring
several aspects of Open Producten.

.. toctree::
Expand Down
2 changes: 2 additions & 0 deletions docs/development/releasing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ Once the PR is merged to main, check out the ``master`` branch and tag it:
git tag 1.0.0
Tagging will ensure that a Docker image ``maykinmedia/open-producten:1.0.0`` is published.

. _`Maykin`: https://github.com/maykinmedia
4 changes: 2 additions & 2 deletions docs/development/security.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Security measures in Open Producten
==============================
===================================

The following is a non-exhaustive list of configurations in Open Producten to enhance
security.
Expand All @@ -24,7 +24,7 @@ are set in the virtual host:
there's no need for these :-)

Open Producten settings
------------------
-----------------------

``X-Frame-Options`` is set to ``DENY``
no (i)frames are allowed at all
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Open Producten Documentation
=======================
============================

**Open Producten** is an application where product types and products can be
managed in a single place. Other applications like `Open Inwoner`_ and `Open
Expand Down
8 changes: 4 additions & 4 deletions docs/installation/config/openproducten_config.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _installation_configuration:

===============================
====================================
Open Producten configuration (admin)
===============================
====================================

Before you can work with Open Producten after installation, a few settings need to be
configured first.
Expand All @@ -29,7 +29,7 @@ Create an API token
===================

Open Producten
---------
--------------
By creating an API token, we can perform an API test call to verify the successful
installation.

Expand All @@ -47,7 +47,7 @@ Making an API call
==================

Open Producten
---------
--------------
We can now make an HTTP request to one of the APIs of Open Producten. For this
example, we have used `curl`_ to make the request.

Expand Down
2 changes: 1 addition & 1 deletion docs/installation/reference/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ For documentation on how to set up a project in Sentry, please refer to the offi
documentation (make sure to follow the instructions for the platform Python > Django).

After setting up the project, you will receive a **DSN**, which is the URL to which
exceptions will be sent (e.g. https://[email protected]/104).
exceptions will be sent.

The created Sentry project can be linked to Open Producten by setting the environment
variable ``SENTRY_DSN`` equal to this DSN.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation/reference/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ possible, both client and server should use the *same* services so that their cl
in sync.

Where Open Producten deals with time-aspects
=======================================
============================================

Open Producten deals with time-based validations in a number of places, of which you can
configure how Open Producten deals with them for a subset of these places.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation/updating.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _installation_updating:

Updating an Open Producten installation
==================================
=======================================

Software receives new features and bugfixes all the time, and Open Producten is no different.
At some point, you'll want to update to a newer version of Open Producten - be it a patch
Expand Down
3 changes: 3 additions & 0 deletions docs/introduction/open-source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Open Producten is open-source and available under the `EUPL license`_.
In addition, this project makes use of various open-source `Python libraries`_
under the hood.

.. _`EUPL license`: https://github.com/maykinmedia/open-producten/blob/master/LICENSE.md
.. _`Python libraries`: https://github.com/maykinmedia/open-producten/blob/master/requirements/base.txt

.. toctree::
:maxdepth: 1

Expand Down
2 changes: 1 addition & 1 deletion docs/introduction/team.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Who's behind Open Producten?
=======================
============================


.. TODO:
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/oidc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Aan het eind van dit proces moet je de volgende gegevens hebben (on premise):
* Client secret, bijvoorbeeld ``97d663a9-3624-4930-90c7-2b90635bd990``

Configureren van OIDC in Open Producten
==================================
=======================================

Zorg dat je de volgende :ref:`gegevens <manual_oidc_appgroup>` hebt:

Expand Down

0 comments on commit bb8883e

Please sign in to comment.