Skip to content

Commit d595d29

Browse files
authored
fix warnings (#4300)
1 parent 648617d commit d595d29

10 files changed

+54
-7
lines changed

docs/source/Advanced_usage_of_Theano_in_PyMC3.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_referenced in docs/source/notebooks/table_of_contents_tutorials.js
5+
16
=================================
27
Advanced usage of Theano in PyMC3
38
=================================

docs/source/Gaussian_Processes.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_href from docs/source/index.rst
5+
16
******************
27
Gaussian Processes
38
******************

docs/source/Probability_Distributions.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_href from docs/source/index.rst
5+
16
.. _prob_dists:
27

38
**********************************

docs/source/PyMC3_and_Theano.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_href from docs/source/index.rst
5+
16
================
27
PyMC3 and Theano
38
================

docs/source/about.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_href from docs/source/index.rst
5+
16
.. _about:
27

38
***********

docs/source/api.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_"api" is referenced in html_theme_options docs/source/conf.py
5+
16
.. _api:
27

38
***************

docs/source/developer_guide.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_referenced in html_theme_options docs/source/conf.py
5+
16
=====================
27
PyMC3 Developer Guide
38
=====================

docs/source/index.rst

+8-6
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
2424
X, y = linear_training_data()
2525
with pm.Model() as linear_model:
26-
weights = pm.Normal('weights', mu=0, sigma=1)
27-
noise = pm.Gamma('noise', alpha=2, beta=1)
28-
y_observed = pm.Normal('y_observed',
29-
mu=X @ weights,
30-
sigma=noise,
31-
observed=y)
26+
weights = pm.Normal("weights", mu=0, sigma=1)
27+
noise = pm.Gamma("noise", alpha=2, beta=1)
28+
y_observed = pm.Normal(
29+
"y_observed",
30+
mu=X @ weights,
31+
sigma=noise,
32+
observed=y,
33+
)
3234
3335
prior = pm.sample_prior_predictive()
3436
posterior = pm.sample()

docs/source/learn.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:orphan:
2+
3+
..
4+
_"learn" is referenced in html_theme_options docs/source/conf.py
5+
16
.. title:: Learning Resources
27

38
.. raw:: html
@@ -99,7 +104,7 @@
99104

100105
<div class="card">
101106
<div class="image">
102-
<img src="https://lh5.googleusercontent.com/R1T8ZXbMi4vSO0JlnLQMkEQNvd2ncBb23OmHOsmw-t_oEOF6jJlfWuJoOK0MMmECSDymhUdfTS2yoMgkR2TY-xIiBTHCpeuYjzXqD3xhZ-MuIhs2ARcJ=w1280">
107+
<img src="https://lh5.googleusercontent.com/Ms2ssellxl7cM6OEL_kpiKRojcj2E4ZaUWDXOa8zEwi-v9orJGYuhjczbwFSDJNsEb_ruiwtCJONNjoo7T1c7qorZm3LsAnroMAm4S5WzNT_PVqWz9aE=w1280">
103108
</div>
104109
<div class="content">
105110
<div class="header">Doing Bayesian Data Analysis</div>

docs/source/sphinxext/gallery_generator.py

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
TABLE_OF_CONTENTS_FILENAME = "table_of_contents_{}.js"
2323

2424
INDEX_TEMPLATE = """
25+
:orphan:
26+
27+
..
28+
_href from docs/source/conf.py
29+
2530
.. _{sphinx_tag}:
2631
2732
.. title:: {gallery}_notebooks

0 commit comments

Comments
 (0)