Glossary missing TOC

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Glossary missing TOC

Post by NormandC »

Hey guys,

Is it just me, or is there no visible table of content in the Glossary page?

I see there's a "CompactTOC" template used, and when I edit it I can see there's stuff in it, but I have no idea what it's supposed to do, because it has no effect on Glossary.

https://www.freecadweb.org/wiki/Template:CompactTOC

The Glossary page has grown long, we need to fix this. If nobody can manage to make that template working at all, I propose we replace it with this simple one:

https://www.mediawiki.org/wiki/Template:CompactTOC
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Glossary missing TOC

Post by kkremitzki »

NormandC wrote:Hey guys,

Is it just me, or is there no visible table of content in the Glossary page?

I see there's a "CompactTOC" template used, and when I edit it I can see there's stuff in it, but I have no idea what it's supposed to do, because it has no effect on Glossary.

https://www.freecadweb.org/wiki/Template:CompactTOC

The Glossary page has grown long, we need to fix this. If nobody can manage to make that template working at all, I propose we replace it with this simple one:

https://www.mediawiki.org/wiki/Template:CompactTOC
Well it looks good now!
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Glossary missing TOC

Post by NormandC »

Thanks! I see you went straight for my proposal :D

EDIT: I made a small change to the CompactTOC template: I cut the "Jump to the letter:" text string from it and pasted it into the Glossary page content just in front of the template.

This makes the template language agnostic.

There is a lot of work to translate it fully in French. I don't have the time... :?
Post Reply