You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Gintautas Grigelionis <g....@gmail.com> on 2018/05/07 06:24:23 UTC

Re: Migrating Ivy and IvyDE site to asciidoc

2018-04-23 15:25 GMT+02:00 Nicolas Lalevée <ni...@hibnet.org>:

> 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.

Gintas

Re: Migrating Ivy and IvyDE site to asciidoc

Posted by Matt Sicker <bo...@gmail.com>.
On 7 May 2018 at 06:17, Nicolas Lalevée <ni...@hibnet.org> 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 <bo...@gmail.com>

Re: Migrating Ivy and IvyDE site to asciidoc

Posted by Gintautas Grigelionis <g....@gmail.com>.
2018-05-07 13:17 GMT+02:00 Nicolas Lalevée <ni...@hibnet.org>:

> 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
+++<br>+++ & 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

Posted by Nicolas Lalevée <ni...@hibnet.org>.
> Le 7 mai 2018 à 08:24, Gintautas Grigelionis <g....@gmail.com> a écrit :
> 
> 2018-04-23 15:25 GMT+02:00 Nicolas Lalevée <ni...@hibnet.org>:
> 
>> 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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org