mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
Experiment with PDF generation
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
36
mkdocs.yml
36
mkdocs.yml
@@ -11,14 +11,12 @@ edit_uri: 'edit/master/manuscript/'
|
||||
repo_name: 'geek-cookbook'
|
||||
repo_url: 'https://github.com/geek-cookbook/geek-cookbook'
|
||||
|
||||
# Set this to "manuscript" so that we can produce leanpub content
|
||||
docs_dir: 'manuscript'
|
||||
|
||||
# Copyright
|
||||
copyright: 'Copyright © 2016 - 2022 David Young, Funky Penguin Limited'
|
||||
|
||||
# Plugins
|
||||
plugins:
|
||||
extra-sass:
|
||||
# privacy:
|
||||
search:
|
||||
minify:
|
||||
@@ -38,6 +36,38 @@ plugins:
|
||||
repository: geek-cookbook/geek-cookbook
|
||||
token: !ENV GH_TOKEN
|
||||
meta-descriptions: # If not provided, auto-generate a description (https://pypi.org/project/mkdocs-meta-descriptions-plugin/)
|
||||
with-pdf:
|
||||
#author: David Young
|
||||
#copyright: ANY TEXT
|
||||
cover: true
|
||||
back_cover: true
|
||||
#cover_title: TITLE TEXT
|
||||
#cover_subtitle: SUBTITLE TEXT
|
||||
custom_template_path: with_pdf_template
|
||||
#toc_title: TOC TITLE TEXT
|
||||
#heading_shift: true
|
||||
toc_level: 3
|
||||
ordered_chapter_level: 4
|
||||
excludes_children:
|
||||
- 'release-notes/:upgrading'
|
||||
- 'release-notes/:changelog'
|
||||
exclude_pages:
|
||||
- 'reference/oauth_proxy/'
|
||||
- 'appendix/contribute/'
|
||||
convert_iframe:
|
||||
- src: IFRAME SRC
|
||||
img: POSTER IMAGE URL
|
||||
text: ALTERNATE TEXT
|
||||
- src: ...
|
||||
# two_columns_level: 3
|
||||
render_js: true
|
||||
# headless_chrome_path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
|
||||
|
||||
output_path: funky-penguins-geek-cookbook.pdf
|
||||
debug_html: false
|
||||
show_anchors: true
|
||||
verbose: false
|
||||
enabled_if_env: ENABLE_PDF_EXPORT
|
||||
|
||||
#theme_dir: mkdocs-material
|
||||
nav:
|
||||
|
||||
Reference in New Issue
Block a user