Skip to content

Commit 103ab2e

Browse files
committed
Attempt to make plone.api importable to Sphinx by bypassing Makefile
1 parent 77a4299 commit 103ab2e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.readthedocs.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,17 @@ build:
1212
python: "3.12"
1313
# nodejs: "19"
1414
commands:
15-
- make rtd-pr-preview
15+
# - make rtd-pr-preview
16+
- pip install -r requirements-initial.txt
17+
- pip install -r requirements.txt
18+
- git submodule init
19+
- git submodule update
20+
- pip install -e submodules/plone.api[test]
21+
- ln -s ../submodules/volto/docs/source ./docs/volto
22+
- ln -s ../submodules/plone.restapi ./docs/plone.restapi
23+
- ln -s ../submodules/plone.api/docs ./docs/plone.api
24+
- cd $(DOCS_DIR) && $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) ${READTHEDOCS_OUTPUT}/html/
25+
1626

1727
# Build documentation in the "docs/" directory with Sphinx
1828
#sphinx:

0 commit comments

Comments
 (0)