onyx icon indicating copy to clipboard operation
onyx copied to clipboard

Expand Github connector to pull wiki documents if exists

Open DAcodedBEAT opened this issue 1 year ago • 2 comments

Github repositories can be configured to have wikis for documentation.

It would be swell if the Github connector can check if the repository is configured to have wikis and pull the wiki documents if they exist.

DAcodedBEAT avatar Nov 02 '23 00:11 DAcodedBEAT

Whoever decides to pick this up, this might help:

  • It looks like PyGithub provides a function to see if a repository has wikis: https://github.com/PyGithub/PyGithub/blob/d5583dd2918809d5bcf92b24620c4327b345e0af/github/Repository.py#L591

  • On wikis, a user can pull down the wiki locally via https://github.com/<org>/<repo>.wiki.git, where .wiki is appended to the URL prior to .git

DAcodedBEAT avatar Nov 05 '23 02:11 DAcodedBEAT

Good suggestion!

yuhongsun96 avatar Nov 07 '23 23:11 yuhongsun96