blob: 1542cdd6a788dfb351b21258e185d97576fdf11c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/bash
source /eng/ssb/auto/astroconda/include/midnight_special.sh
source /eng/ssb/auto/astroconda/include/conda_porcelain.sh
source /eng/ssb/auto/astroconda/include/texlive.sh
porcelain_init
pushd "$PORCELAIN_PREFIX"
porcelain_get_installer
porcelain_run_installer
build_env="$(basename $PORCELAIN_PREFIX)"
depot=/eng/ssb/websites/ssbpublic/doc/jwst_git
repo_conda=http://ssb.stsci.edu/conda-dev
repo_git=https://github.com/stsci-jwst/jwst
repo_git_branch=master
conda create -n "$build_env" \
--yes \
--quiet \
--override-channels \
-c defaults \
-c $repo_conda sphinx=1.3.5 jwst stsci.sphinxext
source activate $build_env
git clone "$repo_git"
pushd "$(basename $repo_git)"
git checkout $repo_git_branch
docs/mkdocs.sh -o "$depot"
popd
popd
porcelain_deinit
|