HtmlFlow icon indicating copy to clipboard operation
HtmlFlow copied to clipboard

Add documentation for the api

Open benzen opened this issue 5 years ago • 4 comments

To use this library one have to go check example and extrapolate the possible api.

If this person uses an IDE with autocompletion, no problem, the api can be discovered, but otherwise the path to understanding is pretty rough.

We should add a couple of sections on the api in the documentation.

benzen avatar Nov 23 '20 13:11 benzen

Yes you are right.

There a couple of concepts intrinsic to HtmlFlow that should be better explained. Like the difference between using StaticHtml and DynamicHtml. .dynamic() or .of(). Interface HtmlTemplate<T>. And other things...

fmcarvalho avatar Nov 23 '20 15:11 fmcarvalho

I am planning to work on this and make a major refactoring on Documentation and Readme.

I am also considering anew web theme for Documentation. Maybe this one: https://themes.3rdwavemedia.com/demo/coderdocs/docs-page.html

fmcarvalho avatar Nov 23 '20 15:11 fmcarvalho

In the proposed them, the single page is very nice. The way I consume pages is by using cmd+f a lot. So single page is very helpfull to my usage pattern.

In the more visual aspect, I prefer the current color scheme. But what ever, the most important stuff is the content. Color scheme is a lower in the priority of things

benzen avatar Nov 24 '20 12:11 benzen

To do: evaluate the chance of migrating HtmlFlow site and documentation to https://github.com/pmarsceill/just-the-docs

fmcarvalho avatar Nov 12 '21 15:11 fmcarvalho

HtmlFlow site migrated to Jekyll documentation theme.

fmcarvalho avatar Feb 01 '23 13:02 fmcarvalho