Skip to content

Commit

Permalink
DOC: Fix documentation for PdfDocCommon (py-pdf#3013)
Browse files Browse the repository at this point in the history
* DOC: Fix documentation for PdfDocCommon

Closes py-pdf#1493.

* use cross-references
  • Loading branch information
stefan6419846 authored Jan 1, 2025
1 parent 746df67 commit c358ca5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docs/modules/PdfDocCommon.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/modules/PdfDocCommon.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
The PdfDocCommon Class
----------------------

**PdfDocCommon** is an abstract class which is inherited by :class:`~pypdf.PdfReader` and :class:`~pypdf.PdfWriter`.

Where identified in the API, you can use any of the derived class.

.. autoclass:: pypdf._doc_common.PdfDocCommon
:members:
:inherited-members:
:undoc-members:
:show-inheritance:

0 comments on commit c358ca5

Please sign in to comment.