Skip to content

Commit

Permalink
Revert "Merge branch 'feature/documentation-restructuring' into develop"
Browse files Browse the repository at this point in the history
This reverts commit 75481ee, reversing
changes made to 68a51e1.
  • Loading branch information
NicolasColombi committed Nov 14, 2024
1 parent 75481ee commit b8cc3c4
Show file tree
Hide file tree
Showing 24 changed files with 71 additions and 124 deletions.
18 changes: 0 additions & 18 deletions doc/_static/css/custom.css

This file was deleted.

1 change: 0 additions & 1 deletion doc/api/index.rst

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 2 additions & 20 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"sphinx.ext.ifconfig",
"sphinx_design",
"myst_nb",
"sphinx_markdown_tables",
"readthedocs_ext.readthedocs",
Expand Down Expand Up @@ -124,26 +123,12 @@

# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = "pydata_sphinx_theme"
html_theme = "sphinx_book_theme"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"header_links_before_dropdown": 7,
"icon_links": [
{
# Label for this link
"name": "GitHub",
# URL where the link will redirect
"url": "https://github.com/CLIMADA-project", # required
# Icon class (if "type": "fontawesome"), or path to local image (if "type": "local")
"icon": "fa-brands fa-square-github",
# The type of image to be used (see below for details)
"type": "fontawesome",
}
],
}
# html_theme_options = {}

# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
Expand All @@ -169,9 +154,6 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

html_css_files = [
"css/custom.css",
]
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
Expand Down
7 changes: 0 additions & 7 deletions doc/development/index.rst

This file was deleted.

60 changes: 0 additions & 60 deletions doc/getting-started/index.rst

This file was deleted.

74 changes: 66 additions & 8 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,72 @@ Jump right in:


.. toctree::
:maxdepth: 1
:hidden:

Getting started <getting-started/index>
User Guide <user-guide/index>
Development <development/index>
API <api/index>
Authors <misc/AUTHORS>
Changelog <misc/CHANGELOG>
Contribute <misc/CONTRIBUTING>
GitHub Repositories <https://github.com/CLIMADA-project>
CLIMADA Petals <https://climada-petals.readthedocs.io/en/stable/>
Weather and Climate Risks Group <https://wcr.ethz.ch/>


.. toctree::
:maxdepth: 1
:caption: User Guide
:hidden:

guide/Guide_Introduction
Getting Started <guide/Guide_get_started>
guide/install
Running CLIMADA on Euler <guide/Guide_Euler>


.. toctree::
:caption: API Reference
:hidden:

Python Modules <climada/climada>


.. toctree::
:maxdepth: 2
:caption: Tutorials
:hidden:

Overview <tutorial/1_main_climada>
Python Introduction <tutorial/0_intro_python>
Hazard <tutorial/hazard>
Exposures <tutorial/exposures>
Impact <tutorial/impact>
Uncertainty Quantification <tutorial/unsequa>
tutorial/climada_engine_Forecast
tutorial/climada_util_calibrate
Google Earth Engine <tutorial/climada_util_earth_engine>
tutorial/climada_util_api_client


.. toctree::
:maxdepth: 1
:caption: Developer Guide
:hidden:

Development with Git <guide/Guide_Git_Development>
guide/Guide_CLIMADA_Tutorial
guide/Guide_Configuration
guide/Guide_Testing
guide/Guide_continuous_integration_GitHub_actions
guide/Guide_Review
guide/Guide_PythonDos-n-Donts
guide/Guide_Exception_Logging
Performance and Best Practices <guide/Guide_Py_Performance>
CLIMADA Coding Conventions <guide/Guide_CLIMADA_conventions>
Building the Documentation <README>


.. toctree::
:caption: Miscellaneous
:hidden:

README <misc/README>
Changelog <misc/CHANGELOG>
List of Authors <misc/AUTHORS>
Contribution Guide <misc/CONTRIBUTING>
misc/citation
2 changes: 1 addition & 1 deletion doc/misc/AUTHORS.md
2 changes: 1 addition & 1 deletion doc/misc/CHANGELOG.md
2 changes: 1 addition & 1 deletion doc/misc/CONTRIBUTING.md
7 changes: 0 additions & 7 deletions doc/user-guide/index.rst

This file was deleted.

0 comments on commit b8cc3c4

Please sign in to comment.