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

Documentation Build Fix #164

Merged
merged 2 commits into from Aug 23, 2023
Merged

Conversation

lrjball
Copy link
Contributor

@lrjball lrjball commented Aug 2, 2023

What this PR does / why we need it:

The build for the documentation seems to have been broken for a while, as mentioned in #42. Additionally, readthedocs are soon deprecating the existing config methodology in favor of the .readthedocs.yaml file, so all builds not using this by 25th September will fail automatically (see https://blog.readthedocs.com/migrate-configuration-v2/).

This PR fixes the documentation build and migrates to the new .readthedocs.yaml config file, while also fixing a few of the broken links as mentioned in #160.

I've tested the docs build on my fork (see https://chartify-lrjball.readthedocs.io/en/latest/index.html) and it all builds successfully, reflecting the latest state of the package (for example the history tab now shows all of the latest releases) and without the broken links.

Note, the previous config for the docs was specified in the web portal for readthedocs which is only accessible to the project owner, but the .readthedocs.yaml file will override these config values so it should work once merged in without requiring any further changes in the readthedocs portal.

Which issue(s) this PR fixes

Fixes #42, Fixes #160

@iampelle iampelle changed the base branch from master to Release-4.0.4 August 23, 2023 07:46
@iampelle iampelle merged commit 52188fd into spotify:Release-4.0.4 Aug 23, 2023
3 checks passed
iampelle added a commit that referenced this pull request Aug 23, 2023
* Documentation Build Fix (#164)

* Added readthedocs config yaml file

* Updated broken paths in docs

* fix: requirements.txt to reduce vulnerabilities (#163)

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-TORNADO-5537286

* - Update version and history

---------

Co-authored-by: lrjball <50599110+lrjball@users.noreply.github.com>
Co-authored-by: Snyk bot <github+bot@snyk.io>
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.

Broken links in documentation & unable to edit documentation Documentation build is failing
2 participants