Skip to content

Commit db51edb

Browse files
authored
Merge pull request #230 from CFiggers/master
2 parents 58b3a5e + 90d9ba2 commit db51edb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1973
-832
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,10 @@ should give the output:
6363
array_47new.janet
6464
```
6565

66-
If such a file already exists, you can simply append your example code
67-
to the existing file.
68-
69-
When building the site, the new examples will be included in the
70-
generated documentation. Make sure that your example has correct janet
71-
syntax, as syntax errors will cause the entire site to not build. If
72-
the example has valid syntax (has a 0 exit code when loaded with
73-
`janet -k example/my-fn.janet`), there may be a bug in the mendoza
74-
janet syntax highlighter in which case please open a bug in mendoza.
66+
If such a file already exists, you can simply append your example code the existing file.
7567

68+
When building the site, the new examples will be included in the generated documentation. Make
69+
sure that your example has correct janet syntax, as syntax errors will cause the entire site
70+
to not build. If the example has valid syntax (has a 0 exit code when loaded with
71+
`janet -k example/my-fn.janet`), there may be a bug in the mendoza janet syntax
72+
highlighter and you open a bug in mendoza.

content/api/array.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "Array Module"
44
:nav-title "array"

content/api/buffer.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "Buffer Module"
44
:nav-title "buffer"

content/api/bundle.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "Bundle Module"
44
:nav-title "bundle"

content/api/debug.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "Debug Module"
44
:nav-title "debug"

content/api/ev.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "Event Module"
44
:nav-title "ev"

content/api/ffi.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "FFI Module"
44
:nav-title "ffi"

content/api/fiber.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "Fiber Module"
44
:nav-title "fiber"

content/api/file.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(import ./gen-docs :as gen-docs)
1+
(import ../gen-docs :as gen-docs)
22

33
{:title "File Module"
44
:nav-title "file"

content/api/filewatch.mdz

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(import ../gen-docs :as gen-docs)
2+
3+
{:title "Filewatch Module"
4+
:nav-title "filewatch"
5+
:template "docpage.html"}
6+
---
7+
8+
## Index
9+
10+
@gen-docs/gen-prefix[filewatch/]

0 commit comments

Comments
 (0)