File tree Expand file tree Collapse file tree 4 files changed +25
-17
lines changed Expand file tree Collapse file tree 4 files changed +25
-17
lines changed Original file line number Diff line number Diff line change 46
46
47
47
# General information about the project.
48
48
project = 'mfr'
49
- copyright = '2023 , Center For Open Science'
49
+ copyright = '2025 , Center For Open Science'
50
50
51
51
# The version info for the project you're documenting, acts as replacement for
52
52
# |version| and |release|, also used in various other places throughout the
184
184
if not on_rtd :
185
185
import sphinx_rtd_theme
186
186
html_theme = 'sphinx_rtd_theme'
187
- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ CodePygmentsRenderer
11
11
12
12
.. autoclass :: mfr.extensions.codepygments.CodePygmentsRenderer
13
13
14
- DocxRenderer
15
- ------------
16
-
17
- .. autoclass :: mfr.extensions.docx.DocxRenderer
18
-
19
14
ImageExporter
20
15
-------------
21
16
Original file line number Diff line number Diff line change @@ -14,26 +14,25 @@ Or download one of the following:
14
14
* tarball _
15
15
* zipball _
16
16
17
- Make sure that you have installed `pspp <https://www.gnu.org/software/pspp/ >`_ and are using python 3.5 or greater.
17
+ Make sure that you have installed `pspp <https://www.gnu.org/software/pspp/ >`_ and are using python v3.13 or greater.
18
18
19
- Install the versions of `` setuptools `` and `` invoke `` found in the requirements.txt file :
19
+ Install `` poetry `` to manage dependencies :
20
20
21
21
.. code-block :: bash
22
22
23
- pip install setuptools==37.0.0
24
- pip install invoke==0.13.0
23
+ pip install poetry==2.1.2
25
24
26
25
Install requirements:
27
26
28
27
.. code-block :: bash
29
28
30
- invoke install
29
+ poetry install
31
30
32
31
Or for some nicities (like tests):
33
32
34
33
.. code-block :: bash
35
34
36
- invoke install --develop
35
+ poetry install --with dev
37
36
38
37
Start the server:
39
38
@@ -45,7 +44,7 @@ Start the server:
45
44
46
45
.. code-block :: bash
47
46
48
- invoke server
47
+ poetry run invoke server
49
48
50
49
.. _Github : https://github.com/CenterForOpenScience/modular-file-renderer
51
50
.. _tarball : https://github.com/CenterForOpenScience/modular-file-renderer/tarball/master
Original file line number Diff line number Diff line change 1
- requirements_file : doc-requirements.txt
2
- python :
3
- setup_py_install : true
1
+ version : 2
2
+
3
+ build :
4
+ os : ubuntu-24.04
5
+ tools :
6
+ python : " 3.13"
7
+ jobs :
8
+ post_create_environment :
9
+ - pip install poetry
10
+ post_install :
11
+ - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
12
+
13
+ sphinx :
14
+ configuration : docs/conf.py
15
+
16
+ formats :
17
+ - pdf
18
+ - epub
You can’t perform that action at this time.
0 commit comments