Skip to content

Commit 48dc251

Browse files
authored
Merge pull request #304 from veqqq/master
Change janetdocs.com to .org
2 parents ad3d4aa + dafd3cc commit 48dc251

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

content/api/gen-docs.janet

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
(def- url-repl-chars
2525
{(chr "%") "%25"
2626
(chr "?") "_q"
27-
(chr "=") "%3d"})
27+
(chr "=") "%3d"
28+
(chr "/") "%2f"})
2829

2930
(defn jdoc-escape
3031
[str]
@@ -96,7 +97,7 @@
9697
:content {:tag "code" :language (require "janet.syntax") :content (string example)}}] [])
9798
(if c-example
9899
{:tag "a" "href"
99-
(string "https://janetdocs.com/" (jdoc-escape key))
100+
(string "https://janetdocs.org/core-api/" (jdoc-escape key)) # Spork will be "https://janetdocs.org/spork/", JPM .org/jpm/ etc.
100101
:content "Community Examples"})]}))
101102

102103
(defn- all-entries

content/index.mdz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ We also support @link[https://github.com/janet-lang/janet/discussions]{GitHub Di
150150

151151
### Janet Docs
152152

153-
For help, you can also check out @link[https://janetdocs.com]{Janet Docs} for Janet documentation with user-provided examples. Feel free to contribute your own examples here to help fellow programmers.
153+
For help, you can also check out @link[https://janetdocs.org]{Janet Docs} for Janet documentation with user-provided examples. Feel free to contribute your own examples here to help fellow programmers.

0 commit comments

Comments
 (0)