Skip to content

Commit

Permalink
Merge pull request #34 from galactic-forensics/docs_migration
Browse files Browse the repository at this point in the history
migrate docs to readthedocs
  • Loading branch information
trappitsch committed Jan 18, 2024
2 parents cb54be5 + 37620a7 commit caa2740
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 30 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/documentation.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: false

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats:
- epub
- pdf

# install package via pip
python:
install:
- method: pip
path: .[doc]
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
project = "DigOutBox"
author = "Reto Trappitsch"
copyright = f"2021-2024, {author}"
release = "0.1.0"
release = "0.2.0"


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.autodoc", "myst_parser"]
extensions = ["sphinx.ext.autodoc", "sphinx_rtd_theme"]

# Add any paths that contain templates here, relative to this directory.
# templates_path = ["_templates"]
Expand All @@ -33,7 +33,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "alabaster"
html_theme = "sphinx_rtd_theme"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down

0 comments on commit caa2740

Please sign in to comment.