Skip to content

Commit ab137d7

Browse files
committed
docs: add video embed support
1 parent af5af6e commit ab137d7

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

docs/source/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
project = 'DOMINO-SEE'
1414
copyright = '2025, Hui-Min Wang and Xiaogang He (GPL-3.0)'
1515
author = 'Hui-Min Wang and Xiaogang He'
16-
version = '0.0.1'
17-
release = '0.0.1'
16+
version = '0.0.1-alpha'
17+
release = '0.0.1-alpha'
1818

1919
# General configuration
2020
extensions = [
@@ -33,6 +33,7 @@
3333
'sphinx_autodoc_typehints', # Better handling of type hints in docstrings
3434
'sphinxcontrib.bibtex', # Bibliography support
3535
'sphinx_design', # Grid layouts and design elements
36+
'sphinxcontrib.video', # Support for video embedding
3637
]
3738

3839
# Add any paths that contain templates
@@ -43,7 +44,7 @@
4344

4445
# The master toctree document
4546
master_doc = 'index'
46-
html_title = "Documentation"
47+
html_title = "DOMINO-SEE Official Documentation"
4748

4849
# List of patterns to exclude from source
4950
exclude_patterns = ['_build', '**.ipynb_checkpoints']
@@ -58,7 +59,7 @@
5859

5960
# Theme options
6061
html_theme_options = {
61-
"sidebar_hide_name": False,
62+
"sidebar_hide_name": True,
6263
"light_logo": "logo.png",
6364
"dark_logo": "logo_dark.png",
6465
"light_css_variables": {

docs/source/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ Welcome to DOMINO-SEE
88

99
**DOMINO-SEE** is a framework for **D**\etection **O**\f **M**\ulti-layer **I**\nterconnected **N**\etwork **O**\ccurrences for **S**\patial **E**\xtreme **E**\vents, leveraging event coincidences analysis and complex networks. It is built using `xarray <https://xarray.pydata.org/en/stable/>`_ and can seamlessly benefit from the parallelization handling provided by `dask <https://dask.org/>`_. Its objective is to make it as simple as possible for users to construct event-based climate network analysis workflows.
1010

11+
.. video:: https://github.com/PREP-NexT/DOMINO-SEE/releases/download/0.0.1-alpha/DOMINO-SEE.Logo.Animation.mp4
12+
:width: 100%
13+
:poster: ./_static/dominosee_logo.png
14+
:alt: DOMINO-SEE introduction video
15+
1116
The name **DOMINO-SEE** represents our approach to detecting and analyzing interconnected occurrences of hydroclimatic extreme events across spatial locations, inspired by the cascade effect of **DOMINO**\es falling in a chain reaction. The **SEE** highlights the framework's ability to capture the spatial synchronization and propagation of extreme events, emphasizing the interconnectedness inherent in complex environmental systems.
1217

1318
.. grid:: 1 2 2 2

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "dominosee"
7-
version = "0.0.1"
7+
version = "0.0.1-alpha"
88
description = "A tool for spatial climate network analysis"
99
readme = "README.md"
1010
authors = [
@@ -54,6 +54,7 @@ docs = [
5454
"sphinx-autodoc-typehints>=1.15.0",
5555
"sphinx-design>=0.5.0",
5656
"sphinxcontrib-bibtex>=2.5.0",
57+
"sphinxcontrib-video>=0.2.0",
5758
"matplotlib",
5859
"cartopy"
5960
]

0 commit comments

Comments
 (0)