From ddd5e841bf2f4b02c1a998b7bfcbba8ae59805e8 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 22 Oct 2023 00:13:21 +0200 Subject: [PATCH] Clean up unneeded docs build settings --- .readthedocs.yml | 15 --------------- docs/source/conf.py | 14 ++------------ 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml deleted file mode 100644 index f59b1673d..000000000 --- a/.readthedocs.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Read the Docs configuration file -# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details -version: 2 -build: - os: "ubuntu-22.04" - tools: - python: "3.11" -sphinx: - configuration: docs/source/conf.py -formats: - - htmlzip - - pdf -python: - install: - - requirements: docs/source/requirements.txt diff --git a/docs/source/conf.py b/docs/source/conf.py index 176c13b81..72ddad505 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ else: release = "unknown" -version = release.split("-")[0] +version = release.partition("-")[0] # -- General Configuration --------------------------------------------------- @@ -67,11 +67,6 @@ "**": ["navbar-logo", "sidebar-title", "sbt-sidebar-nav"], } -# -- Options for HTMLHelp Output --------------------------------------------- - -# Output file base name for HTML help builder. -htmlhelp_basename = "novelWriterDoc" - # -- Options for LaTeX Output ------------------------------------------------ latex_elements = { @@ -84,11 +79,6 @@ "figure_align": "htbp", } latex_logo = "_static/novelwriter-pdf.png" - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, -# author, documentclass [howto, manual, or own class]). latex_documents = [( - master_doc, "manual.tex", "User Guide", - author, "manual" + master_doc, "manual.tex", "User Guide", author, "manual" )]