Skip to content

Commit 134269c

Browse files
committed
update docs, modules -> packages
1 parent 84c1149 commit 134269c

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

docs/content/_index.org

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#+TITLE: Zigcli
22
#+DATE: 2023-10-21T12:09:48+0800
3-
#+LASTMOD: 2025-01-01T18:00:54+0800
3+
#+LASTMOD: 2025-01-01T19:29:01+0800
44
#+TYPE: docs
55
#+author: Jiacai Liu
66

@@ -15,12 +15,10 @@
1515

1616
Official website: https://zigcli.liujiacai.net/
1717

18-
It can be imported as [[https://zigcli.liujiacai.net/modules/][Zig modules]] or used directly as [[https://zigcli.liujiacai.net/programs/][binary programs]].
18+
It can be imported as [[https://zigcli.liujiacai.net/packages/][Zig packages]] or used directly as [[https://zigcli.liujiacai.net/programs/][command line programs]].
1919

2020
* Install
21-
** Modules
22-
=zigcli= support [[https://ziglang.org/download/0.11.0/release-notes.html#Package-Management][package manager]] introduced in Zig 0.11.
23-
21+
** Packages
2422
#+begin_src bash
2523
zig fetch --save=zigcli https://github.com/jiacai2050/zigcli/archive/${COMMIT}.tar.gz
2624
#+end_src
@@ -32,17 +30,17 @@ Replace ~${COMMIT}~ with a real one, then in your =build.zig=, import the module
3230
#+begin_src zig
3331
const zigcli = b.dependency("zigcli", .{});
3432

35-
// Currently zigcli provide two modules.
33+
// Currently zigcli provide two packages.
3634
exe.root_module.addImport("simargs", zigcli.module("simargs"));
3735
exe.root_module.addImport("pretty-table", zigcli.module("pretty-table"));
3836
#+end_src
39-
** Binary
40-
Latest pre-built binaries can be downloaded on the [[https://github.com/jiacai2050/zigcli/releases][release page]], or you can build from source:
37+
** CLI Programs
38+
The latest pre-built binaries are available on the [[https://github.com/jiacai2050/zigcli/releases][release page]] or you can build it from source.
4139

4240
#+begin_src bash
4341
git clone https://github.com/jiacai2050/zigcli.git
4442
#+end_src
45-
Then build with
43+
Then build with zig 0.13.0
4644
#+begin_src bash
4745
make build
4846
#+end_src

docs/content/modules/_index.org

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

docs/content/packages/_index.org

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#+TITLE: Packages
2+
#+DATE: 2024-08-17T17:58:01+0800
3+
#+LASTMOD: 2025-01-01T19:26:04+0800
4+
#+WEIGHT: 10
5+
#+TYPE: docs
6+
7+
* Available packages
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)