Skip to content

Commit

Permalink
DOC Use .readthedocs.yaml
Browse files Browse the repository at this point in the history
Add new configuration format
  • Loading branch information
luispedro committed Jul 1, 2023
1 parent 3ad89fd commit 5606411
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .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.11"

sphinx:
configuration: docs/source/conf.py

python:
install:
- requirements: readthedocs-requirements.txt
- method: pip
path: .

6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# from imread import __version__ as imread_version

imread_version = '0.6'
imread_version = '0.7.4'
import sys, os

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down Expand Up @@ -51,7 +51,7 @@

# General information about the project.
project = u'imread'
copyright = u'2012-2014, Luis Pedro Coelho'
copyright = u'2012-2023, Luis Pedro Coelho'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -234,7 +234,7 @@
epub_title = u'imread'
epub_author = u'Luis Pedro Coelho'
epub_publisher = u'Luis Pedro Coelho'
epub_copyright = u'2012-2014, Luis Pedro Coelho'
epub_copyright = u'2012-2023, Luis Pedro Coelho'

# The language of the text. It defaults to the language option
# or en if the language is not set.
Expand Down

0 comments on commit 5606411

Please sign in to comment.