Add support for custom GitHub URLs for code linking.

Review Request #12741 — Created Nov. 27, 2022 and submitted — Latest diff uploaded

Information

beanbag-docutils
master

Reviewers

This updates github_linkcode_resolve to take a github_url argument,
which points to the base URL of the GitHub server for code linking.
This defaults to github.com, but can be customized for other installs.

This fixes beanbaginc/beanbag-docutils#3.

Unit tests pass.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add support for custom GitHub URLs for code linking.
This updates `github_linkcode_resolve` to take a `github_url` argument, which points to the base URL of the GitHub server for code linking. This defaults to github.com, but can be customized for other installs. This fixes beanbaginc/beanbag-docutils#3.
ee4f931fe9919d67d7aa3c431073234b303d3d44 Christian Hammond
beanbag_docutils/sphinx/ext/github.py
beanbag_docutils/sphinx/ext/tests/test_github.py
Loading...