Skip to content

Commit eb04a24

Browse files
committed
fix docs for latest sphinx
1 parent ca2538d commit eb04a24

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

Diff for: doc/global.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. py:module:: pyvips

Diff for: doc/vimage.rst

+8-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
.. include global.rst
22
3+
.. py:currentmodule:: pyvips
4+
35
``Image``
46
=========
57

68
Main methods
79
------------
810

9-
.. autoclass:: pyvips.Image
11+
.. autoclass:: Image
1012
:members:
1113
:special-members:
1214

1315
.. rubric:: Methods
1416

15-
.. autoautosummary:: pyvips.Image
17+
.. autoautosummary:: Image
1618
:methods:
1719

1820
Attributes
@@ -21,21 +23,8 @@ Attributes
2123
.. autosummary::
2224
:nosignatures:
2325

24-
~pyvips.Image.bands
25-
~pyvips.Image.coding
26-
~pyvips.Image.filename
27-
~pyvips.Image.format
28-
~pyvips.Image.height
29-
~pyvips.Image.interpretation
30-
~pyvips.Image.offset
31-
~pyvips.Image.scale
32-
~pyvips.Image.width
33-
~pyvips.Image.xoffset
34-
~pyvips.Image.xres
35-
~pyvips.Image.yoffset
36-
~pyvips.Image.yres
37-
38-
.. class:: pyvips.Image
26+
.. class:: Image
27+
:noindex:
3928

4029
.. attribute:: width
4130

@@ -93,7 +82,8 @@ Attributes
9382
Autogenerated methods
9483
---------------------
9584

96-
.. class:: pyvips.Image
85+
.. class:: Image
86+
:noindex:
9787

9888
.. rubric:: Methods
9989

Diff for: pyvips/voperation.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,8 @@ def add_name(gtype, a, b):
528528
all_names = [x for x in all_names if x not in exclude]
529529

530530
# Output summary table
531-
print('.. class:: pyvips.Image\n')
531+
print('.. class:: Image')
532+
print(' :noindex:\n')
532533
print(' .. rubric:: Methods\n')
533534
print(' .. autosummary::')
534535
print(' :nosignatures:\n')

0 commit comments

Comments
 (0)