Problem
The "Edit on GitHub" links in the documentation are pointing to the old nexB organization instead of aboutcode-org. While GitHub redirects them automatically, it would be better to have them point to the correct place directly.
Steps to reproduce
- Go to https://aboutcode.readthedocs.io/en/latest/
-
- Click the GitHub icon in the top right (or any "Edit on GitHub" link)
-
- Notice the URL shows
github.com/nexB/aboutcode before redirecting to github.com/aboutcode-org/aboutcode
Expected behavior
The links should point directly to github.com/aboutcode-org/aboutcode without needing a redirect.
Suggested fix
Update the github_user field in docs/source/conf.py from "nexB" to "aboutcode-org".
html_context = {
"display_github": True,
"github_user": "aboutcode-org", # was "nexB"
"github_repo": "aboutcode",
"github_version": "master",
"conf_py_path": "/docs/source/",
}
This is a simple one-line change that fixes all the Edit on GitHub links throughout the docs.
Problem
The "Edit on GitHub" links in the documentation are pointing to the old nexB organization instead of aboutcode-org. While GitHub redirects them automatically, it would be better to have them point to the correct place directly.
Steps to reproduce
github.com/nexB/aboutcodebefore redirecting toproxy.fjygbaifeng.eu.org/aboutcode-org/aboutcodeExpected behavior
The links should point directly to
github.com/aboutcode-org/aboutcodewithout needing a redirect.Suggested fix
Update the
github_userfield indocs/source/conf.pyfrom"nexB"to"aboutcode-org".This is a simple one-line change that fixes all the Edit on GitHub links throughout the docs.