You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's seems odd to me, though; unless we're doing something atypical, it seems if we correctly understand what was causing the build failure (namely, installation from PyPI of the package to document + introduction of new dependencies in the dev version), that any analogous situation would suffer the same problem--i.e., any time a package introduces new dependencies, the docs builds will fail until it's released (so the notion of "dev" documentation would never be available for any dev version that includes new dependencies). That feels like a strange setup from RTD, but maybe I'm misunderstanding what's going on, or there's some current configuration workaround for this thing, or one in the RTD development pipeline as a future enhancement.
The reason will be displayed to describe this comment to others. Learn more.
I think what's atypical about it (for mkdocs at least) is that our documentation depends on the package itself. because of lucidoc. so we install the package itself, but that leads to some issues with versions because we can't specify to use the dev version on the dev docs...
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it seems like there should be a hook to tell RTD to pull a branch from web-hosted repository and install from there rather than PyPI (and maybe there is, but I haven't looked into it).
The reason will be displayed to describe this comment to others. Learn more.
so in other words, you could have both master and dev docs point to the dev branch on github, or to pypi...but what you want is for the master docs to point to pypi, and the dev docs to point to the dev branch on github. no can do...
8eddb27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I just figured it would resolve automatically as soon as the release happened.
8eddb27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's seems odd to me, though; unless we're doing something atypical, it seems if we correctly understand what was causing the build failure (namely, installation from PyPI of the package to document + introduction of new dependencies in the
dev
version), that any analogous situation would suffer the same problem--i.e., any time a package introduces new dependencies, the docs builds will fail until it's released (so the notion of "dev" documentation would never be available for anydev
version that includes new dependencies). That feels like a strange setup from RTD, but maybe I'm misunderstanding what's going on, or there's some current configuration workaround for this thing, or one in the RTD development pipeline as a future enhancement.8eddb27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what's atypical about it (for mkdocs at least) is that our documentation depends on the package itself. because of
lucidoc
. so we install the package itself, but that leads to some issues with versions because we can't specify to use the dev version on the dev docs...8eddb27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it seems like there should be a hook to tell RTD to pull a branch from web-hosted repository and install from there rather than PyPI (and maybe there is, but I haven't looked into it).
8eddb27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, you can do that -- the issue is that you can't differentiate between the master and dev branches...
8eddb27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so in other words, you could have both master and dev docs point to the dev branch on github, or to pypi...but what you want is for the master docs to point to pypi, and the dev docs to point to the dev branch on github. no can do...