From 004c48b8ade6e959c0825c5fad6f32b0767f7efc Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Wed, 8 Nov 2023 13:45:43 +1000 Subject: [PATCH] mild formatting changes --- docs/customizing/index.md | 12 ++++++------ docs/development/custom/logging.md | 2 ++ docs/features/core/groups.md | 3 ++- docs/installation/allianceauth.md | 29 +++++++++++++++++++++++++++-- 4 files changed, 37 insertions(+), 9 deletions(-) diff --git a/docs/customizing/index.md b/docs/customizing/index.md index 0fe4be54..d7cc4e01 100644 --- a/docs/customizing/index.md +++ b/docs/customizing/index.md @@ -3,7 +3,7 @@ It is possible to customize your **Alliance Auth** instance. :::{warning} - Keep in mind that you may need to update some of your customizations manually after new Auth releases (e.g. when replacing templates). +Keep in mind that you may need to update some of your customizations manually after new Auth releases (e.g. when replacing templates). ::: ## Site name @@ -103,11 +103,11 @@ nano /home/allianceserver/myauth/myauth/templates/allianceauth/side-menu.html ``` ```django -
  • - - Google - -
  • +
  • + + Google + +
  • ``` :::{hint} diff --git a/docs/development/custom/logging.md b/docs/development/custom/logging.md index b2526c17..a9c53d70 100644 --- a/docs/development/custom/logging.md +++ b/docs/development/custom/logging.md @@ -37,6 +37,8 @@ Options are: *(all options accept entries of levels listed below them)* * `ERROR` * `CRITICAL` +## allianceauth.services.hooks.get_extension_logger + ```{eval-rst} .. automodule:: allianceauth.services.hooks.get_extension_logger :members: diff --git a/docs/features/core/groups.md b/docs/features/core/groups.md index ced1f32c..ee59264f 100644 --- a/docs/features/core/groups.md +++ b/docs/features/core/groups.md @@ -45,6 +45,7 @@ When a group is restricted only superuser admins can directly add or remove them ```{eval-rst} .. _ref-reserved-group-names: ``` + ## Reserved group names When using Alliance Auth to manage external services like Discord, Auth will automatically duplicate groups on those services. E.g. on Discord Auth will create roles of the same name as groups. However, there may be cases where you want to manage groups on external services by yourself or by another bot. For those cases you can define a list of reserved group names. Auth will ensure that you can not create groups with a reserved name. You will find this list on the admin site under groupmanagement. @@ -100,7 +101,7 @@ GROUPMANAGEMENT_AUTO_LEAVE = True ``` :::{note} - Before you set `GROUPMANAGEMENT_AUTO_LEAVE = True`, make sure there are no pending leave requests, as this option will hide the "Leave Requests" tab. +Before you set `GROUPMANAGEMENT_AUTO_LEAVE = True`, make sure there are no pending leave requests, as this option will hide the "Leave Requests" tab. ::: ## Settings diff --git a/docs/installation/allianceauth.md b/docs/installation/allianceauth.md index 94936785..9f7b622b 100644 --- a/docs/installation/allianceauth.md +++ b/docs/installation/allianceauth.md @@ -79,7 +79,7 @@ sudo apt-get install python3.11 python3.11-dev python3.11-venv ``` ::: -:::{group-tab} CentOS 7, Stream 8, Stream 9 +:::{group-tab} CentOS 7 We need to build Python from source ```bash @@ -93,7 +93,32 @@ sudo make altinstall ``` ::: -:::: +:::{group-tab} CentOS Stream 8 +We need to build Python from source + +```bash +cd ~ +sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget +wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz +tar xvf Python-3.11.5.tgz +cd Python-3.11.5/ +./configure --enable-optimizations --enable-shared +sudo make altinstall +``` + +::: +:::{group-tab} CentOS Stream 9 +We need to build Python from source + +```bash +cd ~ +sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget +wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz +tar xvf Python-3.11.5.tgz +cd Python-3.11.5/ +./configure --enable-optimizations --enable-shared +sudo make altinstall +``` ### Database