Brandon Molyneaux
Brandon Molyneaux

Reputation: 1763

Sphinx autoclass works locally, not readthedocs, but other classes and methods work on readthedocs?

I know there's several similar questions, but none of them seem to fit what is happening with me. When I build on readthedocs, it is successful. However, it doesn't show in the documentation, but will show locally. What my issue is, is that it doesn't show certain methods on readthedocs (even though there's a successful build), but it shows locally. In addition, there are certain instances where it shows neither the class and method I want it to show.

I'm not understanding what is going on and how to go about fixing it. I've made commits trying to fix it and I don't want to continue making unnecessary commits.

Links:

Docs example 1 (class shows, method doesn't)

Docs example 2 (class and method don't show, but it's setup the same as above?)

GitHub Project

Local build screenshot (what I should be seeing with the first example link): local build

Upvotes: 0

Views: 555

Answers (1)

Steve Piercy
Steve Piercy

Reputation: 15035

Check your build log on RTD for "warning" or "error".

Although I suggested that the issue could be a typo of "pint" versus "point", it turned out to be a case of needing to add point to requirements.txt.

Upvotes: 2

Related Questions