- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
qthelp_namespace doesn't allow dashes #5035
Comments
Do you know the spec of namespace for qthelp? |
I tried to find it but the documentation for the file format is very sparse. |
I think I found the code in qt5/qttools/src/assistant/help/qhelpprojectdata.cpp
and then:
So it looks like a valid namespace is the host part of an URL. I think the plugin should not change the string in any way. If a user uses an invalid string the qt tools will tell them. |
Thank you for comment. Good point! |
I just made #5097. I simply added hyphens to our rule. |
…shes Close #5035: qthelp builder allows dashes in :confval:`qthelp_namespace`
Fixed by #5097. |
When setting the qthelp_namespace variable to a reverse URL with a dash the dash is removed. For example Qt uses
org.qt-project.qtbluetooth.5110
as Namespace which would not be possible with the qthelp Builder because it would be changed toorg.qtproject.qtbluetooth.5110
.I think namespaces should at least allow a reverse URL.
This code in
sphinx.builders.qthelp
tries to clean the namespace:The text was updated successfully, but these errors were encountered: