-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error when creating docset #115
Comments
Are you trying to convert an archive downloaded from readthedocs? |
I'm not sure. I builded the html files with: and then i did: |
Ohhh this is interesting! Guzzle is a PHP project! doc2dash technically only supports Python, but there are a few standard types that Guzzle is using: [DataObjStr(name='allow_redirects-option', domain='std', role='label', priority='-1', uri='request-options.html#allow-redirects-option', dispname='allow_redirects'),
DataObjStr(name='cert-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='cert'),
DataObjStr(name='connect_timeout-option', domain='std', role='label', priority='-1', uri='request-options.html#connect-timeout-option', dispname='connect_timeout'),
DataObjStr(name='cookies-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='cookies'),
DataObjStr(name='debug-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='debug'),
DataObjStr(name='decode_content-option', domain='std', role='label', priority='-1', uri='request-options.html#decode-content-option', dispname='decode_content'),
DataObjStr(name='delay-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='delay'),
DataObjStr(name='expect-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='expect'),
DataObjStr(name='genindex', domain='std', role='label', priority='-1', uri='genindex.html#', dispname='Index'),
DataObjStr(name='http-errors-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='http_errors'),
DataObjStr(name='installation', domain='std', role='label', priority='-1', uri='overview.html#$', dispname='Installation'),
DataObjStr(name='modindex', domain='std', role='label', priority='-1', uri='py-modindex.html#', dispname='Module Index'),
DataObjStr(name='on-headers', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='on_headers'),
DataObjStr(name='on_stats', domain='std', role='label', priority='-1', uri='request-options.html#on-stats', dispname='-'),
DataObjStr(name='proxy-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='proxy'),
DataObjStr(name='search', domain='std', role='label', priority='-1', uri='search.html#', dispname='Search Page'),
DataObjStr(name='sink-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='sink'),
DataObjStr(name='ssl_key-option', domain='std', role='label', priority='-1', uri='request-options.html#ssl-key-option', dispname='ssl_key'),
DataObjStr(name='stream-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='stream'),
DataObjStr(name='timeout-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='timeout'),
DataObjStr(name='verify-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='verify'),
DataObjStr(name='version-option', domain='std', role='label', priority='-1', uri='request-options.html#$', dispname='version')] Looks like they just use the role Unfortunately there's the entry I've locally added a workaround that allows that file to be missing and could build the docs (it's only 5.7 MB because of the fonts): Is this useful to you? I could push a new release over the weekend I think (want to do some other minor work). Are you involved with the project in some capacity? I would love to add better PHP support to doc2dash but have no clue about it. I would suspect there's better ways to integrate PHP docs into Sphinx. |
Yes thanks a lot! How do you edit the docset? just that i know it for the next time. No. I'm not involved in this project. |
I didn't edit the docset; I've fixed the behavior in 5b0d5f1. :) If you'd like to play with it, you can try running current main but I hope to push a release soon-ish. |
Thanks! |
JFTR doc2dash 3 is out with the necessary fix. |
Hello,
i would like to create a docset for guzzle. But when running the
doc2dash
command:i get an error message.
any ideas?
doc2dash version: 2.4.1
The text was updated successfully, but these errors were encountered: