Skip to content

Commit

Permalink
Fix RTD builds (#228)
Browse files Browse the repository at this point in the history
ssbarnea authored Dec 11, 2023
1 parent c3f2f34 commit 506429b
Showing 4 changed files with 24 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -12,3 +12,4 @@ docs/source/_build
man/ansi2html.1.xml
src/ansi2html/_version.py
site
_readthedocs
22 changes: 22 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
version: 2

mkdocs:
fail_on_warning: true
configuration: mkdocs.yml

build:
os: ubuntu-22.04
tools:
python: "3.11"
commands:
- pip install --user tox
- python3 -m tox -e docs
python:
install:
- method: pip
path: tox
- method: pip
path: .
extra_requirements:
- docs
12 changes: 0 additions & 12 deletions readthedocs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -71,4 +71,4 @@ commands =
; --attribute="manual_version=$(python3 -m setuptools_scm)" \
; --format=manpage -D man \
; man/ansi2html.1.txt'
mkdocs build --strict
mkdocs {posargs:build --strict --site-dir=_readthedocs/html/}

0 comments on commit 506429b

Please sign in to comment.