summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-06-08 18:41:04 +0300
committerGitHub <noreply@github.com>2021-06-08 18:41:04 +0300
commitb9a63f5052b0ba5a7a5b2616ddcc1754df177bd3 (patch)
treeb623ff7bca1e80925141856e73a4bb0ab6afad8f
parent5c4aac16b54284a59bc5af34e731be7299cbb1d1 (diff)
parent683a37a03f24f7b090950a40d472b199834cca22 (diff)
downloadnumpy-b9a63f5052b0ba5a7a5b2616ddcc1754df177bd3.tar.gz
Merge pull request #19196 from mwtoews/doc-branch-name
DOC: update references to other repos head branch to 'main'
-rw-r--r--doc/RELEASE_WALKTHROUGH.rst.txt4
-rw-r--r--doc/source/conf.py1
-rw-r--r--doc/source/user/how-to-how-to.rst5
3 files changed, 4 insertions, 6 deletions
diff --git a/doc/RELEASE_WALKTHROUGH.rst.txt b/doc/RELEASE_WALKTHROUGH.rst.txt
index 4fbc7af1c..6febd554f 100644
--- a/doc/RELEASE_WALKTHROUGH.rst.txt
+++ b/doc/RELEASE_WALKTHROUGH.rst.txt
@@ -102,8 +102,8 @@ someone else, then create a new branch for the series. If the branch already
exists skip this::
$ cd ../numpy-wheels
- $ git co master
- $ git pull upstream master
+ $ git checkout main
+ $ git pull upstream main
$ git branch v1.19.x
Checkout the new branch and edit the ``azure-pipelines.yml`` and
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 5ba7f70b8..a49074922 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -295,6 +295,7 @@ intersphinx_mapping = {
'pandas': ('https://pandas.pydata.org/pandas-docs/stable', None),
'scipy-lecture-notes': ('https://scipy-lectures.org', None),
'pytest': ('https://docs.pytest.org/en/stable', None),
+ 'numpy-tutorials': ('https://numpy.org/numpy-tutorials', None),
}
diff --git a/doc/source/user/how-to-how-to.rst b/doc/source/user/how-to-how-to.rst
index 16a2fc7a4..13d2b405f 100644
--- a/doc/source/user/how-to-how-to.rst
+++ b/doc/source/user/how-to-how-to.rst
@@ -105,10 +105,7 @@ deep dives intended to give understanding rather than immediate assistance,
and `References`, which give complete, autoritative data on some concrete
part of NumPy (like its API) but aren't obligated to paint a broader picture.
-For more on tutorials, see the `tutorial how-to`_.
-
-.. _`tutorial how-to`: https://github.com/numpy/numpy-tutorials/blob/master/tutorial_style.ipynb
-
+For more on tutorials, see :doc:`content/tutorial-style-guide`
******************************************************************************
Is this page an example of a how-to?