summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml4
-rw-r--r--docs/source/_templates/versions.html10
2 files changed, 11 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 96c1fbf..32c211f 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -106,8 +106,10 @@ jobs:
echo "Deploying dev docs for ${CIRCLE_BRANCH}.";
cd master
cp -a /tmp/build/html/* .;
+ cp -a /tmp/build/html/.github .github;
touch .nojekyll;
git add -A;
+ git add -f .github/*.html ;
git commit -m "CircleCI update of dev docs (${CIRCLE_BUILD_NUM}).";
git push origin master;
else
@@ -144,8 +146,10 @@ jobs:
git clean -xdf
echo "Deploying dev docs for ${CIRCLE_BRANCH}.";
cp -a /tmp/build/html/* .;
+ cp -a /tmp/build/html/.github .github;
touch .nojekyll;
git add -A;
+ git add -f .github/*.html ;
git commit -m "CircleCI update of dev docs (${CIRCLE_BUILD_NUM}).";
git push origin master;
diff --git a/docs/source/_templates/versions.html b/docs/source/_templates/versions.html
index 10d60d7..f48ab86 100644
--- a/docs/source/_templates/versions.html
+++ b/docs/source/_templates/versions.html
@@ -1,4 +1,6 @@
-<div class="rst-versions shift-up" data-toggle="rst-versions" role="note" aria-label="versions">
+<div class="rst-versions" data-toggle="rst-versions" role="note"
+aria-label="versions">
+ <!-- add shift_up to the class for force viewing -->
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book"> Python Optimal Transport</span>
versions
@@ -12,10 +14,12 @@
<dl>
<dt>Versions</dt>
+
+ <dd><a href="https://pythonot.github.io/">Release</a></dd>
- <dd><a href="https://pythonot.github.io/master">latest</a></dd>
+ <dd><a href="https://pythonot.github.io/master">Development</a></dd>
- <dd><a href="https://pythonot.github.io/">stable</a></dd>
+
</dl>