# This file exists for production builds where we use the mkdocs-material-insiders code, with exclusive features
# that don't degrade for the open-source version
INHERIT: mkdocs.yml
plugins:
  extra-sass:  
  social:
    cards_layout_options:
      font_family: Ubuntu  
    cards_color:
        fill: "#FFFFFF" 
        text: "#000000"  
  # privacy:
  #   external_links_attr_map:
  #     target: _blank 
  #     rel: nofollow   
  #   external_assets_exclude:
  #     - shields.io/*      
  optimize:
    enabled: false # pngquant errors
  with-pdf:
    #author: David Young
    #copyright: ANY TEXT
    # cover: true
    back_cover: true
    #cover_title: TITLE TEXT
    #cover_subtitle: SUBTITLE TEXT
    # cover_logo: images/cover_logo.png
    custom_template_path: with_pdf_template
    #toc_title: TOC TITLE TEXT
    #heading_shift: true
    toc_level: 3
    ordered_chapter_level: 4
    excludes_children:
        - '*/:discourse-comments'
        - '*/:employ-your-chef-engage'
        - '*/:flirt-with-waiter-subscribe'
        - '*/:fn:1'
    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: false
    # headless_chrome_path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    output_path: funkypenguins-geek-cookbook.pdf
    debug_html: false
    show_anchors: true
    verbose: false
    enabled_if_env: ENABLE_PDF_EXPORT