aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-05-16 14:33:58 +0700
committerShulhan <ms@kilabit.info>2023-05-16 14:33:58 +0700
commitb0027e9487b6eb30c002c766f4f3effded48b488 (patch)
treebe8441ec5201e8fca6fa4fdd6ac63ec308a7aa8a /internal
parent15553baba4712cce1310686951f31e73885aaba2 (diff)
downloadgorankusu-b0027e9487b6eb30c002c766f4f3effded48b488.tar.xz
all: move the _doc directory under _www
This is to minimize symlinks in the repository.
Diffstat (limited to 'internal')
-rw-r--r--internal/cmd/trunks/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cmd/trunks/main.go b/internal/cmd/trunks/main.go
index 5680811..7ebf44e 100644
--- a/internal/cmd/trunks/main.go
+++ b/internal/cmd/trunks/main.go
@@ -190,14 +190,14 @@ func workerBuild(oneTime bool) {
}
// workerDocs a goroutine that watch any changes to .adoc files inside
-// "_doc" directory and convert them into HTML files.
+// "_www/doc" directory and convert them into HTML files.
func workerDocs() {
logp := "workerDocs"
mlog.Outf(`%s: started ...`, logp)
opts := &ciigo.ConvertOptions{
- Root: "_doc",
+ Root: `_www/doc`,
}
err := ciigo.Watch(opts)
if err != nil {