Skip to content

Commit 6f34099

Browse files
authored
Merge pull request #35 from arXiv/develop
Preparation to release docs 0.2
2 parents b34d46c + dba0715 commit 6f34099

File tree

729 files changed

+31367
-5364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

729 files changed

+31367
-5364
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,6 @@ src/
103103
temp/
104104
.DS_Store
105105

106+
idx/
107+
idx_components/
108+
idx_static/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "markdown"]
2+
path = markdown
3+
url = [email protected]:arXiv/arxiv-markdown.git

Dockerfile

Lines changed: 0 additions & 22 deletions
This file was deleted.

Makefile

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
export REPO_ORG=arxiv
3+
export REPO_NAME=arxiv-docs
4+
export [email protected]:${REPO_ORG}/${REPO_NAME}.git
5+
export SOURCE_REF=0.0.0
6+
export SOURCE_DIR=help
7+
export SITE_NAME=help
8+
export SITE_HUMAN_NAME="arXiv Help Pages"
9+
export IMAGE_NAME=arxiv/help
10+
export TMP_DIR=/tmp/docs-build
11+
export PROJECT_NAME=arXiv Static
12+
export BUILD_TIME=`date`
13+
export NOCACHE=`date +%s`
14+
15+
16+
remote: Makefile
17+
./markdown/bin/make_remote.sh && \
18+
rm -rf ./markdown/source && mkdir ./markdown/source && \
19+
cp -R ${TMP_DIR}/${SOURCE_DIR}/* ./markdown/source && \
20+
docker build ./markdown/ \
21+
--build-arg NOCACHE=${NOCACHE} \
22+
--build-arg VERSION=${SOURCE_REF} \
23+
--build-arg BUILD_TIME=$(date) \
24+
--build-arg SOURCE=${REPO_ORG}/${REPO_NAME} \
25+
--build-arg SITE_NAME=${SITE_NAME} \
26+
--build-arg SITE_HUMAN_NAME=${SITE_HUMAN_NAME} \
27+
-f ./markdown/Dockerfile -t ${IMAGE_NAME}:${SOURCE_REF} && \
28+
rm -rf ./markdown/source
29+
30+
local: Makefile
31+
echo "Build locally at "${BUILD_TIME} && \
32+
rm -rf ./markdown/source && mkdir ./markdown/source && \
33+
cp -R ${SOURCE_DIR}/* ./markdown/source && \
34+
ls -la ./markdown/source && \
35+
docker build ./markdown/ \
36+
--build-arg NOCACHE=${NOCACHE} \
37+
--build-arg VERSION=${SOURCE_REF} \
38+
--build-arg BUILD_TIME="${BUILD_TIME}" \
39+
--build-arg SOURCE=${REPO_ORG}/${REPO_NAME} \
40+
--build-arg SITE_NAME=${SITE_NAME} \
41+
--build-arg SITE_HUMAN_NAME=${SITE_HUMAN_NAME} \
42+
-f ./markdown/Dockerfile -t ${IMAGE_NAME}:${SOURCE_REF} && \
43+
rm -rf ./markdown/source

Pipfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

Pipfile.lock

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)