Skip to content

Commit b9648c0

Browse files
authored
Merge pull request #1518 from steffengraber/cleanup-doc
Fix sphinx-build warnings
2 parents 488bdb4 + 444fd2f commit b9648c0

32 files changed

+59
-31
lines changed

doc/README.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
:orphan:
2+
13
The doc folder
2-
===============
4+
==============
35

46
The documentation for NEST is contained in this folder. We are currently working
57
on improving the documentation and making updates. However, if you notice

doc/citing-nest.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Cite NEST
24
=========
35

doc/contribute/mailing_list_guidelines.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
:orphan:
2+
13
Guidelines for contributing to the mailing list
2-
=================================================
4+
===============================================
35

46
To ensure community members provide accurate and quick responses to questions on the mailing list,
57
please follow the guidelines below:
@@ -40,4 +42,3 @@ knowledge and experience to those seeking advice.
4042
`Access the mailing list here <https://www.nest-initiative.org/mailinglist/>`_
4143
------------------------------------------------------------------------------------
4244

43-
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
:orphan:
2+
13
PyNEST example template
2-
==========================
4+
=======================
35

46

57
.. literalinclude:: pynest_example_template.py
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
:orphan:
2+
13
PyNEST API template
2-
=====================
4+
===================
35

46
.. literalinclude:: pynest_api_template.py

doc/contribute/templates_styleguides/vim_support_sli.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Vim support for SLI files
24
=========================
35

@@ -14,4 +16,4 @@ Then add the following lines to your ``~/.vimrc`` file to use it:
1416
1517
" sli
1618
au BufRead,BufNewFile *.sli set filetype=sli
17-
au FileType sli setl foldenable foldmethod=syntax
19+
au FileType sli setl foldenable foldmethod=syntax

doc/examples/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ PyNEST examples
4646
:maxdepth: 1
4747
:caption: Random balanced network examples
4848

49-
../auto_examples/brunel_alpha_numpy
5049
../auto_examples/brunel_alpha_nest
5150
../auto_examples/brunel_delta_nest
5251
../auto_examples/brunel_siegert_nest

doc/faqs/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Frequently Asked Questions
24
==========================
35

doc/features.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ Supported platforms
135135
By support we mean that we regularly test and use NEST on recent
136136
versions of these systems and that NEST therefore should work on those
137137
systems. It should not be construed as any warranty that NEST will run
138-
on any particular system.
138+
on any particular system.

doc/glossary.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
:orphan:
2+
13
Glossary
2-
==============
4+
========
35

46
Common abbreviations in NEST
5-
------------------------------
7+
----------------------------
68
.. glossary::
79

810
iaf
@@ -57,7 +59,7 @@ Common abbreviations in NEST
5759
virtual process
5860

5961
Physical units and variable names used for NEST parameters
60-
-------------------------------------------------------------
62+
----------------------------------------------------------
6163

6264
.. note::
6365

@@ -141,4 +143,3 @@ Physical units and variable names used for NEST parameters
141143
Potassium reversal potential in mV.
142144

143145

144-

doc/guides/conngen_interface.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
The Connection Generator Interface
24
==================================
35

doc/guides/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Here you can find details on a variety of topics in NEST.
3131
:maxdepth: 1
3232
:caption: Model Details
3333

34-
exact-integration
34+
exact-integration

doc/guides/nest2_to_nest3/nest2_to_nest3_detailed_transition_guide.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ The logic module contains logical expressions between nest.Parameter's.
427427
.. _distr_param:
428428

429429
:green:`spatial_distributions`
430-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
431431
The spatial_distributions module contains random distributions that take a spatial
432432
parameter as input and applies the distribution on the parameter. They are used
433433
for spatially distributed nodes.

doc/guides/nest2_to_nest3/nest2_to_nest3_overview.rst

+1-7
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ as NodeCollections.
394394

395395
.. seealso::
396396

397-
You can find a :doc:`full example <../examples/SynapseCollection>` in our example network page
397+
You can find a :doc:`full example <../../auto_examples/synapsecollection>` in our example network page.
398398

399399
Printing
400400
Printing a SynapseCollection produces a table of source and target node IDs
@@ -1468,8 +1468,6 @@ All details about the new infrastructure can be found in the guide on
14681468
What's removed?
14691469
---------------
14701470

1471-
.. subnet_rm::
1472-
14731471
Subnets
14741472
~~~~~~~
14751473

@@ -1502,8 +1500,6 @@ prints ID ranges and model names of the nodes in the network.
15021500
| | |
15031501
+----------------------------------------------+---------------------------------------+
15041502

1505-
.. model_rm::
1506-
15071503
Models
15081504
~~~~~~
15091505

@@ -1527,8 +1523,6 @@ be used instead.
15271523
Furthermore, the model `iaf_tum_2000` has been renamed to `iaf_psc_exp_htum`. iaf_psc_exp_htum is
15281524
the exact same model as iaf_tum_2000, it has just been renamed to match NEST's naming conventions.
15291525

1530-
.. function_rm::
1531-
15321526
Functions
15331527
~~~~~~~~~
15341528

doc/guides/running_simulations.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ end of the interval* during which the threshold was crossed.
112112

113113
NEST also has a some models that determine the precise time of the
114114
threshold crossing during the interval. Please see the documentation on
115-
:doc:`precise spike time neurons <simulations_with_precise_spike_time>`
115+
:doc:`precise spike time neurons <simulations_with_precise_spike_times>`
116116
for details about neuron update in continuous time and the
117117
:doc:`documentation on connection management <connection_management>`
118118
for how to set the delay when creating synapses.

doc/guides/spatial/guide_spatially_structured_networks.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ To create a spatially distributed NodeCollection from a list, do the following:
299299
:start-after: #{ layer4b #}
300300
:end-before: #{ end #}
301301

302-
.. _fig_layer4:
302+
.. _fig_layer4b:
303303

304304
.. figure:: user_manual_figures/layer4b.png
305305
:name: fig:layer4b
@@ -339,7 +339,7 @@ the shape argument, ``shape=[nx, ny, nz]``:
339339
:start-after: #{ layer4_3d_b #}
340340
:end-before: #{ end #}
341341

342-
.. _fig_layer4_3d:
342+
.. _fig_layer4_3d_b:
343343

344344
.. figure:: user_manual_figures/layer4_3d_b.png
345345
:name: fig:layer4_3d_b

doc/guides/spatial/pynest.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
pynest package
24
==============
35

doc/installation/index.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ provide containerized versions of NEST in several formats:
208208
generated, as shown below. You can then copy and paste the
209209
link into your browser.
210210

211-
.. image:: ../../_static/img/docker_link.png
211+
.. image:: ../_static/img/docker_link.png
212212
:align: center
213213
:width: 1000px
214214

@@ -332,7 +332,6 @@ these instructions.**
332332

333333
linux_install
334334
mac_install
335-
conda_install
336335
hpc_install
337336
livemedia
338337
install_options

doc/sli_docs/an-introduction-to-sli.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
An Introduction to SLI
24
======================
35

doc/sli_docs/first-steps.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
First Steps
24
===========
35

doc/sli_docs/neural-simulations.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Neural simulations
24
==================
35

doc/sli_docs/objects-and-data-types.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Objects and data types
24
======================
35

doc/sli_docs/programming-in-sli.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Programming in SLI
24
==================
35

doc/sli_docs/using-files-and-keyboard-input.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Using files and keyboard input
24
==============================
35

doc/tutorials/music_tutorial/music_tutorial_parrot.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Those parrot neurons, or why you never connect devices to each other
24
--------------------------------------------------------------------
35

doc/tutorials/music_tutorial/music_tutorial_setlatency.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
The SetAcceptableLatency command
24
--------------------------------
35

doc/tutorials/music_tutorial/music_tutorial_sli.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
MUSIC with SLI
24
==============
35

doc/tutorials/pynest_tutorial/part_4_spatially_structured_networks.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,7 @@ was built correctly:
375375

376376
It may also be useful to look at the ``.spatial`` property of the
377377
NodeCollection, which describes the spatial properties. Other useful
378-
functions that may be of help are listed in :doc:`<../../ref_material/nest2_vs_3>`
379-
Section 4.1 *Query functions*.
378+
functions that may be of help are listed in the :doc:`../../guides/nest2_to_nest3/nest2_to_nest3_detailed_transition_guide`.
380379

381380
>>> ex_pop.spatial
382381
{'center': (0.0, 0.0),

pynest/examples/glif_cond_neuron.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
"""
2323
Conductance-based generalized leaky integrate and fire (GLIF) neuron example
24-
--------------------------------
24+
----------------------------------------------------------------------------
2525
2626
Simple example of how to use the ``glif_cond`` neuron model for
2727
five different levels of GLIF neurons.

pynest/examples/glif_psc_neuron.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
"""
2323
Current-based generalized leaky integrate and fire (GLIF) neuron example
24-
--------------------------------
24+
------------------------------------------------------------------------
2525
2626
Simple example of how to use the ``glif_psc`` neuron model for
2727
five different levels of GLIF neurons.

pynest/examples/spatial/connex_ew.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
"""
2323
NEST spatial example
24+
--------------------
2425
2526
Create two populations of iaf_psc_alpha neurons on a 30x30 grid with edge_wrap,
2627
connect with circular mask, flat probability,

pynest/examples/spatial/hill_tononi_Vp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def nop(s=None, block=None):
461461

462462
##############################################################################
463463
# Synapse models
464-
# =-------------
464+
# --------------
465465
#
466466
# Actual synapse dynamics, e.g., properties such as the synaptic time
467467
# course, time constants, reversal potentials, are properties of

0 commit comments

Comments
 (0)