-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Makefile with shortcuts + updated theme file from the first try a…
…t running the build
- Loading branch information
1 parent
b654b40
commit ea440e8
Showing
5 changed files
with
20 additions
and
4 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 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 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,12 @@ | ||
SHELL := /bin/bash | ||
CWD := $(shell cd -P -- '$(shell dirname -- "$0")' && pwd -P) | ||
|
||
docker-images: | ||
docker build -t sphinx_rtd_theme:latest . | ||
|
||
docker-run: | ||
rm -f .container_id | ||
docker run --cidfile=.container_id --mount type=bind,source="$(CWD)/src",target=/project/src,readonly sphinx_rtd_theme:latest | ||
|
||
docker-copy-assets: | ||
docker cp "$(shell cat .container_id):/project/sphinx_rtd_theme" . |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
|
||
cp -R /git-readonly /git | ||
cd /project | ||
|
||
cd /git | ||
npm run build | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.