Skip to content

Commit

Permalink
Migrate the docs to readthedocs (#351)
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
achimnol and webknjaz authored Apr 25, 2023
1 parent b41ce58 commit adf9474
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 64 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/docs.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Required
version: 2

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

# Optionally build your docs in additional formats
# such as PDF and ePub
formats: []

build:
os: ubuntu-20.04
tools:
python: >- # PyYAML parses it as float but RTD demands an explicit string
3.11
python:
install:
- method: pip
path: .
- requirements: requirements-doc.txt
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from importlib.metadata import version

_docs_path = pathlib.Path(__file__).parent
_version_path = _docs_path / "../aiomonitor/__init__.py"


try:
Expand Down

0 comments on commit adf9474

Please sign in to comment.