From 96cc55d17469efeece77b0cdad44d42ae7854425 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Tue, 26 Dec 2023 21:23:37 +1000 Subject: [PATCH] missed myst conversions --- docs/development/custom/custom-themes.md | 4 ++-- docs/installation-containerized/index.md | 17 +++++++---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/docs/development/custom/custom-themes.md b/docs/development/custom/custom-themes.md index 538c235f..aa0739d4 100644 --- a/docs/development/custom/custom-themes.md +++ b/docs/development/custom/custom-themes.md @@ -4,7 +4,7 @@ The theme hook allows custom themes to be loaded dynamically by AAs CSS/JS Bundl To register a ThemeHook class you would do the following: -```Python +```python @hooks.register('theme_hook') def register_darkly_hook(): return ThemeHook() @@ -12,7 +12,7 @@ def register_darkly_hook(): The `ThemeHook` class specifies some parameters/instance variables required. -```eval_rst +```{eval-rst} .. autoclass:: allianceauth.theme.hooks.ThemeHook :members: __init__ :undoc-members: diff --git a/docs/installation-containerized/index.md b/docs/installation-containerized/index.md index 2b702a99..326b6162 100644 --- a/docs/installation-containerized/index.md +++ b/docs/installation-containerized/index.md @@ -4,14 +4,11 @@ This document describes how to install **Alliance Auth** using various Container If you would like to install on Bare Metal instead see :doc:`/installation/index` instead -```eval_rst -.. note:: - There are additional installation steps for activating services and apps that come with **Alliance Auth**. Please see the page for the respective service or apps in chapter :doc:`/features/index` for details. -``` +:::{note} +There are additional installation steps for activating services and apps that come with **Alliance Auth**. Please see the page for the respective service or apps in chapter :doc:`/features/index` for details. +::: -```eval_rst -.. toctree:: - :maxdepth: 1 - - docker -``` +:::{toctree} +:maxdepth: 1 +docker +:::