Skip to content

Commit 5734605

Browse files
[qa] Fix RST formatting
1 parent e2546cb commit 5734605

9 files changed

Lines changed: 283 additions & 237 deletions

File tree

CHANGES.rst

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
Changelog
2-
=========
1+
###########
2+
Changelog
3+
###########
34

4-
Version 25.10.0 [2025-10-24]
5-
----------------------------
5+
******************************
6+
Version 25.10.0 [2025-10-24]
7+
******************************
68

79
Features
8-
~~~~~~~~
10+
========
911

1012
- Added support for non-default external ports in the Nginx container
1113
`#496 <https://github.com/openwisp/docker-openwisp/issues/496>`_.
@@ -18,10 +20,10 @@ Features
1820
<https://github.com/openwisp/docker-openwisp/issues/463>`_.
1921

2022
Changes
21-
~~~~~~~
23+
=======
2224

2325
Dependencies
24-
++++++++++++
26+
------------
2527

2628
- Upgraded to OpenWISP Users 1.2.x (see `changelog
2729
<https://github.com/openwisp/openwisp-users/releases/tag/1.2.0>`__).
@@ -61,7 +63,7 @@ Dependencies
6163
- Bumped ``boto3>=1.40.49,<1.41.0``.
6264

6365
Bugfixes
64-
~~~~~~~~
66+
========
6567

6668
- Fixed permissions issues in the Postfix container.
6769
- Fixed FreeRADIUS container exit caused by global write permissions.
@@ -73,11 +75,12 @@ Bugfixes
7375
<https://github.com/openwisp/docker-openwisp/issues/421>`_.
7476
- Updated auto-install script to suggest the correct VPN hostname.
7577

76-
Version 24.11.2 [2024-12-18]
77-
----------------------------
78+
******************************
79+
Version 24.11.2 [2024-12-18]
80+
******************************
7881

7982
Bugfixes
80-
~~~~~~~~
83+
========
8184

8285
- Resolved an issue in the ``docker-compose`` configuration for the
8386
``openvpn`` service by adding the ``/dev/net/tun`` device.
@@ -91,19 +94,21 @@ Bugfixes
9194
``postfix~=3.9.1-r0``.
9295
- Bumped ``boto3~=1.35.82``.
9396

94-
Version 24.11.1 [2024-11-27]
95-
----------------------------
97+
******************************
98+
Version 24.11.1 [2024-11-27]
99+
******************************
96100

97101
Bugfixes
98-
~~~~~~~~
102+
========
99103

100104
- Updated ``__openwisp_version__`` to ``24.11.1``.
101105

102-
Version 24.11.0 [2024-11-27]
103-
----------------------------
106+
******************************
107+
Version 24.11.0 [2024-11-27]
108+
******************************
104109

105110
Features
106-
~~~~~~~~
111+
========
107112

108113
- Added a default topology for the default VPN.
109114
- Added default credentials and SSH key template.
@@ -122,10 +127,10 @@ Features
122127
<https://openwisp.io/docs/stable/utils/user/metric-collection.html>`_.
123128

124129
Changes
125-
~~~~~~~
130+
=======
126131

127132
Dependencies
128-
++++++++++++
133+
------------
129134

130135
- Upgraded to OpenWISP Users 1.1.x (see `changelog
131136
<https://github.com/openwisp/openwisp-users/releases/tag/1.1.0>`__).
@@ -153,7 +158,7 @@ Dependencies
153158
``python:3.10.0-slim-buster``.
154159

155160
Backward Incompatible Changes
156-
+++++++++++++++++++++++++++++
161+
-----------------------------
157162

158163
- Merged the OpenWISP RADIUS container into the dashboard and API.
159164
- The ``CRON_DELETE_OLD_RADIUSBATCH_USERS`` variable now expects the
@@ -164,7 +169,7 @@ Backward Incompatible Changes
164169
``CRON_DELETE_OLD_RADIUSBATCH_USERS``.
165170

166171
Other Changes
167-
+++++++++++++
172+
-------------
168173

169174
- Changed cron to update OpenVPN revoke list daily at midnight.
170175
- Added admin URLs to the API container.
@@ -178,7 +183,7 @@ Other Changes
178183
- Disabled nginx ``server_tokens`` for improved security.
179184

180185
Bugfixes
181-
~~~~~~~~
186+
========
182187

183188
- Fixed OpenVPN cron script to download configuration at the correct path.
184189
- Fixed project configuration issues in the OpenWISP RADIUS module.

README.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Docker-OpenWISP
2-
===============
1+
#################
2+
Docker-OpenWISP
3+
#################
34

45
.. image:: https://github.com/openwisp/docker-openwisp/workflows/Automation%20Tests/badge.svg
56
:target: https://github.com/openwisp/docker-openwisp/actions?query=workflow%3A%22Automation+Tests%22
@@ -23,8 +24,9 @@ in mind.
2324
.. image:: https://raw.githubusercontent.com/openwisp/docker-openwisp/master/docs/images/portainer-docker-list.png
2425
:target: https://raw.githubusercontent.com/openwisp/docker-openwisp/master/docs/images/portainer-docker-list.png
2526

26-
Documentation
27-
-------------
27+
***************
28+
Documentation
29+
***************
2830

2931
- `Usage documentation <https://openwisp.io/docs/stable/docker/>`_
3032
- `Developer documentation

docs/developer/instructions.rst

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Developer Docs
2-
==============
1+
################
2+
Developer Docs
3+
################
34

45
.. include:: ../partials/developer-docs.rst
56

@@ -9,8 +10,9 @@ Developer Docs
910

1011
.. include:: ../partials/updating-host-file.rst
1112

12-
Building and Running Images
13-
---------------------------
13+
*****************************
14+
Building and Running Images
15+
*****************************
1416

1517
1. Install Docker.
1618
2. In the root directory of the repository, run ``make develop``. Once the
@@ -28,31 +30,32 @@ Building and Running Images
2830
by ``docker-openwisp``, please refer to the :ref:`makefile options
2931
<docker_make_options>`.
3032

31-
Running Tests
32-
-------------
33+
***************
34+
Running Tests
35+
***************
3336

3437
You can run tests using either ``geckodriver`` (Firefox) or
3538
``chromedriver`` (Chromium).
3639

3740
**Chromium is preferred as it also checks for console log errors.**
3841

3942
Using Chromedriver
40-
~~~~~~~~~~~~~~~~~~
43+
==================
4144

4245
Install WebDriver for Chromium for your browser version from
4346
https://chromedriver.chromium.org/home and extract ``chromedriver`` to one
4447
of directories from your ``$PATH`` (example: ``~/.local/bin/``).
4548

4649
Using Geckodriver
47-
~~~~~~~~~~~~~~~~~
50+
=================
4851

4952
Install Geckodriver for Firefox for your browser version from
5053
https://github.com/mozilla/geckodriver/releases and extract
5154
``geckodriver`` to one of directories from your ``$PATH`` (example:
5255
``~/.local/bin/``).
5356

5457
Finish Setup and Run Tests
55-
~~~~~~~~~~~~~~~~~~~~~~~~~~
58+
==========================
5659

5760
1. Install test requirements:
5861

@@ -87,8 +90,9 @@ Finish Setup and Run Tests
8790
8891
python3 tests/runtests.py <TestSuite>.<TestCase>
8992
90-
Run Quality Assurance Checks
91-
----------------------------
93+
******************************
94+
Run Quality Assurance Checks
95+
******************************
9296

9397
We use `shfmt <https://github.com/mvdan/sh#shfmt>`__ to format shell
9498
scripts and `hadolint <https://github.com/hadolint/hadolint#install>`__ to
@@ -109,8 +113,9 @@ To run quality assurance checks, use the ``run-qa-checks`` script:
109113
110114
.. _docker_make_options:
111115

112-
Makefile Options
113-
----------------
116+
******************
117+
Makefile Options
118+
******************
114119

115120
Most commonly used:
116121

docs/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Docker OpenWISP
2-
===============
1+
#################
2+
Docker OpenWISP
3+
#################
34

45
.. seealso::
56

docs/user/architecture.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Architecture
2-
============
1+
##############
2+
Architecture
3+
##############
34

45
A typical OpenWISP installation is made of multiple components (e.g.
56
application servers, background workers, web servers, database, messaging

docs/user/customization.rst

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Advanced Customization
2-
======================
1+
########################
2+
Advanced Customization
3+
########################
34

45
This page describes advanced customization options for the OpenWISP Docker
56
images.
@@ -11,8 +12,9 @@ areas that can be customized.
1112
:depth: 1
1213
:local:
1314

14-
Creating the ``customization`` Directory
15-
----------------------------------------
15+
******************************************
16+
Creating the ``customization`` Directory
17+
******************************************
1618

1719
The following commands will create the directory structure required for
1820
adding customizations. Execute these commands in the same location as the
@@ -32,8 +34,9 @@ for an example.
3234

3335
.. _docker_custom_django_settings:
3436

35-
Supplying Custom Django Settings
36-
--------------------------------
37+
**********************************
38+
Supplying Custom Django Settings
39+
**********************************
3740

3841
The ``customization/configuration/django`` directory created in the
3942
previous section is mounted at ``/opt/openwisp/openwisp/configuration`` in
@@ -48,8 +51,9 @@ You can also put additional files in
4851
``customization/configuration/django`` that need to be mounted at
4952
``/opt/openwisp/openwisp/configuration`` in the containers.
5053

51-
Supplying Custom CSS and JavaScript Files
52-
-----------------------------------------
54+
*******************************************
55+
Supplying Custom CSS and JavaScript Files
56+
*******************************************
5357

5458
If you want to use your custom styles, add custom JavaScript you can
5559
follow the following guide.
@@ -95,8 +99,9 @@ follow the following guide.
9599
2. You can create a ``maintenance.html`` file inside the ``customize``
96100
directory to have a custom maintenance page for scheduled downtime.
97101

98-
Supplying Custom uWSGI configuration
99-
------------------------------------
102+
**************************************
103+
Supplying Custom uWSGI configuration
104+
**************************************
100105

101106
By default, you can only configure :ref:`"processes", "threads" and
102107
"listen" settings of uWSGI using environment variables
@@ -125,11 +130,12 @@ supply your uWSGI configuration by following these steps:
125130
126131
.. _docker_nginx:
127132

128-
Supplying Custom Nginx Configurations
129-
-------------------------------------
133+
***************************************
134+
Supplying Custom Nginx Configurations
135+
***************************************
130136

131137
Docker
132-
~~~~~~
138+
======
133139

134140
1. Create nginx your configuration file.
135141
2. Set ``NGINX_CUSTOM_FILE`` to ``True`` in ``.env`` file.
@@ -146,8 +152,9 @@ Docker
146152
147153
.. _docker_freeradius:
148154

149-
Supplying Custom Freeradius Configurations
150-
------------------------------------------
155+
********************************************
156+
Supplying Custom Freeradius Configurations
157+
********************************************
151158

152159
Note: ``/etc/raddb/clients.conf``, ``/etc/raddb/radiusd.conf``,
153160
``/etc/raddb/sites-enabled/default``, ``/etc/raddb/mods-enabled/``,
@@ -159,7 +166,7 @@ including custom ``radiusd.conf`` and ``sites-enabled/default`` files.
159166
.. _docker-1:
160167

161168
Docker
162-
~~~~~~
169+
======
163170

164171
1. Create file configuration files that you want to edit / add to your
165172
container.
@@ -175,8 +182,9 @@ Docker
175182
PATH/TO/YOUR/DEFAULT:/etc/raddb/sites-enabled/default
176183
...
177184
178-
Supplying Custom Python Source Code
179-
-----------------------------------
185+
*************************************
186+
Supplying Custom Python Source Code
187+
*************************************
180188

181189
You can build the images and supply custom python source code by creating
182190
a file named ``.build.env`` in the root of the repository, then set the
@@ -206,8 +214,9 @@ written like this:
206214
DJANGO_SOURCE=https://github.com/<username>/Django/tarball/master
207215
OPENWISP_CONTROLLER_SOURCE=https://github.com/<username>/openwisp-controller/tarball/master
208216
209-
Disabling Services
210-
------------------
217+
********************
218+
Disabling Services
219+
********************
211220

212221
- ``openwisp-dashboard``: You cannot disable the openwisp-dashboard. It is
213222
the heart of OpenWISP and performs core functionalities.

0 commit comments

Comments
 (0)