mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-18 23:05:07 +01:00
missed myst conversions
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user