Commit a3d98f9a authored by Gregory Ashton's avatar Gregory Ashton

Fixing documentation deployment

parent c8c97d6f
......@@ -175,6 +175,12 @@ documentation:
# Make the documentation
- apt-get update
- apt-get -y install graphviz
# Sphinx-multiversion needs to be run on the git repo itself
- cd ../
- rm bilby_pipe/ -r
- git clone https://git.ligo.org/lscsoft/bilby_pipe.git
- cd bilby_pipe/
# Installation and clean up
- cd docs
- pip install -r requirements.txt
- make clean
......@@ -182,6 +188,9 @@ documentation:
- bilby_pipe_gracedb --json ../examples/gracedb/G298936.json --output ini --outdir .
# Sphinx-multiversion needs to be run from the top-level
- cd ..
- git fetch origin master
- git status
- git branch
- sphinx-multiversion docs/ docs/_build/
artifacts:
......@@ -203,7 +212,7 @@ pages:
- public
expire_in: 30 days
only:
- master
- master
deploy_release:
stage: deploy
......
......@@ -6,7 +6,7 @@ bilby_pipe
A package for automating transient gravitational wave parameter estimation
- `Installation
instructions <https://lscsoft.docs.ligo.org/bilby_pipe/installation.html>`__
instructions <https://lscsoft.docs.ligo.org/bilby_pipe/master/installation.html>`__
- `Documentation <https://lscsoft.docs.ligo.org/bilby_pipe/master/index.html>`__
- `Issue tracker <https://git.ligo.org/lscsoft/bilby/issues>`__
- See the `bilby page <https://git.ligo.org/lscsoft/bilby>`__ for help channels.
......
{%- if current_version %}
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book"> Other Versions</span>
v: {{ current_version.name }}
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
{%- if versions.tags %}
<dl>
<dt>Tags</dt>
{%- for item in versions.tags %}
<dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
{%- endfor %}
</dl>
{%- endif %}
{%- if versions.branches %}
<dl>
<dt>Branches</dt>
{%- for item in versions.branches %}
<dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
{%- endfor %}
</dl>
{%- endif %}
</div>
</div>
{%- endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment