Skip to content

Commit 8ffa97e

Browse files
committed
fix xtensor.type page and exclude README from build
1 parent 158ee2a commit 8ffa97e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

doc/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@
8888

8989
# List of directories, relative to source directories, that shouldn't be
9090
# searched for source files.
91-
exclude_dirs = ["images", "scripts", "sandbox"]
92-
exclude_patterns = ['page_footer.md', '**/*.myst.md']
91+
exclude_patterns = ["README.md", "images/*", "page_footer.md", "**/*.myst.md"]
9392

9493
# The reST default role (used for this markup: `text`) to use for all
9594
# documents.

doc/library/xtensor/type.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@
55
## XTensorVariable creation functions
66

77
```{eval-rst}
8-
.. currentmodule:: pytensor.xtensor.type
9-
.. autosummary::
8+
.. automodule:: pytensor.xtensor.type
109
:members: xtensor, xtensor_constant, as_xtensor
1110
1211
```
1312

1413
## XTensor Type and Variable classes
1514

1615
```{eval-rst}
17-
.. currentmodule:: pytensor.xtensor.type
18-
.. autosummary::
16+
.. automodule:: pytensor.xtensor.type
17+
:noindex:
1918
:members: XTensorType, XTensorVariable, XTensorConstant
20-
2119
```
2220

2321

0 commit comments

Comments
 (0)