Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nitro CLI

A static site generator that lets you build websites using Python and [nitro-ui](https://github.com/nitro-sh/nitro-ui).
A static site generator that lets you build websites using Python and [nitro-ui](https://github.com/nitrosh/nitro-ui).

## Features

Expand Down Expand Up @@ -117,10 +117,11 @@ config = Config(

## Ecosystem

- **[nitro-ui](https://github.com/nitro-sh/nitro-ui)** - Programmatic HTML generation
- **[nitro-datastore](https://github.com/nitro-sh/nitro-datastore)** - Data loading with dot notation access
- **[nitro-dispatch](https://github.com/nitro-sh/nitro-dispatch)** - Plugin system
- **[nitro-validate](https://github.com/nitro-sh/nitro-validate)** - Data validation
- **[nitro-ui](https://github.com/nitrosh/nitro-ui)** - Build HTML with Python, not strings
- **[nitro-datastore](https://github.com/nitrosh/nitro-datastore)** - Schema-free JSON data store with dot notation access
- **[nitro-dispatch](https://github.com/nitrosh/nitro-dispatch)** - Framework-agnostic plugin system
- **[nitro-image](https://github.com/nitrosh/nitro-image)** - Fast, friendly image processing for the web
- **[nitro-validate](https://github.com/nitrosh/nitro-validate)** - Dependency-free data validation

## License

Expand Down
38 changes: 19 additions & 19 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,24 +316,24 @@ from nitro_ui import (

Some element names differ from their HTML tag names:

| nitro-ui Class | HTML Tag |
|---------------------|--------------|
| `Paragraph` | `<p>` |
| `Href` | `<a>` |
| `Image` | `<img>` |
| `HorizontalRule` | `<hr>` |
| `UnorderedList` | `<ul>` |
| `OrderedList` | `<ol>` |
| `ListItem` | `<li>` |
| `DescriptionList` | `<dl>` |
| `DescriptionTerm` | `<dt>` |
| `DescriptionDetails`| `<dd>` |
| `TableHeader` | `<thead>` |
| `TableBody` | `<tbody>` |
| `TableFooter` | `<tfoot>` |
| `TableRow` | `<tr>` |
| `TableHeaderCell` | `<th>` |
| `TableDataCell` | `<td>` |
| nitro-ui Class | HTML Tag |
|----------------------|-----------|
| `Paragraph` | `<p>` |
| `Href` | `<a>` |
| `Image` | `<img>` |
| `HorizontalRule` | `<hr>` |
| `UnorderedList` | `<ul>` |
| `OrderedList` | `<ol>` |
| `ListItem` | `<li>` |
| `DescriptionList` | `<dl>` |
| `DescriptionTerm` | `<dt>` |
| `DescriptionDetails` | `<dd>` |
| `TableHeader` | `<thead>` |
| `TableBody` | `<tbody>` |
| `TableFooter` | `<tfoot>` |
| `TableRow` | `<tr>` |
| `TableHeaderCell` | `<th>` |
| `TableDataCell` | `<td>` |

### Attribute Naming

Expand Down Expand Up @@ -1077,4 +1077,4 @@ All of these are installed automatically with `pip install nitro-cli`:

## Version

Current: nitro-cli 1.0.8
Current: nitro-cli 1.0.10
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -54,6 +54,7 @@ dependencies = [
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"html5lib>=1.1",
"black>=24.0.0",
"flake8>=7.0.0",
Expand All @@ -73,10 +74,9 @@ dotenv = [
nitro = "nitro.cli:main"

[project.urls]
Homepage = "https://github.com/nitro-sh/nitro-cli"
Documentation = "https://nitro-cli.readthedocs.io"
Repository = "https://github.com/nitro-sh/nitro-cli"
Issues = "https://github.com/nitro-sh/nitro-cli/issues"
Homepage = "https://github.com/nitrosh/nitro-cli"
Repository = "https://github.com/nitrosh/nitro-cli"
Issues = "https://github.com/nitrosh/nitro-cli/issues"

[tool.setuptools]
package-dir = {"" = "src"}
Expand Down
1 change: 1 addition & 0 deletions src/nitro/templates/default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ Nitro isn’t just one library - it's a growing toolkit of focused building bloc
- **[nitro-ui](https://github.com/nitrosh/nitro-ui)** - Generate clean, reusable HTML with a lightweight, developer-friendly API
- **[nitro-datastore](https://github.com/nitrosh/nitro-datastore)** - Load and access data effortlessly using simple dot-notation paths
- **[nitro-dispatch](https://github.com/nitrosh/nitro-dispatch)** - A flexible plugin system to extend features without touching core code
- **[nitro-image](https://github.com/nitrosh/nitro-image)** - Responsive image optimization with WebP/AVIF conversion
- **[nitro-validate](https://github.com/nitrosh/nitro-validate)** - Fast, reliable data validation to keep your inputs and payloads rock-solid
Loading
Loading