Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation organisation and landing page #2784

Merged
merged 3 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions doc/htmldoc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ NEST Simulator documentaiton
:maxdepth: 1
:hidden:

Install NEST <installation/index>
Installation <installation/index>
Tutorials and examples <get-started_index>
Understand how NEST works <understand_index>
PyNEST API <ref_material/pynest_apis>
Built-in models <models/index>
Custom models <https://nestml.readthedocs.io/en/latest/>
Available models <models/index>
Contribute <developer_space/index>
What's new? <whats_new/index>
Community <community>
Expand Down
2 changes: 1 addition & 1 deletion doc/htmldoc/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ ul.srt-menu li li li.sfHover ul {

.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_3 { width: 70%; }
.grid_4 { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
Expand Down
273 changes: 138 additions & 135 deletions doc/htmldoc/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->

<title>NEST documentation index </title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="This is the documentation index for the NEST, a simulator for spiking neuronal networks.">
<meta name="keywords" content="">
<link rel="stylesheet" href="_static/stylesheets/application.css">
<link rel="stylesheet" href="_static/fonts/material-icons.css">
<link rel="stylesheet" href="_static/css/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="_static/css/normalize.css">
<link rel="stylesheet" href="_static/css/default.min.css">
<script src="_static/js/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<link rel="stylesheet" href="_static/js/flexslider/flexslider.css">
<link rel="stylesheet" href="_static/css/custom.css">
<script src="_static/js/modernizr-2.6.2.min.js"></script>
<script src="_static/javascripts/application.js"></script>
<title>NEST documentation index </title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="This is the documentation index for the NEST, a simulator for spiking neuronal networks.">
<meta name="keywords" content="">
<link rel="stylesheet" href="_static/stylesheets/application.css">
<link rel="stylesheet" href="_static/fonts/material-icons.css">
<link rel="stylesheet" href="_static/css/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="_static/css/normalize.css">
<link rel="stylesheet" href="_static/css/default.min.css">
<script src="_static/js/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<link rel="stylesheet" href="_static/js/flexslider/flexslider.css">
<link rel="stylesheet" href="_static/css/custom.css">
<script src="_static/js/modernizr-2.6.2.min.js"></script>
<script src="_static/javascripts/application.js"></script>

<div role="main">

Expand All @@ -29,20 +29,23 @@
<a href="#" id="gototop"><img src="{{ pathto('_static/img/arrow-up-circle.svg',1) }}"/></a>
<header id="header" class="wrapper clearfix">
<div id="background" class="particle-img">
<div id="banner">
<div id="logo">
<img src="{{ pathto('_static/img/nest_docs.png',1) }}" alt="logo"/>
<div id="banner">
<div id="logo">
<img src="{{ pathto('_static/img/nest_docs.png',1) }}" alt="logo"/>
</div>
</div>

<nav id="topnav" role="navigation">
<div class="menu-toggle">Menu</div>
<ul class="srt-menu" id="menu-main-navigation">
<li><a href="https://nest-simulator.org/">The NEST Homepage</a></li>
<li><a href="{{pathto('related_projects')}}">Related projects</a></li>
<li><a href="{{pathto('community')}}">Contact and support</a></li>
</ul>
</nav>
</div>
<nav id="topnav" role="navigation">
<div class="menu-toggle">Menu</div>
<ul class="srt-menu" id="menu-main-navigation">
<li><a href="#intro">Get started</a></li>
<li><a href="#topics">Learn NEST</a></li>
<li><a href="#backmatter">Ecosystem</a></li>
</ul>
</nav>
</header>

<script src="_static/js/tsparticles.min.js"></script>
<script src="_static/js/particles-app.js"></script>

Expand All @@ -51,103 +54,99 @@
<div class="row">
<div class="grid_3">
<h1>Welcome to the NEST Simulator documentation!</h1>
<a href="installation/index.html" class="buttonlink">Install NEST</a>

<p>NEST is used in computational neuroscience to model and study behavior of large networks of neurons. The models describe single neuron and synapse behavior and their connections. Different mechanisms of plasticity can be used to investigate artificial learning and help to shed light on the fundamental principles of how the brain works.</p>
<p>NEST is ideal for networks of spiking neurons of any size, and scales flexibly from running on your laptop to high-performance computing systems involving hundreds of compute nodes.</p>
</div>
<div class="grid_6">
<a href="get-started_index.html" class="buttonlink">Tutorials and examples</a>
<a href="ref_material/pynest_apis.html" class="buttonlink">PyNEST API</a>
<a href="models/index.html" class="buttonlink">Built-in Models</a>
<a href="https://nestml.readthedocs.io" class="buttonlink">Custom models</a>
<a href="understand_index.html" class="buttonlink">Further topics</a>
</div>
<div class="grid_3">
<a href="community.html" class="buttonlink" style="float: right;">Contact us</a>
<a href="installation/index.html" class="buttonlink">Install NEST</a>
<a href="get-started_index.html" class="buttonlink">Tutorials and examples</a>
<a href="ref_material/pynest_apis.html" class="buttonlink">PyNEST API</a>
<a href="models/index.html" class="buttonlink">Available models</a>
<a href="understand_index.html" class="buttonlink">How NEST works</a>
</div>
</section>

</div>
<section id="intro" class="vertical-padding">
<div id="main" class="blueelement wrapper clearfix">
<div class="row vertical-padding">
<div class="grid_12">
<h2 id="nest-sample"> Here is a sample NEST script. Click each section and discover related topics!</h2>
</div>


<div class="accordion"> <img id="pulse" src="_static/img/pulse.svg" style="position:relative" />
<pre><code class="language-python">
import nest
</code></pre>
<div>
<ul>
<li><a href="installation/index.html">Get and install NEST</a></li>
<li><a href="ref_material/pynest_apis.html">Access PyNEST APIs</a></li>
<li><a href= "release_notes/v3.0/refguide_nest2_nest3.html">Convert script from NEST 2.x to 3.x</a></li>
</ul>
</div>
</section>


<pre><code class="language-python">
neurons = nest.Create("iaf_psc_alpha", 10000, {
"V_m": nest.random.normal(-5.0),
"I_e": 1000.0
})
</code></pre>

<div>
<ul>
<li><a href="neurons/node_handles.html">Learn about creating neurons</a></li>
<li><a href= "neurons/parametrization.html">Discover parameterization possibilities</a></li>
<li><a href="models/index_neuron.html">Want a different neuron model? Find them all here!</a></li>
<li><a href="nest_behavior/random_numbers.html">Learn how we do randomness in NEST</a></li>
<li><a href="ref_material/pynest_apis.html#module-nest.lib.hl_api_nodes">Get API docs for Create</a></li>
</ul>
</div>
<pre><code class="language-python">
input = nest.Create("noise_generator", params={
"amplitude": 500.0
})
nest.Connect(input, neurons, syn_spec={'synapse_model': 'stdp_synapse'})
</code></pre>
<div>
<ul>
<li><a href="devices/stimulate_the_network.html">Learn about stimulating the network</a></li>
<li><a href="models/index_generator.html">Explore the stimulators in our model directory</a></li>
<li><a href="synapses/handling_connections.html">Find out more about synapse creation in NEST</a></li>
<li><a href="synapses/connection_management.html">Find out how to manage connections in NEST</a></li>
</ul>
</div>

<pre><code class="language-python">
spikes = nest.Create("spike_recorder", params={
'record_to': 'ascii',
'label': 'excitatory_spikes'
})
nest.Connect(neurons, spikes)
</code></pre>
<div>
<ul>
<li><a href="devices/record_from_simulations.html">Get more info on recording from simulations</a></li>
<li><a href="models/index_recorder.html">See our recording devices in our model directory</a></li>
<li><a href="ref_material/pynest_apis.html#module-nest.lib.hl_api_connections">Get API docs for Connect</a></li>
</ul>
</div>

<pre><code class="language-python">
nest.Simulate(100.0)
nest.raster_plot.from_device(spikes, hist=True)
plt.show()
</code></pre>
<div>
<ul>
<li><a href="nest_behavior/running_simulations.html">Check out our guide how to run simulations</a></li>
<li><a href="ref_material/pynest_apis.html#nest.lib.hl_api_simulation.Simulate">Get API docs for Simulate</a></li>
</ul>
<section id="intro" class="vertical-padding">
<div id="main" class="blueelement wrapper clearfix">
<div class="row vertical-padding">
<div class="grid_12">
<h2 id="nest-sample"> Here is a sample NEST script. Click each section and discover related topics!</h2>
</div>

<div class="accordion"> <img id="pulse" src="_static/img/pulse.svg" style="position:relative" />
<pre><code class="language-python">
import nest
</code></pre>
<div>
<ul>
<li><a href="installation/index.html">Get and install NEST</a></li>
<li><a href="ref_material/pynest_apis.html">Access PyNEST APIs</a></li>
<li><a href= "release_notes/v3.0/refguide_nest2_nest3.html">Convert script from NEST 2.x to 3.x</a></li>
</ul>
</div>

<pre><code class="language-python">
neurons = nest.Create("iaf_psc_alpha", 10000, {
"V_m": nest.random.normal(-5.0),
"I_e": 1000.0
})
</code></pre>
<div>
<ul>
<li><a href="neurons/node_handles.html">Learn about creating neurons</a></li>
<li><a href= "neurons/parametrization.html">Discover parameterization possibilities</a></li>
<li><a href="models/index_neuron.html">Want a different neuron model? Find them all here!</a></li>
<li><a href="nest_behavior/random_numbers.html">Learn how we do randomness in NEST</a></li>
<li><a href="ref_material/pynest_apis.html#module-nest.lib.hl_api_nodes">Get API docs for Create</a></li>
</ul>
</div>

<pre><code class="language-python">
input = nest.Create("noise_generator", params={
"amplitude": 500.0
})
nest.Connect(input, neurons, syn_spec={'synapse_model': 'stdp_synapse'})
</code></pre>
<div>
<ul>
<li><a href="devices/stimulate_the_network.html">Learn about stimulating the network</a></li>
<li><a href="models/index_generator.html">Explore the stimulators in our model directory</a></li>
<li><a href="synapses/handling_connections.html">Find out more about synapse creation in NEST</a></li>
<li><a href="synapses/connection_management.html">Find out how to manage connections in NEST</a></li>
</ul>
</div>

<pre><code class="language-python">
spikes = nest.Create("spike_recorder", params={
'record_to': 'ascii',
'label': 'excitatory_spikes'
})
nest.Connect(neurons, spikes)
</code></pre>
<div>
<ul>
<li><a href="devices/record_from_simulations.html">Get more info on recording from simulations</a></li>
<li><a href="models/index_recorder.html">See our recording devices in our model directory</a></li>
<li><a href="ref_material/pynest_apis.html#module-nest.lib.hl_api_connections">Get API docs for Connect</a></li>
</ul>
</div>

<pre><code class="language-python">
nest.Simulate(100.0)
nest.raster_plot.from_device(spikes, hist=True)
plt.show()
</code></pre>
<div>
<ul>
<li><a href="nest_behavior/running_simulations.html">Check out our guide how to run simulations</a></li>
<li><a href="ref_material/pynest_apis.html#nest.lib.hl_api_simulation.Simulate">Get API docs for Simulate</a></li>
</ul>
</div>
</div>
</div>
</div>

</div>
</section>

<section id="topics" class="vertical-padding">
Expand Down Expand Up @@ -189,6 +188,7 @@ <h2 id="nest-sample"> Here is a sample NEST script. Click each section and disco
</div>
</div>
</section>

<section id="backmatter" class="greenelement vertical-padding">
<div class="wrapper clearfix">
<h1>Related projects</h1>
Expand All @@ -214,34 +214,37 @@ <h1>Developer space</h1>
code is rock solid at all times. If you want the gritty details
and find out how it's done
come to the dark side! See our <a href="developer_space/index.html">developer facing documentation.</a>
</p>
</p>
</div>
</section>

<footer>
<div id="colophon" class="wrapper clearfix">
<div class="grid_4 narrow">
<img class="icon" src="_static/img/3_HBP + EBRAINS logo_Color+White.png" />
</div>
<div class="grid_4 narrow">
<img class="icon" src="_static/img/eu_logo.png" />
</div>
<div class="grid_4 narrow">
<h2><a href="https://github.com/nest/nest-simulator/blob/master/ACKNOWLEDGMENTS.md">Acknowledgments</a></h2>
<div class="grid_4 narrow">
<img class="icon" src="_static/img/3_HBP + EBRAINS logo_Color+White.png" />
</div>
<div class="grid_4 narrow">
<img class="icon" src="_static/img/eu_logo.png" />
</div>
<div class="grid_4 narrow">
<h2><a href="https://github.com/nest/nest-simulator/blob/master/ACKNOWLEDGMENTS.md">Acknowledgments</a></h2>
<p>NEST is grateful for the support from numerous organizations and individuals.</p> <br>
</div>
</div>
</div>
</div>
<div id="attribution" class="wrapper-92 clearfix" style="color:#666;">
Site built with ♥ using <a href="http://www.prowebdesign.ro/simple-responsive-template/" target="_blank">Simple Responsive Template</a>
by <a href="http://www.prowebdesign.ro/" target="_blank" title="www.prowebdesign.ro">Prowebdesign.ro</a>,
<a href="attribution-list.html">Free Amateur Icons</a> and <a href="https://particles.js.org/">tsParticles.js</a>.
</footer>
</div>
<script src="_static/js/jquery-3.6.0.min.js"></script>
<script src="_static/js/jquery-ui.min.js"></script>
<script defer src="_static/js/flexslider/jquery.flexslider-min.js"></script>
<script src="_static/js/bootstrap/bootstrap.bundle.min.js"></script>
<script src="_static/js/custom.js"></script>
<script src="_static/js/main.js"></script>
</footer>
</div>

<script src="_static/js/jquery-3.6.0.min.js"></script>
<script src="_static/js/jquery-ui.min.js"></script>
<script defer src="_static/js/flexslider/jquery.flexslider-min.js"></script>
<script src="_static/js/bootstrap/bootstrap.bundle.min.js"></script>
<script src="_static/js/custom.js"></script>
<script src="_static/js/main.js"></script>

</html>

6 changes: 3 additions & 3 deletions doc/htmldoc/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
<nav id="topnav" role="navigation">
<div class="menu-toggle">Menu</div>
<ul class="srt-menu" id="menu-main-navigation">
<li><a href="https://www.nest-simulator.org">NEST Homepage</a></li>
<li><a href="{{pathto('related_projects')}}">Related projects</a></li>
<li><a href="{{pathto('community')}}">Contact us</a></li>
<li><a href="https://nest-simulator.org/">The NEST Homepage</a></li>
<li><a href="{{pathto('related_projects')}}">Related projects</a></li>
<li><a href="{{pathto('community')}}">Contact and support</a></li>
</ul>
</nav>
</div>
Expand Down
Loading