Fixed readthedocs

This commit is contained in:
Éloi Rivard 2020-11-06 13:37:47 +01:00
parent 8d1d0c020d
commit c99e87c530
2 changed files with 4 additions and 2 deletions

View file

@ -37,6 +37,7 @@ language = None
exclude_patterns = []
pygments_style = "sphinx"
todo_include_todos = False
autodoc_mock_imports = ["ldap"]
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),

View file

@ -9,13 +9,14 @@ LDAP schemas
============
As of OpenLDAP 2.4, two configuration methods are available:
- The `deprecated <https://www.openldap.org/doc/admin24/slapdconf2.html>`_ one, based on a configuration file (generally `/etc/ldap/slapd.conf`);
- The new one, based on a configuration directory (generally `/etc/ldap/slapd.d`).
Depending on the configuration method you use with your OpenLDAP installation, you need to chose how to add the canaille schemas:
Old fashion: Copy the schemas in your filesystem
================================================
------------------------------------------------
.. code-block:: console
@ -24,7 +25,7 @@ Old fashion: Copy the schemas in your filesystem
sudo service slapd restart
New fashion: Use slapadd to add the schemas
===========================================
-------------------------------------------
.. code-block:: console