init push

This commit is contained in:
zachary62
2025-04-04 13:08:34 -04:00
parent 2ebad5e5f2
commit 5b36abb7ab
2 changed files with 11 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ By default, Flask looks for template files in a folder named `templates` right n
```html ```html
<!-- templates/hello.html --> <!-- templates/hello.html -->
{% raw %}
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
@@ -42,6 +42,7 @@ By default, Flask looks for template files in a folder named `templates` right n
<p>Welcome to our templated page.</p> <p>Welcome to our templated page.</p>
</body> </body>
</html> </html>
{% endraw %}
``` ```
**Explanation:** **Explanation:**
@@ -138,7 +139,7 @@ def profile():
```html ```html
<!-- templates/profile.html --> <!-- templates/profile.html -->
{% raw %}
<!doctype html> <!doctype html>
<html> <html>
<head><title>User Profile</title></head> <head><title>User Profile</title></head>
@@ -152,6 +153,7 @@ def profile():
{% endif %} {% endif %}
</body> </body>
</html> </html>
{% endraw %}
``` ```
**Explanation:** **Explanation:**
@@ -184,7 +186,7 @@ def show_items():
```html ```html
<!-- templates/items.html --> <!-- templates/items.html -->
{% raw %}
<!doctype html> <!doctype html>
<html> <html>
<head><title>Item List</title></head> <head><title>Item List</title></head>
@@ -199,6 +201,7 @@ def show_items():
</ul> </ul>
</body> </body>
</html> </html>
{% endraw %}
``` ```
**Explanation:** **Explanation:**
@@ -218,6 +221,7 @@ Just like we used `url_for` in Python ([Chapter 2: Routing System](02_routing_sy
```html ```html
<!-- templates/navigation.html --> <!-- templates/navigation.html -->
{% raw %}
<nav> <nav>
<ul> <ul>
<li><a href="{{ url_for('index') }}">Home</a></li> <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
{% endif %} {% endif %}
</ul> </ul>
</nav> </nav>
{% endraw %}
``` ```
**Explanation:** **Explanation:**

View File

@@ -1,7 +1,5 @@
# Basic site settings # Basic site settings
title: Pocket Flow title: Turns Codebase into Easy Tutorial
tagline: A 100-line LLM framework
description: Minimalist LLM Framework in 100 Lines, Enabling LLMs to Program Themselves
# Theme settings # Theme settings
remote_theme: just-the-docs/just-the-docs remote_theme: just-the-docs/just-the-docs
@@ -12,7 +10,7 @@ nav_sort: case_sensitive
# Aux links (shown in upper right) # Aux links (shown in upper right)
aux_links: aux_links:
"View on GitHub": "View on GitHub":
- "//github.com/the-pocket/PocketFlow" - "https://github.com/the-pocket/Tutorial-Codebase-Knowledge"
# Color scheme # Color scheme
color_scheme: light color_scheme: light
@@ -45,5 +43,5 @@ callouts:
# The custom navigation # The custom navigation
nav: nav:
- Home: index.md # Link to your main docs index - Home: index.md # Link to your main docs index
- GitHub: "https://github.com/the-pocket/PocketFlow" - GitHub: "https://github.com/The-Pocket/Tutorial-Codebase-Knowledge"
- Discord: "https://discord.gg/hUHHE9Sa6T" - Discord: "https://discord.gg/hUHHE9Sa6T"