-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What's this?
command opens wrong wiki article url
#151
Comments
isn't it possible to rename the wiki pages? |
I think that would be possible but it would break the "naming convention". I asked on the wiki forum: https://forum.freecad.org/viewtopic.php?t=85208 |
I checked the code and it seems we only need to rename the command on
Edit: Looking at the log it opens
commands = [
"FCGear_InvoluteGear",
...
]
gui.addCommand("FCGear_InvoluteGear", CreateInvoluteGear())
gui.addCommand("FCGear_InternalInvoluteGear", CreateInternalInvoluteGear())
... |
Making this change will enable users to use `What's this?` command on FCGear commands and get the correct Wiki article. Fix looooo#151
Making this change will enable users to use `What's this?` command on FCGear commands and get the correct Wiki article. Fix looooo#151
As you may know FreeCAD have a Help module where using the
What's this?
command you can click on a command on the toolbar and the wiki page for it will open.The way it works is: it opens
https://wiki.freecad.org/{$Command_name}
.In the wiki the convention to name pages is: WorkbenchName_CommandName, so in order to make this work, ideally your commands should be named the same. Example: https://wiki.freecad.org/PartDesign_Pad
For instance to create an InvoluteGear with FCGear WB you use
CreateInvoluteGear
command, when usingWhat's this?
command on it opens https://wiki.freecad.org/CreateInvoluteGear/ when the documentation of that command is in https://wiki.freecad.org/FCGear_InvoluteGear article.Help
module and somehow hardcode the redirectionsThe text was updated successfully, but these errors were encountered: