summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2021-12-17 08:40:44 +0100
committerGitHub <noreply@github.com>2021-12-17 08:40:44 +0100
commitde5abace7dbff576e92b14319b845b70db469309 (patch)
treeb59d9958ead0d69f4f8f2d6849938530562cc6f1
parent4f63ea223e27667d4bb275601301d12871fb475f (diff)
[WIP] Debug doc missing file on merge (#324)
* update delease file and add it to doc ith mystè_parser * typos in release file * update PR template * test debug doc build * test debug doc build * wrog circleci
-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>