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

Add Read the Docs YAML #41

Closed
wants to merge 1 commit into from
Closed

Add Read the Docs YAML #41

wants to merge 1 commit into from

Conversation

dsaxton
Copy link
Collaborator

@dsaxton dsaxton commented Jul 6, 2020

Closes #37

I'm not 100% positive this will work, but it seems it should prevent it from using Python 2 for the build.

https://docs.readthedocs.io/en/stable/config-file/v2.html

@dsaxton dsaxton requested a review from HDembinski July 6, 2020 23:14
@HDembinski
Copy link
Member

This is not necessary. Just change the Python interpreter to 3.x at https://readthedocs.org/dashboard/resample/advanced/

@HDembinski
Copy link
Member

Could you add me as a maintainer to the resample page on RTD? https://readthedocs.org/dashboard/resample/users/

Copy link
Member

@HDembinski HDembinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As written in the comments, I think we can do without this. I don't have this file for iminuit, which is also Python-3.x only.

@dsaxton
Copy link
Collaborator Author

dsaxton commented Jul 9, 2020

Could you add me as a maintainer to the resample page on RTD? https://readthedocs.org/dashboard/resample/users/

What's your username? I tried HDembinski and your email and it isn't working.

@dsaxton
Copy link
Collaborator Author

dsaxton commented Jul 9, 2020

This is not necessary. Just change the Python interpreter to 3.x at https://readthedocs.org/dashboard/resample/advanced/

Now getting this error if you know how to fix:

Running Sphinx v1.8.5
loading translations [en]... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/resample/envs/latest/lib/python3.7/site-packages/sphinx/registry.py", line 472, in load_extension
    mod = __import__(extname, None, None, ['setup'])
ModuleNotFoundError: No module named 'numpydoc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/resample/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/home/docs/checkouts/readthedocs.org/user_builds/resample/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 228, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/resample/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 449, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/resample/envs/latest/lib/python3.7/site-packages/sphinx/registry.py", line 475, in load_extension
    raise ExtensionError(__('Could not import extension %s') % extname, err)
sphinx.errors.ExtensionError: Could not import extension numpydoc (exception: No module named 'numpydoc')

Extension error:
Could not import extension numpydoc (exception: No module named 'numpydoc')

@dsaxton
Copy link
Collaborator Author

dsaxton commented Jul 9, 2020

Going to close this but we can continue to comment here (or if you prefer we just talk in the issue)

@dsaxton dsaxton closed this Jul 9, 2020
@dsaxton dsaxton deleted the readthedocs-config branch July 9, 2020 18:44
@HDembinski
Copy link
Member

We have to pip install numpydoc. Maybe that was the reason to use napolean, I guess it is pre-installed on RTD. My username on RTD is hdembins, sorry.

@dsaxton
Copy link
Collaborator Author

dsaxton commented Jul 10, 2020

We have to pip install numpydoc. Maybe that was the reason to use napolean, I guess it is pre-installed on RTD. My username on RTD is hdembins, sorry.

Added you as a maintainer

@HDembinski
Copy link
Member

Ok great, I will try to fix this.

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

Successfully merging this pull request may close these issues.

readthedocs build is broken
2 participants