mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-21 14:50:36 +08:00
rename master branch to main
Summary: Change doc references to master branch to its new name main. Reviewed By: nikhilaravi Differential Revision: D30303018 fbshipit-source-id: cfdbb207dfe3366de7e0ca759ed56f4b8dd894d1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
103da63393
commit
b0dd0c8821
@@ -159,7 +159,7 @@ html_theme_options = {"collapse_navigation": True}
|
||||
def url_resolver(url):
|
||||
if ".html" not in url:
|
||||
url = url.replace("../", "")
|
||||
return "https://github.com/facebookresearch/pytorch3d/blob/master/" + url
|
||||
return "https://github.com/facebookresearch/pytorch3d/blob/main/" + url
|
||||
else:
|
||||
if DEPLOY:
|
||||
return "http://pytorch3d.readthedocs.io/" + url
|
||||
|
||||
Reference in New Issue
Block a user