Skip to content

Commit b3ddf97

Browse files
committed
The first pre-release
1 parent 2cae794 commit b3ddf97

35 files changed

+85
-766
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,4 @@ public/
9999
site/
100100
*.a
101101
docs/api
102+
static_demo/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ TEST_FLAGS := --summary all #--verbose
1515
JUNK_FILES := *.o *.obj *.dSYM *.dll *.so *.dylib *.a *.lib *.pdb
1616

1717
# Automatically find all example names
18-
EXAMPLES := $(patsubst %.zig,%,$(notdir $(wildcard examples/*.zig)))
18+
EXAMPLES := $(shell ls $(EXAMPLES_DIR)/*.zig | sed 's|$(EXAMPLES_DIR)/||; s|\.zig$$||' | sort -V)
1919
EXAMPLE ?= all
2020

2121
SHELL := /usr/bin/env bash
@@ -43,7 +43,7 @@ build: ## Build project (Mode=$(BUILD_TYPE))
4343

4444
rebuild: clean build ## clean and build
4545

46-
run: ## Run an example (e.g. 'make run EXAMPLE=trie' or 'make run' for all)
46+
run: ## Run an example (like 'make run EXAMPLE=trie' or 'make run' for all)
4747
@if [ "$(EXAMPLE)" = "all" ]; then \
4848
echo "--> Running all examples..."; \
4949
for ex in $(EXAMPLES); do \

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
[![Tests](https://img.shields.io/github/actions/workflow/status/CogitatorTech/helium/tests.yml?label=tests&style=flat&labelColor=282c34&logo=github)](https://github.com/CogitatorTech/helium/actions/workflows/tests.yml)
1010
[![CodeFactor](https://img.shields.io/codefactor/grade/github/CogitatorTech/helium?label=code%20quality&style=flat&labelColor=282c34&logo=codefactor)](https://www.codefactor.io/repository/github/CogitatorTech/helium)
1111
[![Zig Version](https://img.shields.io/badge/Zig-0.15.1-orange?logo=zig&labelColor=282c34)](https://ziglang.org/download/)
12-
[![Docs](https://img.shields.io/github/v/tag/CogitatorTech/helium?label=docs&color=blue&style=flat&labelColor=282c34&logo=read-the-docs)](https://habedi.github.io/helium/)
13-
[![Examples](https://img.shields.io/github/v/tag/CogitatorTech/helium?label=examples&color=green&style=flat&labelColor=282c34&logo=zig)](https://github.com/CogitatorTech/helium/tree/main/examples)
12+
[![Examples](https://img.shields.io/badge/examples-view-green?style=flat&labelColor=282c34&logo=zig)](https://github.com/CogitatorTech/helium/tree/main/examples)
13+
[![Docs](https://img.shields.io/badge/docs-read-blue?style=flat&labelColor=282c34&logo=read-the-docs)](https://github.com/CogitatorTech/helium/tree/main/docs)
1414
[![Release](https://img.shields.io/github/release/CogitatorTech/helium.svg?label=release&style=flat&labelColor=282c34&logo=github)](https://github.com/CogitatorTech/helium/releases/latest)
1515
[![License](https://img.shields.io/badge/license-MIT-007ec6?label=license&style=flat&labelColor=282c34&logo=open-source-initiative)](https://github.com/CogitatorTech/helium/blob/main/LICENSE)
1616

@@ -21,13 +21,13 @@ A micro web framework for Zig
2121
---
2222

2323
Helium is a small, configurable web framework for the Zig programming language.
24-
It aims to provide the essential building blocks needed for creating fast and efficient web applications and services in
24+
It aims to provide the essential building blocks needed for creating fast web applications and services in
2525
Zig without getting in the way of your application's logic.
2626

2727
Helium follows a micro-framework design philosophy with a small core feature set that can be extended via optional
2828
middleware and utilities.
29-
It aims to be lightweight and easy to use, while still providing the necessary building blocks for building complex web
30-
applications by allowing users to compose their applications from reusable components.
29+
It aims to be lightweight and easy to use but still be able to provide the necessary building blocks for building
30+
complex web applications by allowing users to compose their applications from reusable components.
3131

3232
### Features
3333

@@ -56,17 +56,11 @@ To be added.
5656

5757
### Documentation
5858

59-
You can find the full API documentation for the latest release of Helium [here](https://habedi.github.io/helium/).
60-
61-
Alternatively, you can use the `make docs` command to generate the API documentation for the current version of Helium
62-
from the source code.
63-
This will generate HTML documentation in the `docs/api` directory, which you can serve locally with `make serve-docs`
64-
and view in your web browser at [http://localhost:8000](http://localhost:8000).
59+
Check out the [docs](docs) directory for Helium documentation, including the API reference.
6560

6661
### Examples
6762

68-
Check out the [examples](examples/) directory for examples of how Helium can be used to build a variety of web
69-
applications and services.
63+
Check out the [examples](examples) directory for example usages for various Helium features.
7064

7165
---
7266

ROADMAP.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ It outlines features to be implemented and their current status.
66
> [!IMPORTANT]
77
> This roadmap is a work in progress and is subject to change.
88
9-
---
10-
119
### Features
1210

1311
The following features are currently being worked on or planned for future releases.

build.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const std = @import("std");
22
const fs = std.fs;
3-
43
pub fn build(b: *std.Build) void {
54
const target = b.standardTargetOptions(.{});
65
const optimize = b.standardOptimizeOption(.{});

docs/ERROR_HANDLING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Centralized Error Handling in Helium 🛡️
1+
## Centralized Error Handling in Helium
22

33
### Overview
44

@@ -264,7 +264,7 @@ try doSomething(); // Errors propagate to error handler
264264
}
265265
```
266266

267-
### Future Enhancements
267+
### Future Improvements
268268

269269
Potential future improvements to the error handling system:
270270

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Helium Documentation
2+
3+
To be added.

docs/assets/static_demo/data.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/assets/static_demo/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/assets/static_demo/logo.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)