Skip to content

Commit 952d80a

Browse files
authored
DOC: Move PDF specification links (py-pdf#2983)
Move from constants.py to pdf-format.md, a more natural location.
1 parent e1d65dc commit 952d80a

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

docs/dev/pdf-format.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# The PDF Format
22

33
It is recommended to look in the PDF specification for details and clarifications.
4-
This is only intended to give a very rough overview of the format.
4+
5+
* [PDF Specification Archive](https://pdfa.org/resource/pdf-specification-archive/)
6+
* [Portable Document Format Reference Manual, 1993. ISBN 0-201-62628-4](https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.0.pdf)
7+
* [ISO 32000-1:2008 (PDF 1.7)](https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf)
8+
* ISO 32000-2:2020 (PDF 2.0)
9+
10+
Below is only intended to give a very rough overview of the format.
511

612
## Overall Structure
713

pypdf/constants.py

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
"""
2-
PDF Specification Archive
3-
https://pdfa.org/resource/pdf-specification-archive/
4-
5-
Portable Document Format Reference Manual, 1993. ISBN 0-201-62628-4
6-
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.0.pdf
7-
8-
ISO 32000-1:2008 (PDF 1.7)
9-
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf
10-
11-
ISO 32000-2:2020 (PDF 2.0)
12-
"""
1+
"""Various constants, enums, and flags to aid readability."""
132

143
from enum import Enum, IntFlag, auto, unique
154
from typing import Dict, Tuple

0 commit comments

Comments
 (0)