Skip to content

Commit 9437a28

Browse files
committed
add orga-build example
1 parent a180195 commit 9437a28

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

examples/build/index.org

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#+title: Build with Orga
2+
3+
* Hi
4+
5+
You can build a static website with *just* org files.
6+
7+
Here's [[file:more.org][another page]].
8+
9+
#+begin_src sh
10+
orga-build
11+
#+end_src

examples/build/more.org

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#+title: Another Page
2+
3+
This is another page.

examples/build/package.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "@orgajs/example-build",
3+
"private": true,
4+
"type": "module",
5+
"scripts": {
6+
"dev": "orga-build dev",
7+
"build": "orga-build"
8+
},
9+
"devDependencies": {
10+
"orga-build": "workspace:^"
11+
}
12+
}

0 commit comments

Comments
 (0)