Skip to content

Commit 82d11b9

Browse files
Update ReadTheDocs config when version changes
1 parent da4aff2 commit 82d11b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utils/build_swig.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,12 @@ def __init__(self, code, message):
204204
__all__ = [x for x in __all__ if x[0] != '_']
205205
__all__.sort()
206206
""")
207+
# update ReadTheDocs config
208+
with open('src/doc/requirements.txt', 'w') as f:
209+
f.write(f'''exiv2 <= {py_exiv2_version}
210+
sphinx == 7.2.6
211+
sphinx-rtd-theme == 2.0.0
212+
''')
207213
return 0
208214

209215

0 commit comments

Comments
 (0)