Skip to content

Commit 369552b

Browse files
Fix path references in documentation
Co-Authored-By: Alek Petuskey <[email protected]>
1 parent 39fb9fd commit 369552b

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

docs/assets/overview.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,13 @@ You can add a `favicon.ico` file to the `assets/` folder to change the favicon.
121121

122122
For more modern favicon formats, you can also include:
123123

124-
```html
125-
<!-- In your head component -->
126-
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
127-
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
128-
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
124+
```python
125+
# In your head component
126+
rx.fragment(
127+
rx.link(rel="icon", type="image/png", sizes="32x32", href="/favicon-32x32.png"),
128+
rx.link(rel="icon", type="image/png", sizes="16x16", href="/favicon-16x16.png"),
129+
rx.link(rel="apple-touch-icon", sizes="180x180", href="/apple-touch-icon.png"),
130+
)
129131
```
130132

131133
## Asset Optimization

docs/assets/upload_and_download_files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def download_user_data(self):
112112
)
113113
```
114114

115-
For more details on `rx.download`, see the [reference page]({api_reference.special_events.path}#rx.download).
115+
For more details on `rx.download`, see the [reference page](/docs/events/special-events/#rx.download).
116116

117117
## Upload
118118

@@ -246,7 +246,7 @@ When using the Reflex hosting service, the uploaded files directory is not persi
246246

247247
### Advanced Upload Features
248248

249-
For more advanced upload scenarios, see the [Upload component reference]({library.forms.upload.path}) which covers:
249+
For more advanced upload scenarios, see the [Upload component reference](/docs/library/forms/upload/) which covers:
250250

251251
- Multiple file uploads
252252
- Single file uploads

docs/events/special_events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from pcweb.pages.docs import api_reference
66

77
# Special Events
88

9-
Reflex also has built-in special events can be found in the [reference]({api_reference.special_events.path}).
9+
Reflex also has built-in special events can be found in the [reference](/docs/api-reference/special-events/).
1010

1111
For example, an event handler can trigger an alert on the browser.
1212

docs/library/forms/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def form_input1():
116116
)
117117
```
118118

119-
To learn more about how to use forms in the [Form]({library.forms.form.path}) docs.
119+
To learn more about how to use forms in the [Form](/docs/library/forms/form/) docs.
120120

121121
### Setting a value without using a State var
122122

0 commit comments

Comments
 (0)