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

Add a section in installation docs about running NEST with EBRAINS #3121

Merged
merged 9 commits into from
Mar 7, 2024
4 changes: 2 additions & 2 deletions doc/htmldoc/installation/cmake_options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Build documentation
If either documentation build is toggled to `ON`, you can then run ``make docs`` if you only want to
build the docs.

See also the :ref:`documentation workflow <doc_workflow>` for user facing and technical docs.
See also the :ref:`documentation workflow <doc_workflow>` for user-facing and technical docs.


External libraries
Expand Down Expand Up @@ -203,7 +203,7 @@ Generic build configuration
| ``-Dwith-intel-compiler-flags=[OFF|<list;of;flags>]``| User defined flags for the Intel compiler |
| | [default='-fp-model strict']. Separate multiple flags by ';'. |
+------------------------------------------------------+------------------------------------------------------------------+
| ``-Dwith-cpp-std=[<C++ standard>]`` | C++ standard to use for compilation [default='c++11']. |
| ``-Dwith-cpp-std=[<C++ standard>]`` | C++ standard to use for compilation [default='c++17']. |
+------------------------------------------------------+------------------------------------------------------------------+
| ``-Dwith-libraries=[OFF|<list;of;libraries>]`` | Link additional libraries [default=OFF]. Give full path. Separate|
| | multiple libraries by ';'. |
Expand Down
19 changes: 17 additions & 2 deletions doc/htmldoc/installation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Install NEST
* :ref:`conda-forge (Linux/macOS) <conda_forge_install>`
* :ref:`Ubuntu PPA (Linux) <ubuntu_install>`
* :ref:`Homebrew (macOS) <macos_install>`
* :ref:`Options for Windows users <windows_install>`
* :ref:`Options for Windows users <windows_install>`


.. grid-item-card:: |dev| Source install
Expand All @@ -27,6 +27,21 @@ Install NEST

* :ref:`dev_install`

.. grid-item-card:: |launch| Try NEST installation-free
:class-title: sd-d-flex-row sd-align-minor-center
:columns: 4

With the JupyterHub service from EBRAINS, you can
try out NEST (and many other tools) directly in your browser.

.. rst-class:: imgbutton

jessica-mitchell marked this conversation as resolved.
Show resolved Hide resolved
.. image:: https://nest-simulator.org/TryItOnEBRAINS.png
:target: https://lab.ebrains.eu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgit.luolix.top%2Fnest%2Fnest-simulator-examples&urlpath=lab%2Ftree%2Fnest-simulator-examples%2Fnotebooks%2Fnotebooks%2Fone_neuron.ipynb&branch=main


* For more info see :ref:`our guide to running Jupyter notebooks on EBRAINS <run_jupyter>`

Install related tools
~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -83,7 +98,7 @@ If installation didn't work, see the :ref:`troubleshooting section <troubleshoot

.. |user| image:: ../static/img/020-user.svg
.. |teacher| image:: ../static/img/014-teacher.svg
.. |admin| image:: ../static/img/001-shuttle.svg
.. |launch| image:: ../static/img/001-shuttle.svg
.. |dev| image:: ../static/img/dev_orange.svg
.. |desktop| image:: ../static/img/nestdesktop022023.svg
.. |nestml| image:: ../static/img/nestml022023.svg
Expand Down
23 changes: 22 additions & 1 deletion doc/htmldoc/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,28 @@ section#kernel-attributes-nest-nestmodule dd {
border: none;
border-bottom: 1px solid #ddd;
}

.imgbutton {

background-color: white;
outline-color: lightgray !important;
outline-style: solid !important;
outline-width: 1px !important;
padding-right: 1px !important;
padding-right: 1px !important;
padding-top: 20px !important;
padding-bottom: 20px !important;
box-shadow: 3px 3px lightgray !important;
}
.imgbutton:hover {

background-color: white;
outline-color: var(--nest-orange) !important;
outline-style: solid !important;
outline-width: 1px !important;
padding-top: 20px !important;
padding-bottom: 20px !important;
box-shadow: 3px 3px var(--nest-orange) !important;
}
/*************************************************************
* Rules for mermaid diagrams
*************************************************************/
Expand Down
Loading