Skip to content

Commit

Permalink
docs: work around sphinx bug where it can't resolve a type reference
Browse files Browse the repository at this point in the history
Moving everything to the toplevel seems to help.

See sphinx-doc/sphinx#8586
  • Loading branch information
lazka committed Dec 25, 2020
1 parent 84419a1 commit 8971d5d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/pycairo_c_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ Cairo Context
.. c:type:: PyObject PycairoContext
.. c:member:: cairo_t* PycairoContext.ctx
.. c:member:: cairo_t* PycairoContext.ctx
The wrapped :any:`cairo_t`
The wrapped :any:`cairo_t`
.. c:type:: PyTypeObject *PycairoContext_Type
Expand Down Expand Up @@ -140,9 +140,9 @@ Cairo Font Face
.. c:type:: PyObject PycairoFontFace
.. c:member:: cairo_font_face_t* PycairoFontFace.font_face
.. c:member:: cairo_font_face_t* PycairoFontFace.font_face
The wrapped :any:`cairo_font_face_t`
The wrapped :any:`cairo_font_face_t`
.. c:type:: PyTypeObject *PycairoFontFace_Type
Expand All @@ -168,7 +168,7 @@ Cairo Font Options
.. c:type:: PyObject PycairoFontOptions
.. c:member:: cairo_font_options_t* PycairoFontOptions.font_options
.. c:member:: cairo_font_options_t* PycairoFontOptions.font_options
.. c:type:: PyTypeObject *PycairoFontOptions_Type
Expand All @@ -190,7 +190,7 @@ Cairo Matrix
.. c:type:: PyObject PycairoMatrix
.. c:member:: cairo_matrix_t PycairoMatrix.matrix
.. c:member:: cairo_matrix_t PycairoMatrix.matrix
.. c:type:: PyTypeObject *PycairoMatrix_Type
Expand All @@ -212,7 +212,7 @@ Cairo Path
.. c:type:: PyObject PycairoPath
.. c:member:: cairo_path_t* PycairoPath.path
.. c:member:: cairo_path_t* PycairoPath.path
.. c:type:: PyTypeObject *PycairoPath_Type
Expand All @@ -235,7 +235,7 @@ Cairo Pattern
.. c:type:: PyObject PycairoPattern
.. c:member:: cairo_pattern_t* PycairoPattern.pattern
.. c:member:: cairo_pattern_t* PycairoPattern.pattern
.. c:type:: PyTypeObject *PycairoPattern_Type
Expand Down Expand Up @@ -284,7 +284,7 @@ Cairo Region
.. c:type:: PyObject PycairoRegion
.. c:member:: cairo_region_t* PycairoRegion.region
.. c:member:: cairo_region_t* PycairoRegion.region
.. c:type:: PyTypeObject *PycairoRegion_Type
Expand All @@ -306,7 +306,7 @@ Cairo RectangleInt
.. c:type:: PyObject PycairoRectangleInt
.. c:member:: cairo_rectangle_int_t* PycairoRectangleInt.rectangle_int
.. c:member:: cairo_rectangle_int_t* PycairoRectangleInt.rectangle_int
.. c:type:: PyTypeObject *PycairoRectangleInt_Type
Expand All @@ -329,7 +329,7 @@ Scaled Font
.. c:type:: PyObject PycairoScaledFont
.. c:member:: cairo_scaled_font_t* PycairoScaledFont.scaled_font
.. c:member:: cairo_scaled_font_t* PycairoScaledFont.scaled_font
.. c:type:: PyTypeObject *PycairoScaledFont_Type
Expand All @@ -351,7 +351,7 @@ Cairo Surface
.. c:type:: PyObject PycairoSurface
.. c:member:: cairo_surface_t* PycairoSurface.surface
.. c:member:: cairo_surface_t* PycairoSurface.surface
.. c:type:: PyTypeObject *PycairoSurface_Type
Expand Down

0 comments on commit 8971d5d

Please sign in to comment.