This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b68afc
commit 7993cd0
Showing
19 changed files
with
185 additions
and
748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
What is this ? | ||
============== | ||
|
||
Alabaster Hotwire is a fork of [Alabaster](http://alabaster.readthedocs.io), the default Sphinx theme, | ||
quickly modified (hacked ?) to follow the same style as [Hotwire.dev](https://hotwire.dev). | ||
|
||
How to use it for Django Hotwire projects ? | ||
=========================================== | ||
|
||
Change the theme in the `conf.py` file | ||
```python | ||
html_theme = "alabaster_hotwire" | ||
``` | ||
|
||
Then, add this variable to populate the top bar with the following: | ||
```python | ||
html_context = { | ||
'topbar' : [ | ||
{"url": "https://turbo-django.readthedocs.io/", "name": "Turbo Django", "active": True}, | ||
{"url": "https://django-turbo-response.readthedocs.io/", "name": "Django Turbo Response"}, | ||
{"name": "Stimulus Django"}, | ||
] | ||
} | ||
``` | ||
|
||
We should try to keep the same like on every documentation website we have so users won't be surprised. | ||
Just change `active` to `True` to match the current repo. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.