Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 2787159

Browse files
committed
Update classifiers.
1 parent 5fc0a08 commit 2787159

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ button = html(t'<button class="{classes}">Click me</button>')
107107
# <button class="btn btn-primary active">Click me</button>
108108
```
109109

110-
See the [`classnames()`](./html_tstring/classnames_test.py) helper function for more information on how class names are combined.
110+
See the [`classnames()`](https://github.com/t-strings/html-tstring/blob/main/html_tstring/classnames_test.py) helper function for more information on how class names are combined.
111111

112112
#### The `style` Attribute
113113

@@ -252,8 +252,6 @@ page = html(t"<div>{content}</div>")
252252

253253
The result is the same either way.
254254

255-
### Advanced Features
256-
257255
#### Component Functions
258256

259257
You can create reusable component functions that generate templates with dynamic content and attributes. Use these like custom HTML elements in your templates.
@@ -287,12 +285,26 @@ result = html(t'<{Link} href="https://example.com" text="Example" target="_blank
287285
# <a href="https://example.com" target="_blank">Example</a>
288286
```
289287

290-
In addition to returning a `Template` directly, component functions may also return any `Node` type found in [`html_tstring.nodes`](./html_tstring/nodes.py). This allows you to build more complex components that manipulate the HTML structure programmatically.
288+
In addition to returning a `Template` directly, component functions may also return any `Node` type found in [`html_tstring.nodes`](https://github.com/t-strings/html-tstring/blob/main/html_tstring/nodes.py). This allows you to build more complex components that manipulate the HTML structure programmatically.
289+
290+
#### SVG Support
291+
292+
TODO: say more about SVG support
291293

292294
#### Context
293295

294296
TODO: implement context feature
295297

298+
### The `html_tstring` Module
299+
296300
#### Working with `Node` Objects
297301

298302
TODO: say more about working with them directly
303+
304+
#### The `classnames()` Helper
305+
306+
TODO: say more about it
307+
308+
#### Utilities
309+
310+
TODO: say more about them

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,24 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "html-tstring"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "A 🤘 rockin' t-string HTML templating system for Python 3.14."
99
readme = "README.md"
1010
requires-python = ">=3.14"
1111
dependencies = ["markupsafe>=3.0.2"]
1212
authors = [{ name = "Dave Peck", email = "davepeck@davepeck.org" }]
1313
license = { text = "MIT" }
1414
classifiers = [
15+
"Development Status :: 2 - Pre-Alpha",
16+
"Environment :: Web Environment",
17+
"Intended Audience :: Developers",
1518
"License :: OSI Approved :: MIT License",
19+
"Operating System :: OS Independent",
1620
"Programming Language :: Python :: 3 :: Only",
1721
"Programming Language :: Python :: 3.14",
22+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
23+
"Topic :: Text Processing :: Markup :: HTML",
24+
"Typing :: Typed",
1825
]
1926

2027
[project.urls]

0 commit comments

Comments
 (0)