shithub: docs.9front.org

Download patch

ref: 7b9722e8ffc36f988022df3d65a9193dd7402936
parent: b8c95627d2d4f5222a69023faab1871d25126367
author: kvik <kvik@a-b.xyz>
date: Mon Jun 28 13:48:45 EDT 2021

more wiki than ever before

--- a/index.md
+++ b/index.md
@@ -26,11 +26,11 @@
 
 On Plan 9, run:
 
-	9fs tcp!docs.a-b.xyz!909 /n/docs
+	9fs tcp!wiki.a-b.xyz!909 /n/wiki
 
 ### HTTP
 
-Visit [docs.a-b.xyz](http://docs.a-b.xyz) with a web browser.
+Visit [wiki.a-b.xyz](http://wiki.a-b.xyz) with a web browser.
 
 Contributing
 ------------
@@ -37,15 +37,15 @@
 
 The document source repository is currently hosted and available
 for browsing
-[here](https://git.sr.ht/~kvik/docs.9front.org).
+[here](https://git.sr.ht/~kvik/wiki.9front.org).
 
 Get it locally for reading:
 
-	git/clone https://git.sr.ht/~kvik/docs.9front.org
+	git/clone https://git.sr.ht/~kvik/wiki.9front.org
 
 For reading and writing:
 
-	git/clone ssh://git@git.sr.ht/~kvik/docs.9front.org
+	git/clone ssh://git@git.sr.ht/~kvik/wiki.9front.org
 
 Everyone is invited to get write access by asking (kvik) on IRC, grid,
 or kvik@a-b.xyz.  Otherwise you may submit patches through contribution
--- a/this.md
+++ b/this.md
@@ -2,7 +2,7 @@
 ==========
 
 Other than the git content repository—at the moment hosted on
-sourcehut—the docs system runs and is hosted by 9front software
+sourcehut—the wiki system runs and is hosted by 9front software
 on a 9front machine.
 
 This page intends to document how this is done.
@@ -31,8 +31,8 @@
 
 ### Starting off
 
-	; git/clone git://src.a-b.xyz/ugh /usr/doc
-	; git/clone https://git.sr.ht/~kvik/docs.9front.org /usr/doc/data
+	; git/clone git://src.a-b.xyz/ugh /usr/wiki
+	; git/clone https://git.sr.ht/~kvik/wiki.9front.org /usr/wiki/data
 	; mkdir /usr/web
 
 ### Updates
@@ -40,7 +40,7 @@
 Checking for updates and triggering page regeneration is done by a
 custom script running once per minute through cron.
 
-	0-59 * * * * local /usr/doc/bin/update
+	0-59 * * * * local /usr/wiki/bin/update
 
 ### Serving 9p
 
@@ -50,7 +50,7 @@
 
 	#!/bin/rc
 	# Runs as 'none'.
-	exec /bin/unionfs -i /usr/doc/public
+	exec /bin/unionfs -i /usr/wiki/public
 
 ### Serving HTTP
 
@@ -59,12 +59,12 @@
 `/cfg/$sysname/service/tcp80`
 
 	#!/bin/rc
-	exec /bin/tcp80 -n /usr/doc/cfg/webns
+	exec /bin/tcp80 -n /usr/wiki/cfg/webns
 
-The namespace file `/usr/doc/cfg/` simply binds the `public/` directory
+The namespace file `/usr/wiki/cfg/` simply binds the `public/` directory
 to the web root:
 
-	bind /usr/doc/public /usr/web
+	bind /usr/wiki/public /usr/web
 
 Work-in-Progress
 ----------------