Skip to content
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

Not detecting pydoctor docs #31

Closed
Kapeli opened this issue Sep 23, 2014 · 3 comments
Closed

Not detecting pydoctor docs #31

Kapeli opened this issue Sep 23, 2014 · 3 comments

Comments

@Kapeli
Copy link
Contributor

Kapeli commented Sep 23, 2014

I'm getting this error when trying to generate the docset for Twisted:

"apidocs" does not contain a known documentation format.

The problem seems to be that the index.html of the generated docs contains this:

      This documentation was automatically generated by
      <a href="https://launchpad.net/pydoctor/">pydoctor</a>

While doc2dash expects this:

      This documentation was automatically generated by
      <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a>'''

(https://github.com/hynek/doc2dash/blob/9c1751e3abc972e7dbff522c8ef5cdf3375023a9/doc2dash/parsers/pydoctor.py)

I was able to generate the docset after modifying the index.html to what doc2dash expects.

@hynek
Copy link
Owner

hynek commented Sep 24, 2014

Oh thanks for noticing, they apparently changed the header in 0.5.

Would you mind checking whether master works for you now? 874682f should have fixed it.

@Kapeli
Copy link
Contributor Author

Kapeli commented Sep 24, 2014

Yep. All good 👍

@Kapeli Kapeli closed this as completed Sep 24, 2014
@hynek
Copy link
Owner

hynek commented Sep 24, 2014

doc2dash 2.0.2 with this fix is on PyPI now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants