-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* refs #147: Access to Dockerized tools is now proxied by compose. * refs #147: Fixed a WIP make target. * refs #147: Changed folder structure to make docs more self-contained. * refs #147: Typo fix. * refs #147: Renamed container and target for consistency. * refs #147: Got rid of unnecessary nesting in folder structure. Relocated docs README file. * refs #147: Added working deploy target to makefile. The docs can be safely deployed to GH Pages. * refs #147: Added MkDocs metadata for site and github direct editing link. * refs #147: Deploy procedure now forcefully triggers API extraction. README file for docs updated.
- Loading branch information
1 parent
85267ab
commit 6acb3fb
Showing
132 changed files
with
313 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
docs-src/content/the-engine-handbook/scripting-reference/index.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
CURRENT_UID := $(shell id -u):$(shell id -g) | ||
|
||
all: docs-up | ||
|
||
docs-up: | ||
docker compose pull | ||
docker compose up -d --remove-orphans | ||
|
||
docs-down: | ||
docker compose down | ||
|
||
docs-deploy: docs-extract | ||
rm -rf ./dist && git restore dist | ||
docker compose run \ | ||
--rm \ | ||
--user ${CURRENT_UID} \ | ||
documentation \ | ||
mkdocs build --verbose | ||
GIT_DEPLOY_USERNAME="$(shell git config user.name)" GIT_DEPLOY_MAIL="$(shell git config user.email)" scripts/deploy_to_ghpages | ||
|
||
docs-extract: | ||
docker compose run \ | ||
--rm \ | ||
--user $(CURRENT_UID) \ | ||
docs-extractor /project \ | ||
-o /output \ | ||
-d addons/popochiu/engine/ | ||
|
||
cli: | ||
docker compose run --rm documentation bash | ||
|
||
logs: | ||
docker compose logs -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: "3" | ||
services: | ||
documentation: | ||
ports: | ||
- 286:80 | ||
volumes: | ||
- .:/app | ||
working_dir: /app | ||
labels: | ||
- com.dnsdock.alias=docs.popochiu.local | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.MkDocs | ||
command: serve -a 0.0.0.0:80 | ||
docs-extractor: | ||
volumes: | ||
- ..:/project | ||
- ./src/the-engine-handbook/scripting-reference:/output | ||
profiles: | ||
- tools | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.DocsExtractor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.