Boost logo

Boost :

Subject: Re: [boost] [doc] Liven up Boost Documentation with Java Script?
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2016-02-26 11:30:53


On Fri, Feb 26, 2016 at 9:55 AM, Kris <krzysztof_at_[hidden]> wrote:

> Paul Fultz II wrote
> > On Friday, February 26, 2016 at 9:46:37 AM UTC-6, Rene Rivera wrote:
> >>
> >> On Fri, Feb 26, 2016 at 9:35 AM, Paul Fultz II &lt;
>
> > pfu...@
>
> >
> > &gt;
> > <javascript:>
> >> wrote:
> >>
> >> >
> >> > Ah yes, tables is something that needs improving. I was working with
> >> the
> >> > boost
> >> > CSS, and it doesn't seem to have anything for css tables. I think
> boost
> >> > book
> >> > styles the tables with HTML. I'll take a look at what you did for
> >> tables
> >> > and
> >> > try to integrate that in.
> >> >
> >>
> >> &lt;
> https://github.com/boostorg/boost/blob/master/doc/src/boostbook.css#L234&gt
> ;
> >>
> >>
> >
> >> Yep, that exactly my point. I need to wrap the tables in divs with
> >> special
> >> classes to get things like borders and such. Tables should look good by
> >> default.
> >
> > As a wknd I extended the boostbook.css table support. I doesn't need to
> > wrap tables in divs.
> >
> > table {
> > table-layout: fixed;
> > border:1px solid #C0C0C0;
> > border-collapse:collapse;
> > margin-bottom: 20px;
> > padding:5px;
> > width: 100%;
> > font-size: 90%;
> > }
> >
> > IMHO looks pretty much the same, but you can check it yourself ->
> > http://boost-experimental.github.io/di/boost/user_guide/index.html

Warning.. It uses the divs in order to disambiguate documentation tables
vs. regular web site tables. As the documentation tables appear embedded in
the web site when browsed on-line.

<http://www.boost.org/doc/libs/1_60_0/doc/html/align.html>

vs.

<http://www.boost.org/development/exemplar.html>

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk