Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2026-09

Docs style update

17 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Hi,

In an effort to improve the readability of the online docs, I've instructed Claude to create various CSS styles for the documentation.

You can view the 3 which I retained here:

https://www.freepascal.org/~michael/docs-demo/docs/

I'd like to sollicit some feedback on which is considered the most readable of the three: book, compact or modern.

Note this concerns only the latex-style manuals, not the reference documentation - that is generated by another mechanism (which will also be updated)

Note that only CSS changes are involved, so no 'structural' changes.

Michael.

Reply by email

Tomas Hajny
to Michael Van Canneyt: In an effort to improve the readability of the online docs, I've instructed Claude to…

On 2026-09-09 12:47, Michael Van Canneyt via fpc-pascal wrote:

Hi Michael,

Show quoted text 10 lines
In an effort to improve the readability of the online docs, I've instructed Claude to create various CSS styles for the documentation. You can view the 3 which I retained here: https://www.freepascal.org/~michael/docs-demo/docs/ I'd like to sollicit some feedback on which is considered the most readable of the three: book, compact or modern.

.
.

Obviously, it's matter of subjective preferences. Personally, I prefer the compact version except for the square buttons at the top and bottom of the content pages - those links look better in both the other styles (i.e. with rounded edge or no edge at all). What I especially _dislike_ about the book style is that the references to specific constructs aren't so easily distinguished from the surrounding text - see e.g. the "MyType" type name at the bottom of
https://www.freepascal.org/~michael/docs-demo/docs/book/ref/refsu108.html#x251-27700016.6.4 (brown compared to black text around it) versus the same on https://www.freepascal.org/~michael/docs-demo/docs/compact/ref/refsu108.html#x251-27700016.6.4 or
https://www.freepascal.org/~michael/docs-demo/docs/modern/ref/refsu108.html#x251-27700016.6.4.

Just my 2 cents

Tomas

Reply by email

Martin Frb
to Michael Van Canneyt: In an effort to improve the readability of the online docs, I've instructed Claude to…

Compact. Only one that isn't incredible narrow. Webpages should not dictate how much of my screen I want to use.

In "book style" (among being the narrowest) the navigation is tiny.

Modern has slightly nicer navigation buttons, but I miss the bold left side of the boxes for code.

Michael Van Canneyt wrote 9 lines
Hi, In an effort to improve the readability of the online docs, I've instructed Claude to create various CSS styles for the documentation. You can view the 3 which I retained here: https://www.freepascal.org/~michael/docs-demo/docs/

Reply by email

Martin Frb
to Michael Van Canneyt: In an effort to improve the readability of the online docs, I've instructed Claude to…

Compact. Only one that isn't incredible narrow. Webpages should not dictate how much of my screen I want to use.

In "book style" (among being the narrowest) the navigation is tiny.

Modern has slightly nicer navigation buttons, but I miss the bold left side of the boxes for code.

Michael Van Canneyt wrote 9 lines
Hi, In an effort to improve the readability of the online docs, I've instructed Claude to create various CSS styles for the documentation. You can view the 3 which I retained here: https://www.freepascal.org/~michael/docs-demo/docs/

Reply by email

Marco van de Voort
to Michael Van Canneyt: In an effort to improve the readability of the online docs, I've instructed Claude to…

Op 9-9-2026 om 12:47 schreef Michael Van Canneyt via fpc-pascal:

Show quoted text 8 lines
Note this concerns only the latex-style manuals, not the reference documentation - that is generated by another mechanism (which will also be updated) Note that only CSS changes are involved, so no 'structural' changes.

Modern then compact and last book because I don't like the font.

p.s .Please leave the original CSS in SVN for CHM use in case MSIE6 compat engine used for the html help viewer might not interpret more modern CSS(3?) correctly.

Reply by email

Michael Van Canneyt
to Marco van de Voort
Marco van de Voort wrote 16 lines
Op 9-9-2026 om 12:47 schreef Michael Van Canneyt via fpc-pascal: > > > Note this concerns only the latex-style manuals, not the reference > documentation - that is generated by another mechanism (which will also be > updated) > > Note that only CSS changes are involved, so no 'structural' changes. > Modern then compact and last book because I don't like the font. p.s .Please leave the original CSS in SVN for CHM use in case MSIE6 compat engine used for the html help viewer might not interpret more modern CSS(3?) correctly.

Could you try to test it, here is the original HTML:

https://www.freepascal.org/~michael/html-modern.zip

You don't need to pack all files, some would be sufficient.

And we're using git, not SVN.
I know you long for old times past, but alas... ;-)

Michael.

Reply by email

Martin Frb
to Michael Van Canneyt: In an effort to improve the readability of the online docs, I've instructed Claude to…

Compact. Only one that isn't incredible narrow. Webpages should not dictate how much of my screen I want to use.

In "book style" (among being the narrowest) the navigation is tiny.

Modern has slightly nicer navigation buttons, but I miss the bold left side of the boxes for code.

Michael Van Canneyt wrote 9 lines
Hi, In an effort to improve the readability of the online docs, I've instructed Claude to create various CSS styles for the documentation. You can view the 3 which I retained here: https://www.freepascal.org/~michael/docs-demo/docs/

Reply by email

Gene Buckle
to Peter Blackman

I like the doc updates. Nicely done!

Instead of having to pick one, would it be practical to give a CSS switcher to allow folks to pick the layout they like best?

tnx.

g.

Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. I'm not crazy, I'm plausibly off-nominal! ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. https://github.com/geneb/ScarletDME - Get it _today_!

Reply by email

Michael Van Canneyt
to Tomas Hajny: . . Obviously, it's matter of subjective preferences. Personally, I prefer the compact…
Tomas Hajny wrote 22 lines
On 2026-09-09 12:47, Michael Van Canneyt via fpc-pascal wrote: Hi Michael, > In an effort to improve the readability of the online docs, I've instructed > Claude to create various CSS styles for the documentation. > > You can view the 3 which I retained here: > > https://www.freepascal.org/~michael/docs-demo/docs/ > > I'd like to sollicit some feedback on which is considered the most readable > of the > three: book, compact or modern. . . Obviously, it's matter of subjective preferences. Personally, I prefer the compact version except for the square buttons at the top and bottom of the content pages - those links look better in both the other styles (i.e. with rounded edge or no edge at all).

I updated the colors of the compact theme, so it is in line with the new site's primary colors (slighly darker blue, darker letters), and made the buttons rounded.

Michael.

Reply by email

Michael Thompson
to Michael Van Canneyt: In an effort to improve the readability of the online docs, I've instructed Claude to…

Nice work!

I prefer Compact.

Many thanks

Mike

On Wed, 9 Sept 2026 at 11:47, Michael Van Canneyt via lazarus <

Show quoted text 30 lines
wrote: Hi, In an effort to improve the readability of the online docs, I've instructed Claude to create various CSS styles for the documentation. You can view the 3 which I retained here: https://www.freepascal.org/~michael/docs-demo/docs/ I'd like to sollicit some feedback on which is considered the most readable of the three: book, compact or modern. Note this concerns only the latex-style manuals, not the reference documentation - that is generated by another mechanism (which will also be updated) Note that only CSS changes are involved, so no 'structural' changes. Michael. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

Reply by email

Michael Van Canneyt
to Gene Buckle: I like the doc updates. Nicely done! Instead of having to pick one, would it be…
Gene Buckle wrote
I like the doc updates. Nicely done! Instead of having to pick one, would it be practical to give a CSS switcher to allow folks to pick the layout they like best?

Excellent suggestion. Implemented, see this version:

https://www.freepascal.org/~michael/docs-demo/docs/switch/

Requires some javascript, but someone who has javascript disabled will simply have the default (compact).

The chm will not have the switch.

Michael.

Reply by email

Gene Buckle
to Michael Van Canneyt: Excellent suggestion. Implemented, see this version:…
Michael Van Canneyt wrote 13 lines
On Wed, 9 Sep 2026, Gene Buckle via fpc-pascal wrote: > I like the doc updates.  Nicely done! > > Instead of having to pick one, would it be practical to give a CSS > switcher to allow folks to pick the layout they like best? Excellent suggestion. Implemented, see this version: https://www.freepascal.org/~michael/docs-demo/docs/switch/

That turned out great!  It would be nice if the TOC was a 25% column on the left and the content a 75% column on the right, but that's a me thing - it really is good enough as-is.

Thanks!

g.

Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. I'm not crazy, I'm plausibly off-nominal! ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. https://github.com/geneb/ScarletDME - Get it _today_!

Reply by email

Juha Manninen
to Martin Frb: Compact. Only one that isn't incredible narrow. Webpages should not dictate how much of…

Martin Frb via fpc-pascal kirjoitti 9.9.2026 klo 16.03:

Compact. Only one that isn't incredible narrow. Webpages should not dictate how much of my screen I want to use.

+1

Why is the width limited? My browsers are able to use all the available window space if you don't limit it artificially.

On a positive side these pages allow me to use Ctrl_+ and Ctrl_- to adjust font size. There are pages in the net that don't allow it.

Juha

Reply by email

Michael Van Canneyt
to Juha Manninen
Juha Manninen wrote 8 lines
Martin Frb via fpc-pascal kirjoitti 9.9.2026 klo 16.03: > Compact. Only one that isn't incredible narrow. Webpages should not > dictate how much of my screen I want to use. +1 Why is the width limited? My browsers are able to use all the available window space if you don't limit it artificially.

A simple biological constatation resulted in a general agreement:

Reading across a long stretch strains the eyes more than reading across a shorter stretch.

On a positive side these pages allow me to use Ctrl_+ and Ctrl_- to adjust font size. There are pages in the net that don't allow it.

Now that it is possible to have any CSS style applied, feel free to submit a CSS style to your liking.

Also an option:
I have a style editor plugin in my browser which applies styles of my choosing on any site. I use it mostly to hide ads, but it can also be used to override the default page style.

Michael.

Reply by email