Skip to content

Commit

Permalink
Added docs link to note on Tailwind configuration. (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon authored Jan 4, 2024
1 parent 1dfc341 commit 4422619
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
9 changes: 9 additions & 0 deletions docs/getting_started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ your project::

CRISPY_TEMPLATE_PACK = "tailwind"

If you use `Tailwind CLI <https://tailwindcss.com/docs/installation>`_, you have to provide the path to your
templates. Since this package contains templates which are within your Pythons `site-packages`, it's hard to tell
Tailwind where these templates live.

Thanks to Carlton Gibson's blog, you can implement (aka copy & paste) a Django management command and the corresponding
Tailwind configuration:

https://noumenal.es/notes/tailwind/django-integration/

Usage
=====

Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sphinx-rtd-theme
docutils<0.21,>=0.18.1

0 comments on commit 4422619

Please sign in to comment.