-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrst_epilog.rst.jinja
52 lines (47 loc) · 2.23 KB
/
rst_epilog.rst.jinja
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.. Templated substitutions ====================================================
.. |rsp| replace:: `Rubin Science Platform <{{ env.squareone_url }}>`__
{% if env.is_primary %}
.. |rsp-at| replace:: `Rubin Science Platform <{{ env.squareone_url }}>`__
{% else %}
.. |rsp-at| replace:: `Rubin Science Platform at the {{ env.title }} <{{ env.squareone_url }}>`__
{% endif %}
.. |rsp-env| replace:: {{ env.title_full }}
.. |rsp-env-link| replace:: `{{ env.title_full }} <{{ env.squareone_url }}>`__
{% if env.api_url %}
.. |rsp-api-url| replace:: ``{{ env.api_url }}``
{% endif %}
{% if env.nb_url %}
.. |log-in| replace:: `Log into the Notebook Aspect <{{ env.nb_url }}>`__
.. |open-nb-aspect| replace:: `Open the Notebook Aspect <{{ env.nb_url }}>`__
{% endif %}
.. |rsp-url| replace:: `{{env.squareone_url}} <{{env.squareone_url}}>`__
{% if env.nb_url %}
.. |nb-url| replace:: `{{env.nb_url}} <{{env.nb_url}}>`__
{% endif %}
{% if env.api_tap_url %}
.. |rsp-tap-url| replace:: `{{env.api_tap_url}} <{{env.api_tap_url}}>`__
.. |rsp-tap-url-code| replace:: ``{{env.api_tap_url}}``
{% endif %}
{% if env.times_square_url %}
.. |times-square| replace:: `Times Square <{{env.times_square_url}}>`__
{% endif %}
.. Templated link targets =====================================================
.. _`Homepage`: {{env.squareone_url}}
.. Non-templated link targets =================================================
.. _Astroplan: https://astroplan.readthedocs.io/en/latest/
.. _black: https://black.readthedocs.io/en/stable/
.. _black_nbconvert: https://github.com/dfm/black_nbconvert
.. _`Data Preview 0.2`:
.. _`DP0.2 Guide`: https://dp0-2.lsst.io/
.. _`file browser`: https://jupyterlab.readthedocs.io/en/latest/user/files.html
.. _Jinja: https://jinja.palletsprojects.com/en/3.1.x/
.. _JupyterLab: https://jupyterlab.readthedocs.io/en/latest/
.. _`LSST Science Pipelines documentation`:
.. _`LSST Science Pipelines`: https://pipelines.lsst.io
.. _nbstripout: https://github.com/kynan/nbstripout
.. _pre-commit: https://pre-commit.com
.. _sphinx-jinja: https://github.com/tardyp/sphinx-jinja
.. _JupyterLab terminal:
.. _terminal: https://jupyterlab.readthedocs.io/en/latest/user/terminal.html
.. _tox: https://tox.wiki/en/latest/
.. _venv: https://docs.python.org/3/library/venv.html