Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hook for changing 'Edit on GitHub' links (#10)
These links are fine by default for normal `.rst` pages, but for sphinx gallery pages the link ends up being the `.rst` that was generated from the original `.py`. This adds a hook function that TVM can specify in its `docs/conf.py` to change the URLs to match the repo structure (in this case a 1 line regex replace)
- Loading branch information