-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from arXiv/develop
Preparation to release docs 0.2
- Loading branch information
Showing
729 changed files
with
31,367 additions
and
5,364 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,3 +103,6 @@ src/ | |
temp/ | ||
.DS_Store | ||
|
||
idx/ | ||
idx_components/ | ||
idx_static/ |
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,3 @@ | ||
[submodule "markdown"] | ||
path = markdown | ||
url = git@github.com:arXiv/arxiv-markdown.git |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
export REPO_ORG=arxiv | ||
export REPO_NAME=arxiv-docs | ||
export TARGET_REPO=git@github.com:${REPO_ORG}/${REPO_NAME}.git | ||
export SOURCE_REF=0.0.0 | ||
export SOURCE_DIR=help | ||
export SITE_NAME=help | ||
export SITE_HUMAN_NAME="arXiv Help Pages" | ||
export IMAGE_NAME=arxiv/help | ||
export TMP_DIR=/tmp/docs-build | ||
export PROJECT_NAME=arXiv Static | ||
export BUILD_TIME=`date` | ||
export NOCACHE=`date +%s` | ||
|
||
|
||
remote: Makefile | ||
./markdown/bin/make_remote.sh && \ | ||
rm -rf ./markdown/source && mkdir ./markdown/source && \ | ||
cp -R ${TMP_DIR}/${SOURCE_DIR}/* ./markdown/source && \ | ||
docker build ./markdown/ \ | ||
--build-arg NOCACHE=${NOCACHE} \ | ||
--build-arg VERSION=${SOURCE_REF} \ | ||
--build-arg BUILD_TIME=$(date) \ | ||
--build-arg SOURCE=${REPO_ORG}/${REPO_NAME} \ | ||
--build-arg SITE_NAME=${SITE_NAME} \ | ||
--build-arg SITE_HUMAN_NAME=${SITE_HUMAN_NAME} \ | ||
-f ./markdown/Dockerfile -t ${IMAGE_NAME}:${SOURCE_REF} && \ | ||
rm -rf ./markdown/source | ||
|
||
local: Makefile | ||
echo "Build locally at "${BUILD_TIME} && \ | ||
rm -rf ./markdown/source && mkdir ./markdown/source && \ | ||
cp -R ${SOURCE_DIR}/* ./markdown/source && \ | ||
ls -la ./markdown/source && \ | ||
docker build ./markdown/ \ | ||
--build-arg NOCACHE=${NOCACHE} \ | ||
--build-arg VERSION=${SOURCE_REF} \ | ||
--build-arg BUILD_TIME="${BUILD_TIME}" \ | ||
--build-arg SOURCE=${REPO_ORG}/${REPO_NAME} \ | ||
--build-arg SITE_NAME=${SITE_NAME} \ | ||
--build-arg SITE_HUMAN_NAME=${SITE_HUMAN_NAME} \ | ||
-f ./markdown/Dockerfile -t ${IMAGE_NAME}:${SOURCE_REF} && \ | ||
rm -rf ./markdown/source |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.