Skip to content

Commit b05f463

Browse files
authored
Fix RTD builds (#116)
1 parent 456a7de commit b05f463

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.readthedocs.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ version: 2
66
# Only compile HTML
77
formats: []
88

9+
build:
10+
os: 'ubuntu-24.04'
11+
tools:
12+
python: '3.13'
13+
914
python:
10-
version: 3.8
1115
install:
1216
- requirements: docs/requirements_for_rtd.txt
1317
- method: pip
1418
path: .
15-
#extra_requirements:
16-
# - docs
19+
extra_requirements:
20+
- 'bz'
21+
22+
sphinx:
23+
configuration: 'docs/source/conf.py'
24+
builder: 'html'
25+
fail_on_warning: false

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
templates_path = ['_templates']
3434

3535
# The suffix of source filenames.
36-
source_suffix = '.rst'
36+
source_suffix = {'.rst': 'restructuredtext'}
3737

3838
# The encoding of source files.
3939
# source_encoding = 'utf-8-sig'
@@ -67,7 +67,7 @@
6767
#
6868
# This is also used if you do content translation via gettext catalogs.
6969
# Usually you set "language" from the command line for these cases.
70-
language = None
70+
language = 'en'
7171

7272
# There are two options for replacing |today|: either, you set today to some
7373
# non-false value, then it is used:

docs/source/module_guide/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ The HPKOT module
2020

2121
.. automodule:: seekpath.hpkot.tools
2222
:members:
23+
24+
25+
Warnings
26+
--------
27+
28+
.. autoclass:: seekpath.SupercellWarning

0 commit comments

Comments
 (0)