Skip to content

Commit c6dc9d6

Browse files
committed
DOC: Update top links in landing page
Same intent as PR numpy#17365 -- point "Installation" links to Hugo, start page with "What is NumPy", let Hugo page link to "Troubleshooting ImportError".
1 parent 328135c commit c6dc9d6

File tree

4 files changed

+18
-19
lines changed

4 files changed

+18
-19
lines changed

doc/source/_templates/indexcontent.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ <h1>{{ docstitle|e }}</h1>
1212
<p><strong>For users:</strong></p>
1313
<table class="contentstable" align="center"><tr>
1414
<td width="50%">
15-
<p class="biglink"><a class="biglink" href="{{ pathto("user/setting-up") }}">Setting up</a><br/>
16-
<span class="linkdescr">Learn about what NumPy is and how to install it</span></p>
15+
<p class="biglink"><a class="biglink" href="{{ pathto("user/whatisnumpy") }}">What is NumPy?</a><br/>
16+
<span class="linkdescr">Who uses it and why</span></p>
17+
<p class="biglink"><a class="biglink" href="https://numpy.org/install/">Installation</a><br/>
1718
<p class="biglink"><a class="biglink" href="{{ pathto("user/quickstart") }}">Quickstart</a><br/>
1819
<span class="linkdescr">Aimed at domain experts or people migrating to NumPy</span></p>
1920
<p class="biglink"><a class="biglink" href="{{ pathto("user/absolute_beginners") }}">Absolute beginner's guide</a><br/>

doc/source/user/index.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,17 @@
33
.. _user:
44

55
################
6-
NumPy User Guide
6+
NumPy user guide
77
################
88

9-
This guide is intended as an introductory overview of NumPy and
10-
explains how to install and make use of the most important features of
11-
NumPy. For detailed reference documentation of the functions and
12-
classes contained in the package, see the :ref:`reference`.
9+
This guide is an overview and explains the important features;
10+
details are found in :ref:`reference`.
1311

1412
.. toctree::
1513
:maxdepth: 1
1614

17-
setting-up
15+
whatisnumpy
16+
Installation <https://numpy.org/install/>
1817
quickstart
1918
absolute_beginners
2019
basics

doc/source/user/install.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
****************
2-
Installing NumPy
3-
****************
4-
5-
In most use cases the best way to install NumPy on your system is by using a
6-
pre-built package for your operating system. Please see
7-
https://scipy.org/install.html for links to available options.
8-
9-
For instructions on building for source package, see
10-
:doc:`building`. This information is useful mainly for advanced users.
1+
:orphan:
2+
3+
****************
4+
Installing NumPy
5+
****************
6+
7+
See `Installing NumPy <https://numpy.org/install/>`_.

doc/source/user/troubleshooting-importerror.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
***************************
24
Troubleshooting ImportError
35
***************************
@@ -69,7 +71,7 @@ or conda.
6971
Using Eclipse/PyDev with Anaconda/conda Python (or environments)
7072
----------------------------------------------------------------
7173

72-
Please see the
74+
Please see the
7375
`Anaconda Documentation <https://docs.anaconda.com/anaconda/user-guide/tasks/integration/eclipse-pydev/>`_
7476
on how to properly configure Eclipse/PyDev to use Anaconda Python with specific
7577
conda environments.

0 commit comments

Comments
 (0)