Skip to content

Commit 4102232

Browse files
committed
url fixing WIP
1 parent 400eb73 commit 4102232

18 files changed

+107
-84
lines changed

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
(authors)=
12
# CLIMADA List of Authors
23

34
* Gabriela Aznar-Siguan

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Removed:
203203
### Added
204204

205205
- Convenience method `api_client.Client.get_dataset_file`, combining `get_dataset_info` and `download_dataset`, returning a single file objet. [#821](https://github.com/CLIMADA-project/climada_python/pull/821)
206-
- Read and Write methods to and from csv files for the `DiscRates` class. [#818](ttps://github.com/CLIMADA-project/climada_python/pull/818)
206+
- Read and Write methods to and from csv files for the `DiscRates` class. [#818](https://github.com/CLIMADA-project/climada_python/pull/818)
207207
- Add `CalcDeltaClimate` to unsequa module to allow uncertainty and sensitivity analysis of impact change calculations [#844](https://github.com/CLIMADA-project/climada_python/pull/844)
208208
- Add function `safe_divide` in util which handles division by zero and NaN values in the numerator or denominator [#844](https://github.com/CLIMADA-project/climada_python/pull/844)
209209
- Add reset_frequency option for the impact.select() function. [#847](https://github.com/CLIMADA-project/climada_python/pull/847)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Please contact the [lead developers](https://climada.ethz.ch/team/) if you want
1616

1717
## Why Should You Contribute?
1818

19-
* You will be listed as author of the CLIMADA repository in the [AUTHORS](AUTHORS.md) file.
19+
* You will be listed as author of the CLIMADA repository in the [AUTHORS](#authors) file.
2020
* You will improve the quality of the CLIMADA software for you and for everybody else using it.
2121
* You will gain insights into scientific software development.
2222

doc/_static/css/custom.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,20 @@ html {
2020
--pst-font-size-base: 16px;
2121
--pst-header-height: 7rem;
2222
}
23+
24+
.hero {
25+
display: flex;
26+
align-items: center;
27+
justify-content: center;
28+
text-align: center; /* Center-align text */
29+
background: linear-gradient(to right, #f39c12, #1abc9c, #bdc3c7); /* Orange, teal, gray gradient */
30+
color: white; /* Ensure text stands out */
31+
padding: 10px;
32+
border-radius: 10px; /* Soft rounded corners */
33+
margin: 10px auto; /* Center the hero section horizontally */
34+
max-width: 980px; /* Restrict width to ensure readability */
35+
font-size: 1.1em; /* Slightly smaller text size */
36+
line-height: 1.8; /* Better line spacing for readability */
37+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
38+
overflow-wrap: break-word; /* Ensure text doesn't overflow borders */
39+
}

doc/development/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. include:: ../../CONTRIBUTING.md
1+
.. include:: ../misc/CONTRIBUTING.md
22
:parser: myst_parser.sphinx_
33

44
.. toctree::
@@ -14,3 +14,4 @@
1414
Writing tests for your code <Guide_Testing>
1515
Guide_Review
1616
Guide_Euler
17+
Authors <../misc/AUTHORS>

doc/getting-started/install.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ With the ``climada_env`` activated, execute
263263
264264
pre-commit install
265265
266-
Please refer to the :ref:`pre-commit-hooks` for information on how to use this tool.
266+
Please refer to the `guide on pre-commit hooks <../development/Guide_CLIMADA_Development.html#pre-commit-hooks>`_ for information on how to use this tool.
267267

268268
For executing the pre-defined test scripts in exactly the same way as they are executed by the automated CI pipeline, you will need ``make`` to be installed.
269269
On macOS and on Linux it is pre-installed. On Windows, it can easily be installed with Conda:
@@ -272,7 +272,7 @@ On macOS and on Linux it is pre-installed. On Windows, it can easily be installe
272272
273273
mamba install -n climada_env make
274274
275-
Instructions for running the test scripts can be found in the :doc:`Testing Guide <Guide_Testing>`.
275+
Instructions for running the test scripts can be found in the `Testing Guide <../development/Guide_Testing.html>`_.
276276

277277
Install CLIMADA Petals (Optional)
278278
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -373,7 +373,7 @@ Test Explorer Setup
373373

374374
After you set up a workspace, you might want to configure the test explorer for easily running the CLIMADA test suite within VSCode.
375375

376-
.. note:: Please install the additional :ref:`test dependencies <install-dev>` before proceeding.
376+
.. note:: Please install the additional :ref:`test dependencies <devdeps>` before proceeding.
377377

378378
#. In the left sidebar, select the "Testing" symbol, and click on *Configure Python Tests*.
379379

doc/index.rst

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1+
:html_theme.sidebar_secondary.remove: true
2+
13
===================
24
Welcome to CLIMADA!
35
===================
46

5-
.. image:: guide/img/CLIMADA_logo_QR.png
6-
:align: center
7-
:alt: CLIMADA Logo
8-
9-
`CLIMADA <https://climada.ethz.ch>`_ (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.
7+
.. raw:: html
8+
9+
<div class="hero">
10+
<b style="font-size: 1.5rem; display: block;">CLIMADA (CLIMate ADAptation)</b>
11+
<p style="font-size: 1.5rem; display: block;">
12+
is a free and open-source software framework for climate risk assessment and
13+
adaptation option appraisal. Designed by a large scientific community, it
14+
helps reasearchers, policymakers, and businesses analyse the impacts of
15+
natural hazards and explore adaptation strategies.
16+
</p>
17+
</div>
1418

1519
CLIMADA is primarily developed and maintained by the `Weather and Climate Risks
1620
Group <https://wcr.ethz.ch/>`_ at `ETH Zürich <https://ethz.ch/en.html>`_.

doc/misc/AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../AUTHORS.md

doc/misc/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../CHANGELOG.md

doc/misc/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../CONTRIBUTING.md

0 commit comments

Comments
 (0)