From 851186a281737a3f453476383145348bd76360ae Mon Sep 17 00:00:00 2001 From: Simon Heybrock Date: Fri, 15 Jul 2022 10:26:06 +0200 Subject: [PATCH] Generalize --- docs/conf.py | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d36120e9..0195ddcf 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -177,7 +177,7 @@ def add_buttons( # html_theme_options = { "logo_only": True, - "repository_url": "https://github.com/scipp/scippnexus", + "repository_url": "https://github.com/scipp/{project}", "repository_branch": "main", "path_to_docs": "docs", "use_repository_button": True, @@ -188,8 +188,8 @@ def add_buttons( if outdated: html_theme_options["announcement"] = ( - "⚠️ You are viewing the documentation for an old version of scippnexus. " - "Switch to latest version. ⚠️") @@ -208,23 +208,7 @@ def add_buttons( # -- Options for LaTeX output --------------------------------------------- -latex_elements = { - # The paper size ('letterpaper' or 'a4paper'). - # - # 'papersize': 'letterpaper', - - # The font size ('10pt', '11pt' or '12pt'). - # - # 'pointsize': '10pt', - - # Additional stuff for the LaTeX preamble. - # - # 'preamble': '', - - # Latex figure (float) alignment - # - # 'figure_align': 'htbp', -} +latex_elements = {} # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title,