diff options
| author | Shulhan <ms@kilabit.info> | 2021-04-07 04:04:16 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-04-07 04:04:16 +0700 |
| commit | ee5b8f7bf44c840ac3c1799e9d64a1aba505d8b5 (patch) | |
| tree | fa0635b657b42828ed6d1262983c7984950d411a | |
| parent | a91a9f7d53391ec4cdd9602ebb8c7762b0150eb5 (diff) | |
| download | ciigo-ee5b8f7bf44c840ac3c1799e9d64a1aba505d8b5.tar.xz | |
all: replace any mention of asciidoc with markup
| -rw-r--r-- | ciigo.go | 8 | ||||
| -rw-r--r-- | convert_options.go | 2 | ||||
| -rw-r--r-- | embedded_css.go | 2 | ||||
| -rw-r--r-- | watcher.go | 6 |
4 files changed, 9 insertions, 9 deletions
@@ -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; } @@ -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. |
