Skip to content

Commit 01600b8

Browse files
committed
Update symlink to plone.restapi package instead of just its docs.
This will allow the http-request tests to build for both the project's and main documentation.
1 parent b59c6c5 commit 01600b8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ pyvenv.cfg
99

1010
# symlinked from submodule
1111
docs/volto
12-
docs/plone.restapi.docs
13-
docs/plone.restapi.http-examples
12+
docs/plone.restapi

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ docs/volto:
4646
docs/restapi:
4747
git submodule init; \
4848
git submodule update; \
49-
ln -s ../submodules/plone.restapi/docs/source ./docs/plone.restapi.docs; \
50-
ln -s ../submodules/plone.restapi/src/plone/restapi/tests/http-examples ./docs/plone.restapi.http-examples
49+
ln -s "../submodules/plone.restapi" "./docs/plone.restapi"
5150

5251
.PHONY: deps
53-
deps: bin/python docs/volto ## Create Python virtual environment, install requirements, initialize or update the volto and plone.restapi submodules, and finally create symlinks to the documentation source.
52+
deps: bin/python docs/volto docs/restapi ## Create Python virtual environment, install requirements, initialize or update the volto and plone.restapi submodules, and finally create symlinks to the documentation source.
5453

5554
.PHONY: html
5655
html: deps ## Build html

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This website is the HTML documentation of Plone, an open source, enterprise-leve
1919
backend/index
2020
volto/index
2121
classic-ui/index
22-
plone.restapi.docs/index
22+
plone.restapi/docs/source/index
2323
contributing/index
2424
```
2525

0 commit comments

Comments
 (0)