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

Docs and docs build update #17

Merged
merged 2 commits into from
Feb 10, 2023
Merged

Docs and docs build update #17

merged 2 commits into from
Feb 10, 2023

Conversation

mslw
Copy link
Collaborator

@mslw mslw commented Feb 9, 2023

This should resolve an issue with Read the Docs builds where Python
API and CLI pages were not built - inspection of RtD build logs showed
that build_manpage & autosummary had ImportErrors, which were
converted to a warning. RtD build used Python 3.7.

Going up to Python 3.9 seems to be a sensible choice because that's
the current version in debian stable (although minimal requirement for
the extension is 3.8).

Important note: our docs build relies on having this package
installed. This apparently happened by default previously, but now
that we use the .readthedocs.yaml file, we have to state it
explicitly:

python:
  install:
    - method: pip
      path: .

@mslw
Copy link
Collaborator Author

mslw commented Feb 9, 2023

Okay, this seems to have repaired the build. Before merging I want to
squash the commits and use this branch to also update the README file
with installation instructions (and maybe rearrange the badges) - but
this will have to wait until tomorrow.

mslw added 2 commits February 10, 2023 11:50
This should resolve an issue with Read the Docs builds where Python
API and CLI pages were not built - inspection of RtD build logs showed
that build_manpage & autosummary had ImportErrors converted to
warnings. RtD build used Python 3.7.

Using Python 3.9 for building docs seems to be a sensible choice, if
only because that's the current version in debian stable (although
minimal requirement for the extension is 3.8).

Our docs build relies on having our package installed. This apparently
happened by default with no RtD config, but now this has to be made
explicit in the config file.
This adds pip installation instructions ("bleeding edge" git+https)
and reorganizes badges to separate docs from CI.
@mslw mslw merged commit cf61468 into main Feb 10, 2023
@mslw mslw deleted the docs branch February 10, 2023 10:58
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.

1 participant