Jean Louis:
Thanks for the feedback.
The bug where trailing slashes were not handled correctly has been
fixed. Please *reinstall*. If the issue persists, add the -v flag and send
me the log.
In my Linux the output is something like:
[xxxx ~/test]$ windancer -i note/ -o site/
2026-04-02T04:20:06.727580Z INFO windancer::export::ssg: prepare output
directory ...
2026-04-02T04:20:06.727720Z INFO windancer::export::ssg: backup
/home/xxx/test/site -> /home/xxx/test/site.backup_20260402T042006Z
2026-04-02T04:20:06.727916Z INFO windancer::export::ssg: compile ...
2026-04-02T04:20:06.728356Z INFO windancer::compiler::parser: input_file:
/home/xxx/test/note/life/music.org
2026-04-02T04:20:06.742224Z INFO windancer::compiler::parser: input_file:
/home/xxx/test/note/life/life.org
2026-04-02T04:20:06.755746Z INFO windancer::compiler::parser: input_file:
/home/xxx/test/note/life/running.org
2026-04-02T04:20:06.769609Z INFO windancer::compiler::parser: input_file:
/home/xxx/test/note/life/todo.org
2026-04-02T04:20:06.783630Z INFO windancer::compiler::parser: input_file:
/home/xxx/test/note/note.org
2026-04-02T04:20:06.803186Z INFO windancer::compiler::parser: input_file:
/home/xxx/test/note/editor/emacs.org
2026-04-02T04:20:06.968975Z INFO windancer::compiler::parser: input_file:
/home/xxx/test/note/editor/vi.org
2026-04-02T04:20:06.978039Z INFO windancer::export::ssg: build site ...
2026-04-02T04:20:06.978062Z INFO windancer::export::ssg::site: build page
tree ...
2026-04-02T04:20:06.978863Z WARN windancer::export::ssg::site: 0 index pages
found in section Some("editor") (should be 1, maybe 0)
2026-04-02T04:20:06.978898Z INFO windancer::export::ssg::site: build
tag-index: tag -> page_id ...
2026-04-02T04:20:06.978910Z INFO windancer::export::ssg::site: process
static assets ...
2026-04-02T04:20:06.979784Z INFO windancer::export::ssg: render site ...
2026-04-02T04:20:06.986324Z INFO windancer::export::ssg: generate css ...
2026-04-02T04:20:07.001267Z INFO windancer::export::ssg: done, please visit
`/home/xxx/test/site` to check the html files
2026-04-02T04:20:07.001288Z INFO windancer::export::ssg: You may start http
server, e.g, using python or static-web-server
- python -m http.server -d /home/xxx/test/site 8889
- static-web-server -d /home/xxx/test/site -p 8889
Then visit http://127.0.0.1:8889
[xxxx ~/test]$ tree site
site
├── default.css
├── editor
│ ├── emacs.html
│ └── vi.html
├── encre.css
├── index.html
└── life
├── index.html
├── music.html
├── running.html
└── todo.html
Jean Louis <[email protected]> writes:
> On 2026-04-01 18:06, Glen wrote:
>> Running `windancer -i examples/blog/note/ -o /tmp/blog.site`, produces
>> a complete site with corresponding HTML files, automatically handling
>> index pages for folders that contain an org file with the same name as
>> the parent directory.
>
> I have tried it this way:
>
> windancer -i test/ -o site/
> 2026-04-01T18:52:28.670747Z INFO windancer::export::ssg: prepare
> output directory ...
> 2026-04-01T18:52:28.670771Z INFO windancer::export::ssg: backup
> site/ -> site/.backup_20260401T185228Z
>
> I have no idea where is "backup site/" and where is "site/"
>
> I had directory site/
>
> The instruction is simply not enough. I would like to see some nice
> templates for Org output.
>
> Actually a quick filter to convert Org to beautiful HTML would be
> nice, even if not with all specification.
The current interface is a bit ugly and will be continuously improved.
The website navigation is shown on the left, and the structure of the
current document is shown on the right. Links are in the bottom.
You can see screentshot from
https://github.com/cnglen/windancer/blob/main/docs/, two png files have
been uploaded, one is from large screen, the other one is from small screen.
--
Glen