missed myst conversions

This commit is contained in:
Ariel Rin
2023-12-26 21:23:37 +10:00
parent a9062c4389
commit 96cc55d174
2 changed files with 9 additions and 12 deletions

View File

@@ -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: