freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Browsing API docs locally, and other updates


From: Nikhil Ramakrishnan
Subject: Re: [ft-devel] Browsing API docs locally, and other updates
Date: Thu, 21 Jun 2018 13:39:25 +0530


> * As clearly seen in the tree, MkDocs creates a directory for each
>   markdown `file', which is OK for a website, but creates a problem
>   for local browsing.

If I understand corrrectly, this is no longer a problem, right?

Correct, this has been fixed.
 
Have a look at

  https://www.dxdy.ooo/freetype-site/ft2-color_management/index.html#ft_palette_xxx

The very long macro names make the left column of the `values' section
too small.  An immediate improvement would be to reduce the
indentation left of the left column. 

Reducing indentation of the left column is OK for long field names, but
other tables with small field names look off-centered.
 
On the other hand: Does CSS (or
_javascript_?) allow a different layout if the left-side entries are
very long?  For example, it could change to

    FOO_BAR_BAZ_FROBNICATE

      blablablaba bla blubb  bla bla blabla blablablaba  bla blubb bla
      bla blabla blablablaba bla blubb  bla bla blabla blablablaba bla
      blubb bla bla blabla

This is interesting. My idea is to append a class name like "long" to field
tables having names longer that maybe 30 characters. Then I can use CSS to
add specific styles to that table, so that it looks like what you describe.

See the attached images for an idea of how these tables will look like. Note
that other tables remain unaffected.


--
Nikhil

Attachment: table_1.png
Description: PNG image

Attachment: table_2.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]