aboutsummaryrefslogtreecommitdiff
path: root/testdata/watcher_test.txt
AgeCommit message (Collapse)Author
2026-02-02all: allow combination of default and custom stylesheetShulhan
To combine default stylesheet with custom CSS, set the value to "default" and the file name of custom CSS, separated by comma. This is the recommended way to use custom stylesheet since it can be set only on specific pages. ---- // In asciidoctor: :stylesheet: default, custom.css // In markdown: stylesheet: default, custom.css ---- To disable default stylesheet and only using custom CSS, set the value only to the file name of custom CSS. Another way to use custom stylesheet is by creating your own template and pass it to `serve` or `convert` command. This method makes the stylesheet applied to all pages.
2026-01-24all: conform with Lighthouse recommendationsShulhan
The foreground color changes to conform with color-contrast ratio threshold, with score AAA. [1] Add ARIA role to each section of pages: banner for topbar, main for page, and contentinfo for footer. This is to make the webpage more robust and functional no matter what screen reader technology is used. [2] For touch devices, increase the line height on Table of Contents. This is to help users who may have difficulty in confidently targeting or operating small controls. [3] [1]: https://dequeuniversity.com/rules/axe/4.11/color-contrast [2]: https://dequeuniversity.com/rules/axe/4.11/landmark-one-main [3]: https://dequeuniversity.com/rules/axe/4.11/target-size
2026-01-24_static: simplify the topbar sectionShulhan
Instead of splitting the topbar into top-heading and menu, breaking it down by class item.
2026-01-24all: embed CSS and index HTML template using memfsShulhan
Previously, with direct embed, every time we change the CSS or index template, we need to restart the "ciigo serve" command. Using memfs make us easy to update and see the changes directly, without restarting the server.
2025-04-18go.mod: update asciidoctor-go module to fix default embedded CSSShulhan
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".
2025-04-18testdata: disable generating HTML meta "generator"Shulhan
The "generator" meta will changes when the asciidoctor-go release new version. This causes unnecessary chores on test data that needs to be updated on every new releases.
2025-04-18go.mod: update all dependenciesShulhan
2025-02-01go.mod: update asciidoctor-goShulhan
The latest release fix parsing section that is not detected after list items.
2024-12-08go.mod: update all dependenciesShulhan
2024-09-07go.mod: update all dependenciesShulhan
2024-04-04Release ciigo v0.12.0 (2024-04-04)v0.12.0Shulhan
=== 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".
2023-12-14Release ciigo v0.11.0 (2023-12-14)v0.11.0Shulhan
=== 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
2023-07-01all: fix test due to update on asciidoctor-goShulhan
2023-05-14all: rewrite watcher tests using lib/test.DataShulhan
Instead of using another template, use the embedded template when generating HTML. In this way we can see how the generated HTML looks like.
2023-05-14all: bring back support for MarkdownShulhan
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.