beanbaginc / beanbag-docutils

Documentation utilities for Beanbag products.
MIT License
5 stars 4 forks source link

Support custom GitHub hostname #3

Closed tmct closed 1 year ago

tmct commented 1 year ago

Hi,

github_linkcode_resolve looks really useful! I'm using it with a self-hosted GitHub instance, so am currently changing the hostname with e.g. .replace("github.com", "git.my.lan") + some None-checking. How would you feel about one more optional keyword argument, e.g. github_linkcode_resolve(..., github_host="https://git.my.lan")?

Thanks, Tom

chipx86 commented 1 year ago

Hi Tom,

I'm completely on board with that!

We don't do pull requests on GitHub (we make a code review product, so we use that for all review — https://reviews.reviewboard.org). If you're up for posting it there, the process would be to:

  1. Install RBTools (which will let you post to Review Board): pip3 install RBTools
  2. Clone our repo, make a change in a branch.
  3. Run rbt post to post the change for review. That'll create the review request, which you can fill out with any testing information. If you make code changes, you can update with rbt post -u.

No need to fork the repo for that. You can operate directly off our clone.

I'm actively doing work on beanbag-docutils for an upcoming release, so alternatively, let me know and I can just throw a change together.

chipx86 commented 1 year ago

We're putting this into 2.1 (due in a week or two).

Thanks for the feature request!

https://reviews.reviewboard.org/r/12741/

tmct commented 1 year ago

Great, thank you!