Skip to content

Commit a2c30e1

Browse files
committed
manual curation of docs to eliminate 90% of warnings
1 parent b7ac8a0 commit a2c30e1

File tree

22 files changed

+50
-68
lines changed

22 files changed

+50
-68
lines changed

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@
113113

114114
# html4_writer added to Fix colon & whitespace misalignment
115115
# https://github.com/readthedocs/sphinx_rtd_theme/issues/766#issuecomment-513852197
116-
html4_writer = True
116+
# https://github.com/readthedocs/sphinx_rtd_theme/issues/766#issuecomment-629666319
117+
# html4_writer = False
117118

118119
html_logo = "images/pytensor_logo.svg"
119120
html_theme = "pymc_sphinx_theme"

doc/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
- numpy
1010
- scipy
1111
- six
12-
- sphinx>=3
12+
- sphinx>=5.1.0
1313
- mock
1414
- pillow
1515
- pip

doc/extending/type.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ For certain mechanisms, you can register functions and other such
324324
things to plus your type into pytensor's mechanisms. These are optional
325325
but will allow people to use you type with familiar interfaces.
326326

327-
`transfer`
328-
~~~~~~~~~~
327+
**`transfer`**
328+
329329

330330
To plug in additional options for the transfer target, define a
331331
function which takes an PyTensor variable and a target argument and

doc/extending/using_params.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ attribute :attr:`params_type` to an instance of your params Type.
7676
If you want to have multiple parameters, PyTensor provides the convenient class
7777
:class:`pytensor.link.c.params_type.ParamsType` that allows to bundle many parameters into
7878
one object that will be available in both Python (as a Python object) and C code (as a struct).
79-
See :ref:`ParamsType tutorial and API documentation <libdoc_graph_params_type>` for more infos.
8079

8180
For example if we decide to use an int as the params the following
8281
would be appropriate:

doc/library/compile/io.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
.. _function_inputs:
88

9-
===========================================
9+
============================================
1010
:mod:`io` - defines pytensor.function [TODO]
11-
===========================================
11+
============================================
1212

1313
.. module:: pytensor.compile.io
1414
:platform: Unix, Windows

doc/library/compile/opfromgraph.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
.. _opfromgraph:
44

5-
============
5+
=============
66
`OpFromGraph`
7-
============
7+
=============
88

99
This page describes :class:`pytensor.compile.builders.OpFromGraph
1010
<pytensor.compile.builders.OpFromGraph>`, an `Op` constructor that allows one to

doc/library/graph/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@
1818
features
1919
op
2020
type
21-
params_type
2221
utils

doc/library/graph/params_type.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

doc/library/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Modules
1919
config
2020
d3viz/index
2121
graph/index
22-
gpuarray/index
2322
gradient
2423
misc/pkl_utils
2524
printing

doc/library/sandbox/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@
1414
:maxdepth: 1
1515

1616
linalg
17-
neighbours

0 commit comments

Comments
 (0)