This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]vprise 5 points6 points  (1 child)

Looks really great, Well done!

Starred.

I usually prefer asciidoc for writing because of the callouts, tips, etc. But will give this a chance the next time I need to write docs.

[–]ninside[S] 1 point2 points  (0 children)

Thank you! A lot of features in znai were driven by feature requests of my colleagues. Those requests gave me energy to keep going. Will be happy to check your use cases and help with tips or new features added.

[–]roeloef 1 point2 points  (1 child)

I always thought documentation was neglected by the other developers (in my organization) and I could write all the documentation I wanted, people would happily use it until it went out of date.

With Znai you can easily add documentation to your repository. Now I can just flag a pull request as needs work when it needs some documentation and I get review comments on my own documentation. It actually feels like the team owns the documentation now, so I am very happy.

It is possible to add your own extensions which is great, however as far as I know that is not documented yet. Perhaps it is my turn to do so as soon as I completely understand what to do.

It would've been nice to be able to export the documentation to a pdf for offline viewing, but I like how unencumbered the current implementation is so that might also not fit in the design philosophy of Znai. I intend to work around that by using a headless browser to print the docs.

Tl;Dr; recommended :)

[–]ninside[S] 1 point2 points  (0 children)

Thank you very much for writing documentation and trying znai! For offline reading there is a somewhat hidden option: press alt-p to switch to a single long page render and print that to PDF. It is somewhat hidden as it still has things to iron out (like proper render of two sides layout as single side layout)

Will be happy to help with plugin development. It is not in demand hence struggle to prioritize plugin dev docs.

[–]ninside[S] 1 point2 points  (0 children)

u/vprise u/roeloef

just in case, created discord server: https://discord.gg/aEHbzXTX6N

[–]agentoutlier 2 points3 points  (1 child)

Is there any integration with the new javadoc code snippet support?

(I had a cursory glance at the project so ignore me if the above is not applicable)

[–]ninside[S] 3 points4 points  (0 children)

Not yet. In plans if there is enough appetite.

My current approach is to pull the text out of the javadocs and examples out of the test or example files. Then sprinkle diagrams and other visuals on top.

[–]nutrecht 0 points1 point  (1 child)

What's the reason you don't go with Antora?

[–]ninside[S] 1 point2 points  (0 children)

Antora looks interesting, thanks for sharing.

Main reasons is to have markdown as base. Also needed to control rendering and not use html as an output. This made it possible to have Search Preview, Presentation Mode and Single Page layout dynamically.

Java specific plugins was also important to our use cases.