Re: Migrating Ivy and IvyDE site to asciidoc

2018-05-07 Thread Gintautas Grigelionis
2018-05-07 13:17 GMT+02:00 Nicolas Lalevée :

> The issue isn’t about the format of the image but about the layout of the
> page. If you have some proof of concept of how a home page can be done in
> asciidoc, please share, in a gist of whatever.


Which part of the front page is tricky? I guess it would be easiest to keep
the four links/icons in the table as they are now; otherwise one could try
something like a float
group -- only to come to conclusion that images must be cropped
appropriately to align them properly -- at which point one may start
thinking of SVG :-) not to mention a custom CSS.

Gintas

[.float-group]
--
:figure-caption!:
.https://ant.apache.org/ivy/download.html[download]
image::https://ant.apache.org/ivy/images/ivy-dl-2.5.0-rc1.png[float=left,link=https://ant.apache.org/ivy/download.html]

.https://ant.apache.org/ivy/history/latest-milestone/index.html[documentation
++ & tutorials]
image::https://ant.apache.org/ivy/images/ivy-book.png[float=left,link=https://ant.apache.org/ivy/history/latest-milestone/index.html]

.https://ant.apache.org/ivy/demo.html[demo]
image::https://ant.apache.org/ivy/images/ivy-demo.png[float=left,link=https://ant.apache.org/ivy/demo.html]

.https://ant.apache.org/ivy/mailing-lists.html[share your experience]
image::https://ant.apache.org/ivy/images/ivy-forum.png[float=left,link=https://ant.apache.org/ivy/mailing-lists.html]
--


Re: Migrating Ivy and IvyDE site to asciidoc

2018-05-07 Thread Matt Sicker
On 7 May 2018 at 06:17, Nicolas Lalevée  wrote:

> The issue isn’t about the format of the image but about the layout of the
> page. If you have some proof of concept of how a home page can be done in
> asciidoc, please share, in a gist of whatever.
>

I used asciidoc with maven-site-plugin in log4j:

https://github.com/apache/logging-log4j2/blob/master/src/site/asciidoc/index.adoc

https://github.com/apache/logging-log4j2/blob/master/src/site/site.vm


-- 
Matt Sicker 


Re: Migrating Ivy and IvyDE site to asciidoc

2018-05-07 Thread Nicolas Lalevée

> Le 7 mai 2018 à 08:24, Gintautas Grigelionis  a 
> écrit :
> 
> 2018-04-23 15:25 GMT+02:00 Nicolas Lalevée :
> 
>> One page I am worried about is the main page [2]. I am not sure there are
>> some sane asciidoc directives to render something similar. If you already
>> have ideas, please share. If I remember correctly there is directive to
>> blindly render content, which could be html, as a fall back.
>> 
> 
> I'd like to see more SVG :-) So, how about replacing the four images
> (download, demo, manual, forum)? Then, style them as a flexbox for
> responsivity.

The issue isn’t about the format of the image but about the layout of the page. 
If you have some proof of concept of how a home page can be done in asciidoc, 
please share, in a gist of whatever.

Nicolas


-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org