Skip to content

Commit

Permalink
Merge pull request #240 from hermes-hmc/feature/239-fix-docs
Browse files Browse the repository at this point in the history
Fix Sphinx docs build
  • Loading branch information
poikilotherm authored Jan 11, 2024
2 parents 00cd6c4 + beb8c98 commit 61470a8
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 118 deletions.
Binary file modified docs/source/_static/img/opengraph-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/source/_templates/funding.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!--
SPDX-FileCopyrightText: 2024 Forschungszentrum Jülich
SPDX-License-Identifier: CC0-1.0
SPDX-FileContributor: Oliver Bertuch
-->
<div class="funding">
Funded by the <i>Initiative and Networking Fund</i> of the
<a href='https://www.helmholtz.de/en/about-us/structure-and-governance/initiating-and-networking/' target='_blank'>
Helmholtz Association
</a>
in the framework of the
<a href='https://helmholtz-metadaten.de' targe='_blank'>Helmholtz Metadata Collaboration</a>
</div>
23 changes: 11 additions & 12 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
# -- Project information -----------------------------------------------------

project = 'HERMES Workflow'
copyright = '2022, HERMES project'
copyright = '2024, HERMES project'
author = 'Oliver Bertuch, Stephan Druskat, Guido Juckeland, Jeffrey Kelling, ' + \
'Oliver Knodel, Michael Meinel, Tobias Schlauch, Sophie Kernchen'


# The full version, including alpha/beta/rc tags
release = '2022-07-01'
release = '2024-01-11'


# -- General configuration ---------------------------------------------------
Expand All @@ -57,7 +57,6 @@
"sphinxext.opengraph",
'myst_parser',
'autoapi.extension',
'sphinx_click',
'sphinxcontrib.mermaid',
'sphinx_togglebutton',
]
Expand Down Expand Up @@ -102,11 +101,11 @@
html_static_path = ['_static']

html_logo = '_static/img/hermes-visual-blue.svg'
html_title = 'Workflow Docs'
html_title = 'HERMES Documentation'

# Custom sidebar templates, maps document names to template names.
html_sidebars = {
"**": ["sidebar-logo.html", "sbt-sidebar-nav.html"]
"**": ["navbar-logo.html", "sbt-sidebar-nav.html", "funding.html"]
}

# Enable and customize the permanent headerlinks with a nice icon (chain symbol from FontAwesome)
Expand All @@ -115,23 +114,23 @@

html_theme_options = {
"home_page_in_toc": True,
"extra_navbar": "<div>Funded by the <i>Initiative and Networking Fund</i> of the <a \
href='https://www.helmholtz.de/en/about-us/structure-and-governance/initiating-and-networking/' \
target='_blank'>Helmholtz Association</a> in the framework of the \
<a href='https://helmholtz-metadaten.de' targe='_blank'>Helmholtz Metadata \
Collaboration</a></div>",
"repository_url": "https://github.com/hermes-hmc/workflow",
"repository_url": "https://github.com/hermes-hmc/hermes",
"use_repository_button": True,
"navigation_with_keys": False,
}

html_css_files = [
'custom.css',
]

html_context = {
"default_mode": "light",
}

# -- Options for OpenGraph Tags ----------------------------------------------

ogp_site_url = "https://docs.software-metadata.pub/"
ogp_image = "https://docs.software-metadata.pub/_static/img/opengraph-workflow.png"
ogp_image = "https://docs.software-metadata.pub/en/latest/_static/img/opengraph-workflow.png"
ogp_image_alt = "The HERMES key visual on a blue background with pipelines and the Workflow subproject title"
ogp_description_length = 200
ogp_type = "website"
Expand Down
Loading

0 comments on commit 61470a8

Please sign in to comment.