Replace master with main in links and docs/conf.py (#100176)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/100176
Approved by: https://github.com/albanD, https://github.com/malfet
This commit is contained in:
Svetlana Karslioglu
2023-05-02 18:20:27 +00:00
committed by PyTorch MergeBot
parent 0aac244680
commit d425da8bf3
27 changed files with 46 additions and 46 deletions

View File

@ -42,7 +42,7 @@ extensions = [
] if run_doxygen else [])
intersphinx_mapping = {
'pytorch': ('https://pytorch.org/docs/master', None)
'pytorch': ('https://pytorch.org/docs/main', None)
}
# Setup absolute paths for communicating with breathe / exhale where
@ -133,10 +133,10 @@ author = 'PyTorch Contributors'
#
# The short X.Y version.
# TODO: change to [:2] at v1.0
version = 'master'
version = 'main'
# The full version, including alpha/beta/rc tags.
# TODO: verify this works as expected
release = 'master'
release = 'main'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -55,5 +55,5 @@ So, general rules of thumb:
reference count, but never in misbehavior - so it's always the safer bet, unless
the lifetime of the Tensor you're looking to wrap is crystal clear.
More details and implementation code can be found at <https://github.com/pytorch/pytorch/blob/master/c10/util/MaybeOwned.h> and
<https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/templates/TensorBody.h>.
More details and implementation code can be found at <https://github.com/pytorch/pytorch/blob/main/c10/util/MaybeOwned.h> and
<https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/templates/TensorBody.h>.

View File

@ -147,7 +147,7 @@ allowed values for these axes at the moment are:
There exist "Rust-style" shorthands for dtypes, like ``kF32`` instead of
``kFloat32``. See `here
<https://github.com/pytorch/pytorch/blob/master/torch/csrc/api/include/torch/types.h>`_
<https://github.com/pytorch/pytorch/blob/main/torch/csrc/api/include/torch/types.h>`_
for the full list.