| Age | Commit message (Collapse) | Author |
|
This set the minimum Go version to 1.26.0.
|
|
The `-base-path` option set the URL prefix for serving HTTP request.
This allow serving the content under the prefix other than "/".
The `-shutdown-idle` option set the duration when server will stop
accepting new connections and shutting down.
This option can be helpful to reduce the resources on local environment.
|
|
This update affect the test on onGet, where request to directory that
does not end with slash will be redirected with status code 301 (Moved
Permanently) instead of 302 (Found).
|
|
The field Listener allow passing [net.Listener] instance for accepting
HTTP connection.
One of the use case is to activate the ciigo serve using systemd.socket(5).
|
|
Changes,
* all: add aria-label to the anchor when sectanchor enabled
* all: update default CSS to asciidoctor v2.0.26
* all: use separate file with go:embed for default CSS
* all: reformat README with prettier and simplify license
|
|
This update have changes on [lib/http.FSHandler] that return second
parameter, status code.
|
|
|
|
|
|
By default, the document contains ":stylesheet:" attribute, which
means using the default embedded CSS.
To disable it, unset the attribute using ":stylesheet!:".
To overwrite it, set the attribute to path of CSS file
":stylesheet: my.css".
|
|
|
|
The fieldalignment and shadow is linter from golang.org/x/tools.
This linters actually have an API that can be combined into a program,
which provided by package "pakakeh.go/lib/goanalysis".
|
|
The latest release fix parsing section that is not detected after list
items.
|
|
The [watchfs/v2] bring new enhancements that watching only single file
instead of all markup files for changes.
This minimize number of goroutine calling os.Stat on each markup
files being watched on directory.
|
|
|
|
|
|
|
|
|
|
|
|
Update on git.sr.ht/~shulhan/pakakeh.go fixes the "serve" command where
new files on the root of served directory not detected automatically.
|
|
|
|
|
|
=== New features
* all: add server option to automatically generate index HTML
If the requested path is directory and no "index.html" file exist in
that directory, ciigo server will render list of files as "index.html"
automatically.
=== Chores
* all: replace module "share" with "pakakeh.go"
The "share" module has been moved to new repository with new name at
"https://sr.ht/~shulhan/pakakeh.go".
|
|
|
|
|
|
|
|
|
|
=== Breaking changes
* Field [ConvertOptions.HtmlTemplate] become [ConvertOptions.HTMLTemplate]
* Method [Converter.SetHtmlTemplateFile] become
[Converter.SetHTMLTemplateFile]
* Method [Converter.ToHtmlFile] become [Converter.ToHTMLFile]
=== Bug fix
* asciidoc: fix custom ID on the first section not applied correctly
|
|
The latest changes on asciidoctor-go replace deprecated package
"lib/parser" with [strings.Parser].
|
|
The update on asciidoctor-go fix the custom ID on the first section
always being replaced.
|
|
Changes,
* lib/memfs: split handling deleted directory and file on DirWatcher
* lib/memfs: stop all Watcher spawn by DirWatcher
* lib/memfs: use second channel to stop goroutine in Watcher
* lib/memfs: do not return when mode changes in Node Update
* lib/memfs: remove embedding os.FileInfo and http.File
* lib/memfs: remove mocking os.Stat
* lib/memfs: refactoring, simplify DirWatcher logic
* lib/memfs: add test for DirWatcher with symlink to file
* email/dkim: set ExpiredAt to MaxInt64 if value is greater than 12 digits
* lib/json: make CodeQL pass when converting unicode point
|
|
This release bring many enhancements to "lib/memfs", a library for
caching file system in memory.
=== Enhancements
* lib/memfs: return nil in AddChild if file not exist
* lib/memfs: quote the path in the returned error
* lib/memfs: add method Child to Node
* lib/memfs: call the Init method in the embedded file
* lib/memfs: include empty directory
* lib/memfs: re-scan directory content on Node’s Update
|
|
|
|
The asciidoctor-go add new features for unordered list with '-' and some
bug fixes related to rendering list.
The share module add fix for permission error when scanning using memfs
and HTTP redirect for request to directory that does not end with slash.
While at it, set the minimum Go version to 1.19.
|
|
|
|
I use two remote repositories: GitHub and SourceHut.
GitHub support rendering README using asciidoc while SourceHut not.
This cause the repository that use README.adoc rendered as text in
SourceHut which make the repository page less readable.
Also, the pkg.go.dev now render README but only support Markdown.
Since we cannot control the SourceHut and go.dev, the only option is
to support converting Markdown in ciigo so I can write README using
Markdown and the rest of documentation using Asciidoc.
|
|
Changes on the asciidoctor-go v0.4.1,
=== Bug fixes
* all: fix empty line printed on ToHTMLBody or ToHTMLEmbedded
* all: ignore parsing block image in paragraph
=== Enhancements
* all: handle empty preamble
|
|
|
|
The latest asciidoctor-go module fix parsing list description inside
include directive.
|
|
|
|
|
|
This changes update the embedded Go file on cmd/ciigo-example and
rename field Development on MemFS Options.
|
|
|
|
This also fix the share module using "replace" instead of "require".
|
|
|
|
|
|
The latest tip fix rendering list check box text that get cut one
character in the beginning.
|
|
|
|
|
|
Changes on asciidoctor-go,
* all: fix parsing and rendering cross reference
* all: allow colon ':' and period '.' on the ID
|
|
The latest share module simplify the memfs.GoEmbed call by using
struct memfs.EmbedOptions instead of passing it as parameters.
The changes on share module affect on how EmbedOptions in this module,
where memfs.EmbedOptions is used to replace field PackageName, VarName,
and GoFileName.
|