Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Tabs for example gallery! #1521

Merged
merged 5 commits into from
Jan 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .azure-pipelines/azure-pipelines-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ jobs:
# install emcee
python -m pip install emcee
python -m pip install .
conda install -y geckodriver firefox --channel conda-forge
displayName: 'Install requirements'

- script: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
### Deprecation

### Documentation
* Use tabs in ArviZ example gallery ([1521](https://github.com/arviz-devs/arviz/pull/1521))

## v0.11.0 (2021 Dec 17)
### New features
Expand Down
4 changes: 3 additions & 1 deletion doc/_templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
<main>
<div class="col d-flex">
<div class="card" style="width: 30rem;">
<img class="card-img-top" src="_static/404.png" alt="">
<img class="card-img-top" src="https://raw.githubusercontent.com/arviz-devs/arviz/master/doc/source/_static/404.png" alt="">
<div class="card-body">
<h5 class="card-title">Page not found</h5>
<p class="card-text">Sorry, it looks like your sampler ventured to an undefined region of the documentation space.</p>
<p class="card-text">The page you are looking for could not be found.</p>
<p class="card-text">Click on the link below to go back to home page (the navbar links are probably not working either).</p>
<a href="https://arviz-devs.github.io/arviz/" class="card-link">Back to Home Page</a>
</div>
</div>
Expand Down
6 changes: 2 additions & 4 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"IPython.sphinxext.ipython_console_highlighting",
"gallery_generator",
"myst_nb",
'notfound.extension',
"sphinx_panels"
]

# ipython directive configuration
Expand All @@ -83,6 +83,7 @@
# MyST related params
jupyter_execute_notebooks = "off"
myst_heading_anchors = 3
panels_add_bootstrap_css = False


# The base toctree document.
Expand Down Expand Up @@ -154,9 +155,6 @@
html_additional_pages = {
'404': '404.html',
}
# configure notfound extension to not add any prefix to the urls
notfound_urls_prefix = "/arviz/"


# -- Options for HTMLHelp output ------------------------------------------

Expand Down
48 changes: 24 additions & 24 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,90 +101,90 @@ If you use ArviZ and want to **cite** it please use |JOSS|. Here is the citation
<div class="container">
<div class="row">
<div class="col">
<a href="examples/matplotlib/mpl_plot_pair.html">
<a href="examples/plot_pair.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_pair_thumb.png">
<img src="_static/plot_pair_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_forest.html">
<a href="examples/plot_forest.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_forest_thumb.png">
<img src="_static/plot_forest_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_density.html">
<a href="examples/plot_density.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_density_thumb.png">
<img src="_static/plot_density_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_energy.html">
<a href="examples/plot_energy.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_energy_thumb.png">
<img src="_static/plot_energy_thumb.png">
</div>
</a>
</div>
</div>
<div class="row">
<div class="col">
<a href="examples/matplotlib/mpl_plot_posterior.html">
<a href="examples/plot_posterior.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_posterior_thumb.png">
<img src="_static/plot_posterior_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_kde_2d.html">
<a href="examples/plot_kde_2d.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_kde_2d_thumb.png">
<img src="_static/plot_kde_2d_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_forest_ridge.html">
<a href="examples/plot_forest_ridge.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_forest_ridge_thumb.png">
<img src="_static/plot_forest_ridge_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_parallel.html">
<a href="examples/plot_parallel.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_parallel_thumb.png">
<img src="_static/plot_parallel_thumb.png">
</div>
</a>
</div>
</div>
<div class="row">
<div class="col">
<a href="examples/matplotlib/mpl_plot_trace.html">
<a href="examples/plot_trace.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_trace_thumb.png">
<img src="_static/plot_trace_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_joint.html">
<a href="examples/plot_joint.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_joint_thumb.png">
<img src="_static/plot_joint_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_ppc.html">
<a href="examples/plot_ppc.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_ppc_thumb.png">
<img src="_static/plot_ppc_thumb.png">
</div>
</a>
</div>
<div class="col">
<a href="examples/matplotlib/mpl_plot_autocorr.html">
<a href="examples/plot_autocorr.html">
<div class="img-thumbnail">
<img src="_static/mpl_plot_autocorr_thumb.png">
<img src="_static/plot_autocorr_thumb.png">
</div>
</a>
</div>
Expand Down
Loading