Discussions about the wiki documentation of FreeCAD and its translation.
6 posts • Page 1 of 1
On many, many wiki pages the Button template is not used as intended. The font weight of text inside the frame should be normal (see here). But on the pages in question a trick (link to the current page) is used to get bold text. IMO this is not the right approach. If bold text is required then the CSS for the button template should be changed.
Last edited by Roy_043 on Sat Mar 14, 2020 6:09 pm, edited 1 time in total.
The objective is not to get bold text. The objective is to link to the command inside the button. The link is always provided. However, when that link is used within the same page, then the link automatically becomes bold. Becoming bold is a result, but it is not the intention.
When used inside the very [[Some_command]] page, the link will appear bold.
Code: Select all
I don't think we need to change it.
In pages where different buttons are described, none of them will appear bold, if the page is not the same as the button. See, for example, Sketch or Body. None of the buttons there are bold.
I agree with @vocx
It think it's fine to keep the link. I find it useful whenever I need to get the link markup of said command, I go to said command's page and copy the source wiki format to paste elsewhere. I also think it looks better than ''''bold''' in the souce
Don't pay attention to the current page. All buttons should have a link. So, if you happen to use that button in the same page, it will appear bold. You don't even need to think about it, because that is not what matters, what matters is showing the button. This button code you can copy and paste in any other page, you don't need to modify it.
Pages such as Part_Key were created in the past to help with creating documentation. You would basically just copy the code of a button and paste it in another page quickly without modifying it. If you stop to edit the button code, then it is error prone, as you could miss a letter here and there, or a bracket. So the buttons don't need to be modified, they just need to be used where it is appropriate.
All right, I'll follow this standard.
Who is online
Users browsing this forum: No registered users and 2 guests