Skip to content

Commit efef761

Browse files
committed
creates the new toctrees to start seeing content
1 parent 80c0694 commit efef761

File tree

5 files changed

+143
-25
lines changed

5 files changed

+143
-25
lines changed

doc/api/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1+
==============
2+
API Reference
3+
==============
4+
15
Could be nice to have an API section homepage
6+
7+
.. toctree::
8+
:caption: API Reference
9+
:hidden:
10+
11+
Modules <climada/climada>

doc/development/index.rst

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
====================
2-
Developer guide
3-
====================
1+
.. include:: ../misc/CONTRIBUTING.md
2+
:parser: commonmark
43

5-
Landing page of the Development section
4+
.. toctree::
5+
:maxdepth: 1
6+
:caption: Developer Guide
7+
:hidden:
68

7-
Introduce the section and links to all Development guides
9+
Development with Git <Guide_Git_Development>
10+
Guide_CLIMADA_Tutorial
11+
Guide_Configuration
12+
Guide_Testing
13+
Guide_continuous_integration_GitHub_actions
14+
Guide_Review
15+
Guide_PythonDos-n-Donts
16+
Guide_Exception_Logging
17+
Performance and Best Practices <Guide_Py_Performance>
18+
CLIMADA Coding Conventions <Guide_CLIMADA_conventions>
19+
Building the Documentation <../misc/README>

doc/getting-started/index.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You are good to go!
2020

2121
.. seealso::
2222

23-
You don't have conda installed or you are looking for advaced installation instructions ? Look up our `detailed instructions <http://www.python.org>`__ on CLIMADA installation.
23+
You don't have conda installed or you are looking for advanced installation instructions? Look up our :doc:`detailed instructions <install>` on CLIMADA installation.
2424

2525

2626
.. dropdown:: How does CLIMADA compute impacts ?
@@ -58,3 +58,10 @@ You are good to go!
5858
:icon: unlock
5959

6060
And some content!
61+
62+
.. toctree::
63+
:maxdepth: 1
64+
:hidden:
65+
66+
install
67+
Python Introduction <0_intro_python>

doc/index.rst

Lines changed: 91 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,96 @@ Welcome to CLIMADA!
66
:align: center
77
:alt: CLIMADA Logo
88

9-
CLIMADA stands for CLIMate ADAptation and is a probabilistic natural catastrophe impact model, that also calculates averted damage (benefit) thanks to adaptation measures of any kind (from grey to green infrastructure, behavioural, etc.).
9+
CLIMADA (CLIMate ADAptation) is a free and open-source software framework for
10+
comprehensive climate risk assessment. Designed by a large scientific community,
11+
CLIMADA offers a robust and flexible platform to analyse the impacts of natural
12+
hazards and explore adaptation strategies, and it can be used by researchers,
13+
policy and decision-makers.
1014

11-
CLIMADA is primarily developed and maintained by the `Weather and Climate Risks Group <https://wcr.ethz.ch/>`_ at `ETH Zürich <https://ethz.ch/en.html>`_.
15+
CLIMADA is primarily developed and maintained by the `Weather and Climate Risks
16+
Group <https://wcr.ethz.ch/>`_ at `ETH Zürich <https://ethz.ch/en.html>`_.
1217

13-
If you use CLIMADA for your own scientific work, please reference the appropriate publications according to the :doc:`misc/citation`.
18+
If you use CLIMADA for your own scientific work, please reference the
19+
appropriate publications according to the :doc:`misc/citation`.
1420

15-
This is the documentation of the CLIMADA core module which contains all functionalities necessary for performing climate risk analysis and appraisal of adaptation options. Modules for generating different types of hazards and other specialized applications can be found in the `CLIMADA Petals <https://climada-petals.readthedocs.io/en/stable/>`_ module.
21+
This is the documentation of the CLIMADA core module which contains all
22+
functionalities necessary for performing climate risk analysis and appraisal of
23+
adaptation options. Modules for generating different types of hazards and other
24+
specialized applications can be found in the `CLIMADA Petals
25+
<https://climada-petals.readthedocs.io/en/stable/>`_ module.
1626

17-
Jump right in:
27+
.. grid:: 1 2 2 2
28+
:gutter: 4
29+
:padding: 2 2 0 0
30+
:class-container: sd-text-center
1831

19-
* :doc:`README <misc/README>`
20-
* :doc:`Getting Started <guide/Guide_get_started>`
21-
* :doc:`Installation <guide/install>`
22-
* :doc:`Overview <tutorial/1_main_climada>`
23-
* `GitHub Repository <https://github.com/CLIMADA-project/climada_python>`_
24-
* :doc:`Module Reference <climada/climada>`
32+
.. grid-item-card:: Getting Started
33+
:shadow: md
34+
35+
Getting started with CLIMADA: How to install?
36+
What are the basic concepts and functionalities?
37+
38+
+++
39+
40+
.. button-ref:: getting-started/index
41+
:ref-type: doc
42+
:click-parent:
43+
:color: secondary
44+
:expand:
45+
46+
47+
.. grid-item-card:: User Guide
48+
:shadow: md
49+
50+
Want to go more in depth? Check out the User guide. It contains detailed
51+
tutorials on the different concepts, modules and possible usage of CLIMADA.
52+
53+
+++
54+
55+
.. button-ref:: user-guide/index
56+
:ref-type: doc
57+
:click-parent:
58+
:color: secondary
59+
:expand:
60+
61+
To the user guide!
62+
63+
64+
65+
.. grid-item-card:: Implementation API reference
66+
:shadow: md
67+
68+
The reference guide contains a detailed description of
69+
the CLIMADA API. The API reference describes each module, class,
70+
methods and functions.
71+
72+
+++
73+
74+
.. button-ref:: api/index
75+
:ref-type: doc
76+
:click-parent:
77+
:color: secondary
78+
:expand:
79+
80+
To the reference guide!
81+
82+
.. grid-item-card:: Developer guide
83+
:shadow: md
84+
85+
Saw a typo in the documentation? Want to improve
86+
existing functionalities? Want to extend them?
87+
The contributing guidelines will guide you through
88+
the process of improving CLIMADA.
89+
90+
+++
91+
92+
.. button-ref:: development/index
93+
:ref-type: doc
94+
:click-parent:
95+
:color: secondary
96+
:expand:
97+
98+
To the development guide!
2599

26100
.. ifconfig:: readthedocs
27101

@@ -31,6 +105,8 @@ Jump right in:
31105
Use the drop-down menu on the bottom left to switch versions.
32106
``stable`` refers to the most recent release, whereas ``latest`` refers to the latest development version.
33107

108+
**Date**: |today| **Version**: |version|
109+
34110
.. admonition:: Copyright Notice
35111

36112
Copyright (C) 2017 ETH Zurich, CLIMADA contributors listed in :doc:`AUTHORS.md <misc/AUTHORS>`.
@@ -49,13 +125,13 @@ Jump right in:
49125

50126
.. toctree::
51127
:maxdepth: 1
128+
:hidden:
52129

53130
Getting started <getting-started/index>
54131
User Guide <user-guide/index>
55132
Development <development/index>
56-
API <api/index>
57-
Authors <misc/AUTHORS>
133+
API Reference <api/index>
134+
About <misc/AUTHORS>
58135
Changelog <misc/CHANGELOG>
59-
Contribute <misc/CONTRIBUTING>
60136
CLIMADA Petals <https://climada-petals.readthedocs.io/en/stable/>
61-
Weather and Climate Risks Group <https://wcr.ethz.ch/>
137+
WCR Group <https://wcr.ethz.ch/>

doc/user-guide/index.rst

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
1-
===================
1+
====================
22
User guide
3-
===================
3+
====================
44

5-
Landing page of User guide
5+
Landing page of the user guide
66

7-
Introduce the tutorials and links to them
7+
.. toctree::
8+
:maxdepth: 2
9+
:caption: User guides
10+
:hidden:
11+
12+
Overview <1_main_climada>
13+
Hazard <hazard>
14+
Exposures <exposures>
15+
Impact <impact>
16+
Uncertainty Quantification <unsequa>
17+
climada_engine_Forecast
18+
climada_util_calibrate
19+
Google Earth Engine <climada_util_earth_engine>
20+
climada_util_api_client

0 commit comments

Comments
 (0)