diff --git a/.readthedocs.yml b/.readthedocs.yml deleted file mode 100644 index f59b1673..00000000 --- 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 176c13b8..72ddad50 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ with open(initFile) as inFile: else: release = "unknown" -version = release.split("-")[0] +version = release.partition("-")[0] # -- General Configuration --------------------------------------------------- @@ -67,11 +67,6 @@ html_sidebars = { "**": ["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 @@ latex_elements = { "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" )]