Skip to content

Commit

Permalink
Restructure docs and change theme to ReadTheDocs
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Moorhouse <[email protected]>
  • Loading branch information
joemoorhouse committed Sep 29, 2024
1 parent 7fad273 commit 481db5a
Show file tree
Hide file tree
Showing 30 changed files with 646 additions and 530 deletions.
14 changes: 9 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = "PhysicalRisk"
copyright = "2024, DCV"
author = "DCV"
project = "physrisk"
copyright = "2024, OS-Climate"
author = "OS-Climate"

# The full version, including alpha/beta/rc tags
# release = "1.1.0"
Expand Down Expand Up @@ -70,19 +70,23 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_logo = "images/OS-Climate-Logo.png"
html_theme = "pydata_sphinx_theme"
html_theme = "sphinx_rtd_theme"
#html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]

# Don't show the code
html_show_sourcelink = True

html_theme_options = {
# 'logo_only': False,
"logo_only": False,
# 'display_version': False,
# Table of contents options
"collapse_navigation": False,
"style_nav_header_background": "#d2d2d2"
# "#e3e3e3",
}


html_sidebars = {
"**": [
"globaltoc.html", # Índice general
Expand Down
95 changes: 0 additions & 95 deletions docs/conf.py.backup

This file was deleted.

8 changes: 0 additions & 8 deletions docs/getting-started.rst

This file was deleted.

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/getting_started/getting_started.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Getting started
===============

The following examples provide a walk-through of phyrisk's functionality, starting with access to hazard indicator data and presenting the hazard inventory then moving onto the running of asset level calculations.

.. toctree::
:maxdepth: 2

hazard_indicators
hazard_inventory
asset_level_impacts

Large diffs are not rendered by default.

Loading

0 comments on commit 481db5a

Please sign in to comment.