aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-04-07 04:04:16 +0700
committerShulhan <ms@kilabit.info>2021-04-07 04:04:16 +0700
commitee5b8f7bf44c840ac3c1799e9d64a1aba505d8b5 (patch)
treefa0635b657b42828ed6d1262983c7984950d411a
parenta91a9f7d53391ec4cdd9602ebb8c7762b0150eb5 (diff)
downloadciigo-ee5b8f7bf44c840ac3c1799e9d64a1aba505d8b5.tar.xz
all: replace any mention of asciidoc with markup
-rw-r--r--ciigo.go8
-rw-r--r--convert_options.go2
-rw-r--r--embedded_css.go2
-rw-r--r--watcher.go6
4 files changed, 9 insertions, 9 deletions
diff --git a/ciigo.go b/ciigo.go
index d345658..ae9d9c2 100644
--- a/ciigo.go
+++ b/ciigo.go
@@ -4,7 +4,7 @@
//
// Package ciigo is a program to write static web server with embedded files
-// using asciidoc markup languages.
+// using the asciidoc markup languages.
//
// For more information see the README file at the page repository
// https://sr.ht/~shulhan/ciigo.
@@ -167,12 +167,12 @@ func Serve(opts *ServeOptions) (err error) {
}
//
-// Watch any changes on asciidoc files on directory Root recursively and
+// Watch any changes on markup files on directory Root recursively and
// changes on the HTML template file.
-// If there is new or modified asciidoc files it will convert them into HTML
+// If there is new or modified markup files it will convert them into HTML
// files using HTML template automatically.
//
-// If the HTML template file modified, it will re-convert all asciidoc files.
+// If the HTML template file modified, it will re-convert all markup files.
// If the HTML template file deleted, it will replace them with internal,
// default HTML template.
//
diff --git a/convert_options.go b/convert_options.go
index 9609299..1fd6c4b 100644
--- a/convert_options.go
+++ b/convert_options.go
@@ -27,7 +27,7 @@ type ConvertOptions struct {
// being scanned.
Exclude string
- // HtmlTemplate the HTML template to be used when converting asciidoc
+ // HtmlTemplate the HTML template to be used when converting markup
// file into HTML.
// If empty it will default to use embedded HTML template.
// See template_index_html.go for template format.
diff --git a/embedded_css.go b/embedded_css.go
index 35874fb..2f24e96 100644
--- a/embedded_css.go
+++ b/embedded_css.go
@@ -192,7 +192,7 @@ dd {
margin: 2.5rem 0;
}
-/** Custom classes for asciidoc */
+/** Custom classes */
#toctitle {
display: none;
}
diff --git a/watcher.go b/watcher.go
index 71618e8..2d064f0 100644
--- a/watcher.go
+++ b/watcher.go
@@ -17,8 +17,8 @@ import (
)
//
-// watcher watch for changes on all asciidoc file and convert them
-// automatically.
+// watcher watch for changes on all markup files and convert them
+// automatically to HTML.
//
type watcher struct {
dir string
@@ -30,7 +30,7 @@ type watcher struct {
//
// newWatcher create a watcher that monitor every files changes in directory
-// "dir" for new, modified, and deleted asciidoc files and HTML template file.
+// "dir" for new, modified, and deleted markup files and HTML template file.
//
// The watcher depends on htmlGenerator to convert the markup to HTML using
// the HTML template in htmlGenerator.