Skip to content

Commit e17dedf

Browse files
Add migration guide page (#2459)
* very early draft migration guide * Update doc/source/getting_started/Installation.rst Co-authored-by: Osvaldo A Martin <[email protected]> * continue work on migration guide * update migration guide * improve dim/sample_dims section * add migration guide to toctree --------- Co-authored-by: Osvaldo A Martin <[email protected]>
1 parent 4743beb commit e17dedf

File tree

5 files changed

+11069
-1
lines changed

5 files changed

+11069
-1
lines changed

doc/source/api/preview.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
(preview_api)=
22

33
# Preview
4-
This module give access to upcoming refactored features by exposing
4+
5+
:::{py:module} arviz.preview
6+
This module gives access to upcoming refactored features by exposing
57
all objects in [arviz-base](https://arviz-base.readthedocs.io/en/latest/),
68
[arviz-stats](https://arviz-stats.readthedocs.io/en/latest/) and
79
[arviz-plots](https://arviz-plots.readthedocs.io/en/latest/)
810
under a single namespace: `arviz.preview`.
911

1012
In addition, there is also an `arviz.preview.info` to check availability
1113
of the different sub-libraries.
14+
:::
15+
16+
17+
:::{seealso}
18+
* Introduction to Exploratory Analysis of Bayesian Models and Bayesian workflow
19+
through [arviz.preview](https://arviz-devs.github.io/EABM/)
20+
* The {ref}`migration_guide` introduces the new arviz-xyz libraries through
21+
``arviz.preview`` focusing on the differences with current ArviZ,
22+
the reasons behind them and what new features can be unlocked through these changes.
23+
:::

doc/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@
333333
"sphinx": ("https://www.sphinx-doc.org/en/master/", None),
334334
"diataxis": ("https://diataxis.fr/", None),
335335
"arviz_org": ("https://www.arviz.org/en/latest/", None),
336+
"arviz_base": ("https://arviz-base.readthedocs.io/en/latest/", None),
337+
"arviz_stats": ("https://arviz-stats.readthedocs.io/en/latest/", None),
338+
"arviz_plots": ("https://arviz-plots.readthedocs.io/en/latest/", None),
336339
"python": ("https://docs.python.org/3/", None),
337340
}
338341

doc/source/getting_started/Installation.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ functionality is available with the basic requirements, but ArviZ also has optio
77
dependencies to further enhance the library. This guide will cover both basic and fully-fledged ArviZ installs and several installation methods.
88

99

10+
.. tip::
11+
12+
If you are installing ArviZ for the first time, consider installing with
13+
14+
.. code:: bash
15+
16+
pip install "arviz[preview]"
17+
18+
And using the library through the {mod}`arviz.preview` module.
19+
While some features in ``arviz.`` are not available
20+
in ``arviz.preview.``, most have already been included.
21+
Additionally, ``arviz.preview.`` include many new ones that
22+
are not available in ``arviz.`` and never will be.
23+
24+
1025
******
1126
Stable
1227
******

doc/source/user_guide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ User Guide
66
.. toctree::
77
:maxdepth: 2
88

9+
migration_guide
910
plotting
1011
data_structures
1112
computation

0 commit comments

Comments
 (0)