File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ WEBSITE_DIR=$(pwd)
9
9
# Make the empty target directories
10
10
mkdir -p output/docs/latest/
11
11
mkdir -p output/docs/edge/
12
- mkdir -p output/docs/master /
12
+ mkdir -p output/docs/stable /
13
13
14
14
# Fetch the Nextflow repo
15
15
git clone https://github.com/nextflow-io/nextflow.git
@@ -26,19 +26,22 @@ if [ ${#STABLE_TAG} -le 4 ]; then echo "Version string too short" ; exit 1; fi
26
26
if [ ${# EDGE_TAG} -le 4 ]; then echo " Version string too short" ; exit 1; fi
27
27
28
28
# Build edge docs
29
+ echo " =============== Building edge docs: $EDGE_TAG ==============="
29
30
git checkout $EDGE_TAG
30
31
pip install -r requirements.txt
31
32
make clean html
32
33
mv _build/html/* $WEBSITE_DIR /output/docs/edge/
33
34
34
35
# Build stable docs
36
+ echo " =============== Building stable docs: $STABLE_TAG ==============="
35
37
git checkout $STABLE_TAG
36
38
pip install -r requirements.txt
37
39
make clean html
38
- mv _build/html/* $WEBSITE_DIR /output/docs/latest /
40
+ mv _build/html/* $WEBSITE_DIR /output/docs/stable /
39
41
40
42
# Build current docs on master
43
+ echo " =============== Building latest docs: master ==============="
41
44
git checkout master
42
45
pip install -r requirements.txt
43
46
make clean html
44
- mv _build/html/* $WEBSITE_DIR /output/docs/master /
47
+ mv _build/html/* $WEBSITE_DIR /output/docs/latest /
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const isHomepage = currentPath === "/" || currentPath === "/index.html";
30
30
<div class =" navbar-collapse collapse" >
31
31
<ul class =" nav navbar-nav" >
32
32
<li class =" show animated flipInX" >
33
- <a href =" /docs/master /index.html" >Documentation</a >
33
+ <a href =" /docs/latest /index.html" >Documentation</a >
34
34
</li >
35
35
36
36
<li class =" dropdown show animated flipInX" >
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import Layout from "@layouts/Layout.astro";
29
29
</p >
30
30
31
31
<p class =" text-center" >
32
- <a href =" /docs/master /index.html" class =" btn btn-color btn-xxl animated fadeInUp delay4" > Documentation </a >
32
+ <a href =" /docs/latest /index.html" class =" btn btn-color btn-xxl animated fadeInUp delay4" > Documentation </a >
33
33
<a
34
34
href =" https://community.seqera.io/c/nextflow/5"
35
35
target =" _blank"
You can’t perform that action at this time.
0 commit comments