Skip to content

Commit ddaa1ae

Browse files
committed
Move to new rtfd configuration format
1 parent 27e0f25 commit ddaa1ae

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed

.readthedocs.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: sphinx/conf.py
11+
12+
13+
# Optionally set the version of Python and requirements required to build your docs
14+
python:
15+
version: 3.8
16+
install:
17+
- requirements: sphinx/requirements.txt

requirements.txt

-2
This file was deleted.

sphinx/conf.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import sys, os
1818
import sphinx_bootstrap_theme
19+
from fdb import __version__
1920

2021
# If your extensions are in another directory, add it here. If the directory
2122
# is relative to the documentation root, use os.path.abspath to make it
@@ -43,16 +44,16 @@
4344

4445
# General information about the project.
4546
project = u'FDB'
46-
copyright = u'2009-2021 Pavel Cisar'
47+
copyright = u'2009-present Pavel Cisar'
4748

4849
# The version info for the project you're documenting, acts as replacement for
4950
# |version| and |release|, also used in various other places throughout the
5051
# built documents.
5152
#
5253
# The short X.Y version.
53-
version = '2.0.2'
54+
version = __version__
5455
# The full version, including alpha/beta/rc tags.
55-
release = '2.0.2'
56+
release = __version__
5657

5758
# The language for content autogenerated by Sphinx. Refer to documentation
5859
# for a list of supported languages.

sphinx/requirements.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sphinx-bootstrap-theme>=0.8.1
2+
sphinx-autodoc-typehints>=1.24.0
3+
sphinx>=5.3
4+
.

0 commit comments

Comments
 (0)