Skip to content

Commit

Permalink
Consistent syntax highlight
Browse files Browse the repository at this point in the history
- Set default highlight_language = text (no highlight)
- Specific case can still use "highlight" directive (e.g. Disk usage)
  • Loading branch information
DavidePrincipi committed Apr 19, 2024
1 parent 161a42a commit 5567202
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 19 deletions.
4 changes: 0 additions & 4 deletions backup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
Backup and restore
==================

.. highlight:: text

The full cluster backup is composed by configuration and applications data.
Access the ``Backup`` page to manage the backup and restore.

Expand Down Expand Up @@ -123,8 +121,6 @@ This ensures that the repository holds up-to-date backups of both your data and
In case you lose the configuration backup, you can still restore applications to another cluster only if you know the
encryption password of the backup repository.

.. highlight:: bash

To inspect the content of the backup use the following command, where ``<pass>`` is the encryption password
entered before the download: ::

Expand Down
1 change: 1 addition & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@
html_logo = "_static/logo.png"
html_favicon = "_static/favicon.ico"

highlight_language = "text"
highlight_options = {'stripall': True}
2 changes: 0 additions & 2 deletions disk_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
Disk usage
==========

.. highlight:: bash

NethServer 8 uses `podman <https://podman.io/>`_ to manage OCI containers.
When running multiple containers the disk usage will grow quite fast and you could quickly run out of space.

Expand Down
1 change: 0 additions & 1 deletion install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Installation
============

.. highlight:: bash

Installation methods
====================
Expand Down
2 changes: 0 additions & 2 deletions log_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ to see that application activity.
Command line interface
======================

.. highlight:: text

In addition to accessing logs via the System Logs web page, users can
utilize the ``api-server-logs`` command for log searching. Below are
examples illustrating its usage:
Expand Down
2 changes: 0 additions & 2 deletions migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
NethServer 7 migration
======================

.. highlight:: bash

Migration is the process to convert a NethServer 7 machine (*source* NS7)
into a NethServer 8 (*destination* NS8).

Expand Down
2 changes: 0 additions & 2 deletions minio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
MinIO
=====

.. highlight:: text

`MinIO <https://min.io/>`_ offers high-performance, S3 compatible object storage.

You can install multiple MinIO instances on the same node from the :ref:`software_center-section`.
Expand Down
2 changes: 0 additions & 2 deletions release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
Release notes
=============

.. highlight:: text

NethServer 8 releases

- List of `known bugs <https://github.com/NethServer/dev/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Abug>`_
Expand Down
2 changes: 0 additions & 2 deletions subscription.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
Subscription
============

.. highlight:: bash

.. note::

Available only on Rocky Linux based systems
Expand Down
2 changes: 0 additions & 2 deletions system_requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ the TLS certificate is valid for the given FQDN.
Worker node requirements
========================

.. highlight:: text

Among network clients, a worker node has some special
requirements to be installed and configured.

Expand Down

0 comments on commit 5567202

Please sign in to comment.