Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Sep 22, 2024
1 parent cbf016f commit 049e12b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
temp/
static/
site/

.tox/
dist/
Expand Down
4 changes: 2 additions & 2 deletions docs/django.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ template = html(

## Stylesheets

Define your stylesheet using [`CSSObject`](/css/#cssobject) and use [`Static Context`](/css/#static-context) to include the stylesheets in your views. First let's define `templates/styles.py`
Define your stylesheet using [`CSSObject`](/ph7/css/#cssobject) and use [`Static Context`](/ph7/css/#static-context) to include the stylesheets in your views. First let's define `templates/styles.py`

<!-- {"type": "html", "file": "examples/django_app/static_files/templates/styles.py", "input_only": true} -->
```python
Expand Down Expand Up @@ -212,7 +212,7 @@ And this is what the rendered stylesheet looks like
## Scripts

Write your scripts using the [`ph7.js`](/js) APIs.
Write your scripts using the [`ph7.js`](/ph7/js) APIs.

<!-- {"type": "html", "file": "examples/django_app/javascript/templates/script.py", "input_only": true} -->
```python
Expand Down
4 changes: 2 additions & 2 deletions docs/flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _dogs():

## Stylesheets

Define your stylesheet using [`CSSObject`](/css/#cssobject) and use [`Static Context`](/css/#static-context) to include the stylesheets in your views. First let's define `templates/styles.py`
Define your stylesheet using [`CSSObject`](/ph7/css/#cssobject) and use [`Static Context`](/ph7/css/#static-context) to include the stylesheets in your views. First let's define `templates/styles.py`

<!-- {"type": "html", "file": "examples/flask_app/templates/styles.py", "input_only": true} -->
```python
Expand Down Expand Up @@ -155,7 +155,7 @@ And this is what the rendered stylesheet looks like
## Scripts

Write your scripts using the [`ph7.js`](/js) APIs.
Write your scripts using the [`ph7.js`](/ph7/js) APIs.

<!-- {"type": "html", "file": "examples/flask_app/templates/script.py", "input_only": true} -->
```python
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ async function fetchDog() {
## Next Steps

* [Writing HTML](/html)
* [Writing CSS](/css)
* [Writing JS](/js)
* [Django Integration](/django)
* [Writing CSS](/ph7/css)
* [Writing JS](/ph7/js)
* [Django Integration](/ph7/django)

0 comments on commit 049e12b

Please sign in to comment.