File: mkdocs.yml

package info (click to toggle)
fpdf2 2.8.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 114,352 kB
  • sloc: python: 50,410; sh: 133; makefile: 12
file content (211 lines) | stat: -rw-r--r-- 7,931 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
### 
# Related docs: https://py-pdf.github.io/fpdf2/Development.html#documentation
#
# material theme docs: https://squidfunk.github.io/mkdocs-material/
### 
site_name: fpdf2
site_url: https://py-pdf.github.io/fpdf2/
site_author: Lucas Cimon et al
site_description: fpdf2 - minimalist PDF creation library for Python

repo_url: https://github.com/py-pdf/fpdf2
repo_name: py-pdf/fpdf2

docs_dir: docs/
site_dir: public/
use_directory_urls: false
edit_uri: edit/master/docs

theme:
  name: material
  custom_dir: docs/overrides/
  features:
    - navigation.top
    - toc.follow
  palette:
    # Palette toggle for dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      toggle:
        icon: material/brightness-4
        name: Switch to light mode
    # Palette toggle for light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode

markdown_extensions:
  - admonition
    # Related theme doc: https://squidfunk.github.io/mkdocs-material/reference/admonitions/
  - md_in_html
  - pymdownx.critic
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg
  - pymdownx.highlight
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
  - toc:
      permalink: true

plugins:
  - search
  - include-markdown
  - mknotebooks
  - minify:
      minify_html: true
      htmlmin_opts:
        remove_comments: true
  - privacy
  - redirects:
      redirect_maps:
        'CombineWithChartingLibs.md': 'Maths.md'
        'CombineWithMistletoeoToUseMarkdown.md': 'CombineWithMarkdown.md'
  - check_toc
  #- git-committers:
  #    repository: py-pdf/fpdf2
  #    branch: master
  - git-revision-date-localized
  - with-pdf:  # https://github.com/orzih/mkdocs-with-pdf
      output_path: fpdf2-manual.pdf
      cover_title: fpdf2 manual
      cover_subtitle: A minimalist PDF creation library for Python
      author: ' '
      copyright: ' '
      exclude_pages:
        - 'Tutorial-bn'
        - 'Tutorial-de'
        - 'Tutorial-es'
        - 'Tutorial-fr'
        - 'Tutorial-gr'
        - 'Tutorial-he'
        - 'Tutorial-hi'
        - 'Tutorial-id'
        - 'Tutorial-it'
        - 'Tutorial-ja'
        - 'Tutorial-km'
        - 'Tutorial-nl'
        - 'Tutorial-pl'
        - 'Tutorial-pt'
        - 'Tutorial-ru'
        - 'Tutorial-tr'
        - 'Tutorial-zh'
        - 'Tutorial-sl'
      #cover: false
      #back_cover: true
      #custom_template_path: TEMPLATES PATH
      #toc_title: TOC TITLE TEXT
      #heading_shift: false
      #toc_level: 3
      #ordered_chapter_level: 2
      #excludes_children:
      #    - 'release-notes/:upgrading'
      #convert_iframe:
      #    - src: IFRAME SRC
      #      img: POSTER IMAGE URL
      #      text: ALTERNATE TEXT
      #two_columns_level: 3
      #render_js: true
      #headless_chrome_path: headless-chromium
      #enabled_if_env: ENABLE_PDF_EXPORT
      #debug_html: true
      #show_anchors: true
      #verbose: true

hooks:
  - docs/overrides/.hooks/log_manager.py

nav:
- 'Project Home':                     'index.md'
- 'Tutorial':
  - 'Jupyter notebook':               'notebook.ipynb'
  - 'Tutorial in English':            'Tutorial.md'
  - 'বাংলা':                           'Tutorial-bn.md'
  - 'Tutorial auf Deutsch':           'Tutorial-de.md'
  - 'Tutorial en español':            'Tutorial-es.md'
  - 'Tutorial en français':           'Tutorial-fr.md'
  - 'Φροντιστήριο στα ελληνικά':      'Tutorial-gr.md'
  - 'מדריך בעברית':                   'Tutorial-he.md'
  - 'हिंदी में ट्यूटोरियल':                 'Tutorial-hi.md'
  - 'Panduan dalam Bahasa Indonesia': 'Tutorial-id.md'
  - 'Tutorial in italiano':           'Tutorial-it.md'
  - '日本語チュートリアル':                 'Tutorial-ja.md'
  - 'ភាសខ្មែរ':                         'Tutorial-km.md'
  - 'Handleiding in Dutch':           'Tutorial-nl.md'
  - 'Poradnik w języku polskim':      'Tutorial-pl.md'
  - 'Tutorial em português':          'Tutorial-pt.md'
  - 'Учебник на русском языке':       'Tutorial-ru.md'
  - 'Türkçe Kılavuz':                 'Tutorial-tr.md'
  - '简体中文教程':                     'Tutorial-zh.md'
  - 'Vodnik po uporabi knjižnice':    'Tutorial-sl.md'
  - 'Підручник українською мовою':    'Tutorial-ua.md'
- 'Page Layout':
  - 'Page Format and Orientation':    'PageFormatAndOrientation.md'
  - 'Margins':                        'Margins.md'
  - 'Templates':                      'Templates.md'
  - 'Text Flow Regions':
      - 'Basics':                     'TextRegion.md'
      - 'Text Columns':               'TextColumns.md'
  - 'Tables':                         'Tables.md'
- 'Text Content':
  - 'Adding Text':                    'Text.md'
  - 'Line breaks':                    'LineBreaks.md'
  - 'Page breaks':                    'PageBreaks.md'
  - 'Text styling':                   'TextStyling.md'
  - 'Fonts and Unicode':              'Unicode.md'
  - 'Text Shaping':                   'TextShaping.md'
  - 'Emojis, Symbols & Dingbats':     'EmojisSymbolsDingbats.md'
  - 'HTML':                           'HTML.md'
- 'Graphics Content':
  - 'Images':                         'Images.md'
  - 'Shapes':                         'Shapes.md'
  - 'Transformations':                'Transformations.md'
  - 'Transparency':                   'Transparency.md'
  - 'Patterns':                       'Patterns.md'
  - 'Barcodes':                       'Barcodes.md'
  - 'Drawing':                        'Drawing.md'
  - 'SVG':                            'SVG.md'
  - 'Charts & Graphs':                'Maths.md'
- 'PDF Features':
  - 'Links':                          'Links.md'
  - 'Named destinations':             'NamedDestinations.md'
  - 'Metadata':                       'Metadata.md'
  - 'Annotations':                    'Annotations.md'
  - 'Presentation Mode':              'Presentations.md'
  - 'Document outline & table of contents': 'DocumentOutlineAndTableOfContents.md'
  - 'Page Labels':                    'PageLabels.md'
  - 'Encryption':                     'Encryption.md'
  - 'Signing':                        'Signing.md'
  - 'File attachments':               'FileAttachments.md'
  - 'PDF/A':                          'pdfa.md'
- 'Mixing other libs':
  - 'Combine with pypdf':             'CombineWithPypdf.md'
  - 'Combine with Markdown':          'CombineWithMarkdown.md'
  - 'Combine with livereload':        'CombineWithLivereload.md'
  - 'Combine with borb':              'CombineWithBorb.md'
  - 'Combine with pdfrw':             'CombineWithPdfrw.md'
  - 'Matplotlib, Pandas, Plotly, Pygal': 'CombineWithChartingLibs.md'
  - 'Usage in web APIs':              'UsageInWebAPI.md'
  - 'Rendering spreadsheets as PDF tables': 'RenderingSpreadsheetsAsPDFTables.md'
  - 'Templating with Jinja':          'TemplatingWithJinja.md'
  - 'Combine with Rough.js':          'CombineWithRoughJS.md'
  - 'Database storage with SQLAlchemy': 'DatabaseStorage.md'
- 'Development':
  - 'Development guidelines':         'Development.md'
  - 'Logging':                        'Logging.md'
  - 'fpdf2 internals':                'Internals.md'
- 'API':                              'https://py-pdf.github.io/fpdf2/fpdf/'
- 'Changelog':                        'https://github.com/py-pdf/fpdf2/blob/master/CHANGELOG.md'
- 'History':                          'History.md'

extra:
  social:
    - icon: fontawesome/brands/github
      link: https://github.com/py-pdf/fpdf2
    - icon: fontawesome/brands/python
      link: https://pypi.org/project/fpdf2/