Skip to content

Commit 5b36abb

Browse files
committed
init push
1 parent 2ebad5e commit 5b36abb

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

docs/Flask/04_templating__jinja2_integration_.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ By default, Flask looks for template files in a folder named `templates` right n
3131

3232
```html
3333
<!-- templates/hello.html -->
34-
34+
{% raw %}
3535
<!doctype html>
3636
<html>
3737
<head>
@@ -42,6 +42,7 @@ By default, Flask looks for template files in a folder named `templates` right n
4242
<p>Welcome to our templated page.</p>
4343
</body>
4444
</html>
45+
{% endraw %}
4546
```
4647

4748
**Explanation:**
@@ -138,7 +139,7 @@ def profile():
138139

139140
```html
140141
<!-- templates/profile.html -->
141-
142+
{% raw %}
142143
<!doctype html>
143144
<html>
144145
<head><title>User Profile</title></head>
@@ -152,6 +153,7 @@ def profile():
152153
{% endif %}
153154
</body>
154155
</html>
156+
{% endraw %}
155157
```
156158

157159
**Explanation:**
@@ -184,7 +186,7 @@ def show_items():
184186

185187
```html
186188
<!-- templates/items.html -->
187-
189+
{% raw %}
188190
<!doctype html>
189191
<html>
190192
<head><title>Item List</title></head>
@@ -199,6 +201,7 @@ def show_items():
199201
</ul>
200202
</body>
201203
</html>
204+
{% endraw %}
202205
```
203206

204207
**Explanation:**
@@ -218,6 +221,7 @@ Just like we used `url_for` in Python ([Chapter 2: Routing System](02_routing_sy
218221

219222
```html
220223
<!-- templates/navigation.html -->
224+
{% raw %}
221225
<nav>
222226
<ul>
223227
<li><a href="{{ url_for('index') }}">Home</a></li>
@@ -231,6 +235,7 @@ Just like we used `url_for` in Python ([Chapter 2: Routing System](02_routing_sy
231235
{% endif %}
232236
</ul>
233237
</nav>
238+
{% endraw %}
234239
```
235240

236241
**Explanation:**

docs/_config.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Basic site settings
2-
title: Pocket Flow
3-
tagline: A 100-line LLM framework
4-
description: Minimalist LLM Framework in 100 Lines, Enabling LLMs to Program Themselves
2+
title: Turns Codebase into Easy Tutorial
53

64
# Theme settings
75
remote_theme: just-the-docs/just-the-docs
@@ -12,7 +10,7 @@ nav_sort: case_sensitive
1210
# Aux links (shown in upper right)
1311
aux_links:
1412
"View on GitHub":
15-
- "//github.com/the-pocket/PocketFlow"
13+
- "https://github.com/the-pocket/Tutorial-Codebase-Knowledge"
1614

1715
# Color scheme
1816
color_scheme: light
@@ -45,5 +43,5 @@ callouts:
4543
# The custom navigation
4644
nav:
4745
- Home: index.md # Link to your main docs index
48-
- GitHub: "https://github.com/the-pocket/PocketFlow"
46+
- GitHub: "https://github.com/The-Pocket/Tutorial-Codebase-Knowledge"
4947
- Discord: "https://discord.gg/hUHHE9Sa6T"

0 commit comments

Comments
 (0)