From b246e71c2fd1ee17e6965fe50d97ac6a7ec88bee Mon Sep 17 00:00:00 2001 From: Jamie Lemon Date: Tue, 11 Nov 2025 23:02:41 +0000 Subject: [PATCH 1/3] Amends documentation for Architecture section. --- docs/about.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/about.rst b/docs/about.rst index c6649689d..1092f50df 100644 --- a/docs/about.rst +++ b/docs/about.rst @@ -86,13 +86,14 @@ Architecture ---------------------- -|PyMuPDF| follows a four-layer system architecture with clear separation between components: +|PyMuPDF| follows a four-layer system architecture with the following components: - **Python API Layer** - User-facing classes and functions - **Python Wrapper Layer** - High-level abstractions and utilities -- **Binding Layer** - SWIG-generated Python-C bridges +- **Binding Layer** - SWIG-generated wrapper for the MuPDF C++ API - **MuPDF Core Layer** - Native C/C++ implementation + .. include:: version.rst .. _About_License: From e27e4fe315d8d7cfcb3f983a735dae1316bb26d9 Mon Sep 17 00:00:00 2001 From: Jamie Lemon Date: Wed, 12 Nov 2025 12:53:05 +0000 Subject: [PATCH 2/3] Updates architecture notes. --- docs/about.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/about.rst b/docs/about.rst index 1092f50df..3eef98a87 100644 --- a/docs/about.rst +++ b/docs/about.rst @@ -88,10 +88,10 @@ Architecture |PyMuPDF| follows a four-layer system architecture with the following components: -- **Python API Layer** - User-facing classes and functions -- **Python Wrapper Layer** - High-level abstractions and utilities -- **Binding Layer** - SWIG-generated wrapper for the MuPDF C++ API -- **MuPDF Core Layer** - Native C/C++ implementation +- **PyMuPDF Python API** - User-facing classes and functions +- **MuPDF Python API** - Generated by SWIG +- **MuPDF C++ API** - Generated by custom tool and libclang +- **MuPDF C API** - Native C/C++ implementation .. include:: version.rst From d0f26e7a0a9884cf2763eba4a3ff26e3000d853e Mon Sep 17 00:00:00 2001 From: Jamie Lemon Date: Wed, 12 Nov 2025 14:44:21 +0000 Subject: [PATCH 3/3] Removes "Architecture" section from docs. --- docs/about.rst | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/docs/about.rst b/docs/about.rst index 3eef98a87..a8ef3066d 100644 --- a/docs/about.rst +++ b/docs/about.rst @@ -82,19 +82,6 @@ Here are current results, grouped by task: -Architecture ----------------------- - - -|PyMuPDF| follows a four-layer system architecture with the following components: - -- **PyMuPDF Python API** - User-facing classes and functions -- **MuPDF Python API** - Generated by SWIG -- **MuPDF C++ API** - Generated by custom tool and libclang -- **MuPDF C API** - Native C/C++ implementation - - -.. include:: version.rst .. _About_License: @@ -126,7 +113,7 @@ License and Copyright :title:`Artifex`, the :title:`Artifex` logo, :title:`MuPDF`, and the :title:`MuPDF` logo are registered trademarks of :title:`Artifex Software Inc.` - +.. include:: version.rst .. include:: footer.rst