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
<!-- templates/hello.html -->
{% raw %}
<!doctype html>
<html>
<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>
</body>
</html>
{% endraw %}
```
**Explanation:**
@@ -138,7 +139,7 @@ def profile():
```html
<!-- templates/profile.html -->
{% raw %}
<!doctype html>
<html>
<head><title>User Profile</title></head>
@@ -152,6 +153,7 @@ def profile():
{% endif %}
</body>
</html>
{% endraw %}
```
**Explanation:**
@@ -184,7 +186,7 @@ def show_items():
```html
<!-- templates/items.html -->
{% raw %}
<!doctype html>
<html>
<head><title>Item List</title></head>
@@ -199,6 +201,7 @@ def show_items():
</ul>
</body>
</html>
{% endraw %}
```
**Explanation:**
@@ -218,6 +221,7 @@ Just like we used `url_for` in Python ([Chapter 2: Routing System](02_routing_sy
```html
<!-- templates/navigation.html -->
{% raw %}
<nav>
<ul>
<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 %}
</ul>
</nav>
{% endraw %}
```
**Explanation:**

View File

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