-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix documentation building #111
Comments
@ziatdinovmax oof I guess my new build methods broke that. As long as we substitute the correct version in at # The full version, including alpha/beta/rc tags
module_dir = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(module_dir, '../../gpax/__version__.py')) as f:
release = f.read().split("'")[1] I might have overlooked this. I see you're using Actually it should be really straightforward, but we might have to execute part of the build script before building the docs. Looks like this can be accomplished: https://docs.readthedocs.io/en/stable/config-file/v2.html#build-jobs. Full possible fixAssuming
|
Hi @matthewcarbone, I am trying to contribute to opensource projects. Found this issue. Able to fix this issue by adding dunamai in docs requirements, importing the version variable from gpax/_version.py file and then I was able to generate the docs. Please let me know if I can go ahead and create a PR for the same. Regards, |
@sagarsadhu that sounds a lot cleaner than what I suggested! Go for it! |
created the PR with changes. |
@sagarsadhu - thanks! |
The documentation builds are failing seemingly because we no longer have
__version__.py
file.Should be an easy fix.
The text was updated successfully, but these errors were encountered: