← Back to team overview

kicad-developers team mailing list archive

Re: Asciidoc question.

 

FYI, here's how you add icons

https://github.com/KiCad/kicad-website/commit/893c902228c5d0a0d6fdbcdf783878cbbd439f6e

Never did figure out how to make hugo set global asciidoc parameters

On Fri, Nov 10, 2017 at 2:28 PM, Wayne Stambaugh <stambaughw@xxxxxxxxx>
wrote:

> I was hoping the icon would draw user's attention to the warning to the
> obvious backup your files statement but maybe I was being a bit
> optimistic.  I'm fine with it the way it is.  I just wanted to be sure I
> didn't do anything wrong.
>
> On 11/10/2017 08:48 AM, Nick Østergaard wrote:
> > The source and generated code looks correct. It just seems like we don't
> > have any definition for the admonitionblock div classes for the icons in
> > the CSS. I guess this is a matter of taste, on whether one likes icons
> > or text. I guess icons was not implemented because we didn't use many of
> > these admonition blocks at the time of devising the new site template.
> >
> > 2017-11-10 14:20 GMT+01:00 Wayne Stambaugh <stambaughw@xxxxxxxxx
> > <mailto:stambaughw@xxxxxxxxx>>:
> >
> >     Maybe one of our resident asciidoc experts can help me out.  I used a
> >     WARNING admonition in the kicad website symbol library table blog
> >     post[1].  I was expecting to see the warning icon per the asciidoc
> >     documentation[2] but I only see a "WARNING" string where I expected
> the
> >     icon.  Am I doing something wrong here[3] or do we not have our
> asciidoc
> >     generator configured to use the icons for admonitions?  Thanks in
> >     advance for the help.
> >
> >     Cheers,
> >
> >     Wayne
> >
> >     [1]: http://kicad-pcb.org/post/symbol-lib-table/
> >     <http://kicad-pcb.org/post/symbol-lib-table/>
> >     [2]: http://asciidoc.org/userguide.html#X22
> >     <http://asciidoc.org/userguide.html#X22>
> >     [3]:
> >     https://raw.githubusercontent.com/KiCad/kicad-website/
> master/content/post/symbol-lib-table.adoc
> >     <https://raw.githubusercontent.com/KiCad/
> kicad-website/master/content/post/symbol-lib-table.adoc>
> >
> >     _______________________________________________
> >     Mailing list: https://launchpad.net/~kicad-developers
> >     <https://launchpad.net/~kicad-developers>
> >     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> >     Unsubscribe : https://launchpad.net/~kicad-developers
> >     <https://launchpad.net/~kicad-developers>
> >     More help   : https://help.launchpad.net/ListHelp
> >     <https://help.launchpad.net/ListHelp>
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Mark

Follow ups

References