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:
Jeremy Reizenstein
2021-08-16 04:05:20 -07:00
committed by Facebook GitHub Bot
parent 103da63393
commit b0dd0c8821
15 changed files with 40 additions and 40 deletions

View File

@@ -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