You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a mkdocs project using the material theme.
I wanted to use the mkdocs-pdf-export-plugin but after installing and adding the plugin to the configuration I get a lot of errors like this:
Error converting index.md to PDF: maximum recursion depth exceeded in comparison
Error converting 404.md to PDF: maximum recursion depth exceeded in comparison
...
56 other files with the same error
...
Converting 99 files to PDF took 83.7s
58 conversion errors occurred (see above)
The conversion works on 99 files but it fails on 58.
I don´t understand what is the problem because they are all very simple files.
For Example the index.md looks like this:
# Willkommen auf der RZL Hilfe![RZL Logo](<assets/RZL_Logo_mit_Software_schwarz_herz_rot.svg#only-light>)![RZL Logo](<assets/RZL_Logo_mit_Software_weiss_herz_rot.svg#only-light#only-dark>)
the 404.md like this:
---search:
exclude: true---# 404 Ups :D
Diese Seite wurde leider nicht gefunden.
Eventuell kann die Suchfunktion weiterhelfen.
[Hier geht es zurück zur Startseite](/)
I tried to remove the links but that did not change anything...
Logs with verbose:true
There are a lot of warnings, but I cant find any error.
...
WARNING: Expected a media type, got '(hover:none)'
WARNING: Invalid media type ' (hover:none),(pointer:coarse)' the whole @media rule was ignored at 1:78075.
DEBUG: Ignored `cursor:pointer` at 1:78431, the property does not apply for the print media.
DEBUG: Ignored `scroll-snap-align:start` at 1:78473, the property does not apply for the print media.
DEBUG: Ignored `transition:color .25s,background-color .25s` at 1:78497, the property does not apply for the print media.
WARNING: Ignored `box-shadow:var(--md-shadow-z1)` at 1:83008, unknown property.
DEBUG: Ignored `transition:box-shadow 125ms` at 1:83168, the property does not apply for the print media.
WARNING: Ignored `box-shadow:none` at 1:83253, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #448aff1a` at 1:83340, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--note)` at 1:85365, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--note)` at 1:85416, unknown property.
DEBUG: Ignored `-webkit-mask-position:center` at 1:85459, prefixed selectors are ignored.
WARNING: Ignored `mask-position:center` at 1:85488, unknown property.
DEBUG: Ignored `-webkit-mask-repeat:no-repeat` at 1:85509, prefixed selectors are ignored.
WARNING: Ignored `mask-repeat:no-repeat` at 1:85539, unknown property.
DEBUG: Ignored `-webkit-mask-size:contain` at 1:85561, prefixed selectors are ignored.
WARNING: Ignored `mask-size:contain` at 1:85587, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .05rem var(--md-default-fg-color--lightest)` at 1:85705, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #448aff1a` at 1:85921, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--note)` at 1:86144, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--note)` at 1:86195, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #00b0ff1a` at 1:86497, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--abstract)` at 1:86736, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--abstract)` at 1:86791, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #00b8d41a` at 1:87089, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--info)` at 1:87312, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--info)` at 1:87363, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #00bfa51a` at 1:87645, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--tip)` at 1:87864, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--tip)` at 1:87914, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #00c8531a` at 1:88209, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--success)` at 1:88444, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--success)` at 1:88498, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #64dd171a` at 1:88809, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--question)` at 1:89048, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--question)` at 1:89103, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #ff91001a` at 1:89413, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--warning)` at 1:89648, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--warning)` at 1:89702, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #ff52521a` at 1:90009, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--failure)` at 1:90244, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--failure)` at 1:90298, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #ff17441a` at 1:90601, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--danger)` at 1:90832, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--danger)` at 1:90885, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #f500571a` at 1:91173, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--bug)` at 1:91392, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--bug)` at 1:91442, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #7c4dff1a` at 1:91737, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--example)` at 1:91972, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--example)` at 1:92026, unknown property.
WARNING: Ignored `box-shadow:0 0 0 .2rem #9e9e9e1a` at 1:92325, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-admonition-icon--quote)` at 1:92552, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-admonition-icon--quote)` at 1:92604, unknown property.
DEBUG: Ignored `transition:color 125ms` at 1:93151, the property does not apply for the print media.
DEBUG: Ignored `transition:none` at 1:93335, the property does not apply for the print media.
WARNING: Ignored `outline-offset:.1rem` at 1:93633, unknown property.
WARNING: Ignored `outline:auto` at 1:93702, invalid value.
DEBUG: Ignored `transition:color .25s,transform .25s .25s,opacity 125ms .25s` at 1:93849, the property does not apply for the print media.
DEBUG: Ignored `-webkit-mask-image:var(--md-footnotes-icon)` at 1:94297, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-footnotes-icon)` at 1:94341, unknown property.
DEBUG: Ignored `-webkit-mask-position:center` at 1:94377, prefixed selectors are ignored.
WARNING: Ignored `mask-position:center` at 1:94406, unknown property.
DEBUG: Ignored `-webkit-mask-repeat:no-repeat` at 1:94427, prefixed selectors are ignored.
WARNING: Ignored `mask-repeat:no-repeat` at 1:94457, unknown property.
DEBUG: Ignored `-webkit-mask-size:contain` at 1:94479, prefixed selectors are ignored.
WARNING: Ignored `mask-size:contain` at 1:94505, unknown property.
WARNING: Invalid or unsupported selector '[dir=rtl] .md-typeset .footnote-backref:before svg', (<IdentToken svg>, 'unexpected ident token.')
DEBUG: Ignored `transition:color .25s,opacity 125ms` at 1:94809, the property does not apply for the print media.
DEBUG: Ignored `transition:color .25s,opacity 125ms` at 1:94999, the property does not apply for the print media.
DEBUG: Ignored `scroll-margin-top:calc(var(--md-scroll-margin) - var(--md-scroll-offset))` at 1:95229, the property does not apply for the print media.
WARNING: Expected a media type, got 'screen/**/and/**/(min-width:76.25em)'
WARNING: Invalid media type ' screen and (min-width:76.25em)' the whole @media rule was ignored at 1:95303.
WARNING: Expected a media type, got 'screen/**/and/**/(max-width:44.984375em)'
WARNING: Invalid media type ' screen and (max-width:44.984375em)' the whole @media rule was ignored at 1:95601.
WARNING: Ignored `touch-action:auto` at 1:95860, unknown property.
DEBUG: Ignored `-webkit-box-decoration-break:clone` at 1:96108, prefixed selectors are ignored.
DEBUG: Ignored `-webkit-box-decoration-break:clone` at 1:96266, prefixed selectors are ignored.
WARNING: Ignored `box-shadow:none` at 1:96489, unknown property.
WARNING: Ignored `box-shadow:none` at 1:97059, unknown property.
DEBUG: Ignored `cursor:pointer` at 1:97481, the property does not apply for the print media.
WARNING: Ignored `outline-offset:.2rem` at 1:97616, unknown property.
DEBUG: Ignored `-webkit-tap-highlight-color:transparent` at 1:97677, prefixed selectors are ignored.
DEBUG: Ignored `-webkit-mask-image:var(--md-details-icon)` at 1:97904, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-details-icon)` at 1:97946, unknown property.
DEBUG: Ignored `-webkit-mask-position:center` at 1:97980, prefixed selectors are ignored.
WARNING: Ignored `mask-position:center` at 1:98009, unknown property.
DEBUG: Ignored `-webkit-mask-repeat:no-repeat` at 1:98030, prefixed selectors are ignored.
WARNING: Ignored `mask-repeat:no-repeat` at 1:98060, unknown property.
DEBUG: Ignored `-webkit-mask-size:contain` at 1:98082, prefixed selectors are ignored.
WARNING: Ignored `mask-size:contain` at 1:98108, unknown property.
DEBUG: Ignored `transition:transform .25s` at 1:98178, the property does not apply for the print media.
WARNING: Invalid or unsupported selector '.md-typeset summary::-webkit-details-marker', (<IdentToken -webkit-details-marker>, 'Expected a supported pseudo-element, got -webkit-details-marker')
WARNING: Ignored `fill:currentcolor` at 1:98606, unknown property.
WARNING: Ignored `box-shadow:2px 0 0 0 var(--md-code-hl-color) inset` at 1:100638, unknown property.
WARNING: Ignored `box-shadow:-.05rem 0 var(--md-default-fg-color--lightest) inset` at 1:101263, unknown property.
WARNING: Ignored `position:sticky` at 1:101510, invalid value.
DEBUG: Ignored `-webkit-user-select:none` at 1:101526, prefixed selectors are ignored.
WARNING: Ignored `user-select:none` at 1:101551, unknown property.
WARNING: Ignored `display:contents` at 1:101674, invalid value.
DEBUG: Ignored `-webkit-user-select:none` at 1:102229, prefixed selectors are ignored.
WARNING: Ignored `user-select:none` at 1:102254, unknown property.
WARNING: Ignored `box-shadow:-.05rem 0 var(--md-default-fg-color--lightest) inset` at 1:102298, unknown property.
WARNING: Expected a media type, got 'screen/**/and/**/(max-width:44.984375em)'
WARNING: Invalid media type ' screen and (max-width:44.984375em)' the whole @media rule was ignored at 1:102997.
DEBUG: Ignored `-moz-osx-font-smoothing:initial` at 1:103591, prefixed selectors are ignored.
DEBUG: Ignored `-webkit-font-smoothing:initial` at 1:103623, prefixed selectors are ignored.
DEBUG: Ignored `-ms-overflow-style:none` at 1:107222, prefixed selectors are ignored.
WARNING: Ignored `box-shadow:0 -.05rem var(--md-default-fg-color--lightest) inset` at 1:107246, unknown property.
DEBUG: Ignored `scrollbar-width:none` at 1:107352, the property does not apply for the print media.
WARNING: Ignored `display:contents` at 1:107413, invalid value.
WARNING: Invalid or unsupported selector '.md-typeset .tabbed-labels::-webkit-scrollbar', (<IdentToken -webkit-scrollbar>, 'Expected a supported pseudo-element, got -webkit-scrollbar')
DEBUG: Ignored `cursor:pointer` at 1:108022, the property does not apply for the print media.
DEBUG: Ignored `scroll-margin-inline-start:1rem` at 1:108115, the property does not apply for the print media.
DEBUG: Ignored `transition:background-color .25s,color .25s` at 1:108147, the property does not apply for the print media.
WARNING: Ignored `display:contents` at 1:109693, invalid value.
DEBUG: Ignored `cursor:pointer` at 1:111830, the property does not apply for the print media.
WARNING: Ignored `pointer-events:auto` at 1:111889, unknown property.
DEBUG: Ignored `transition:background-color .25s` at 1:111909, the property does not apply for the print media.
DEBUG: Ignored `-webkit-mask-image:var(--md-tabbed-icon--prev)` at 1:112175, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-tabbed-icon--prev)` at 1:112222, unknown property.
DEBUG: Ignored `-webkit-mask-position:center` at 1:112261, prefixed selectors are ignored.
WARNING: Ignored `mask-position:center` at 1:112290, unknown property.
DEBUG: Ignored `-webkit-mask-repeat:no-repeat` at 1:112311, prefixed selectors are ignored.
WARNING: Ignored `mask-repeat:no-repeat` at 1:112341, unknown property.
DEBUG: Ignored `-webkit-mask-size:contain` at 1:112363, prefixed selectors are ignored.
WARNING: Ignored `mask-size:contain` at 1:112389, unknown property.
DEBUG: Ignored `transition:background-color .25s,transform .25s` at 1:112407, the property does not apply for the print media.
WARNING: Ignored `justify-content:start` at 1:112595, invalid value.
WARNING: Ignored `pointer-events:none` at 1:112617, unknown property.
DEBUG: Ignored `transition:opacity 125ms` at 1:112655, the property does not apply for the print media.
WARNING: Ignored `justify-content:end` at 1:112909, invalid value.
DEBUG: Ignored `-webkit-mask-image:var(--md-tabbed-icon--next)` at 1:112992, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-tabbed-icon--next)` at 1:113039, unknown property.
WARNING: Expected a media type, got 'screen/**/and/**/(max-width:44.984375em)'
WARNING: Invalid media type ' screen and (max-width:44.984375em)' the whole @media rule was ignored at 1:113078.
DEBUG: Ignored `-webkit-mask-image:var(--md-tasklist-icon)` at 1:124531, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-tasklist-icon)` at 1:124574, unknown property.
DEBUG: Ignored `-webkit-mask-position:center` at 1:124609, prefixed selectors are ignored.
WARNING: Ignored `mask-position:center` at 1:124638, unknown property.
DEBUG: Ignored `-webkit-mask-repeat:no-repeat` at 1:124659, prefixed selectors are ignored.
WARNING: Ignored `mask-repeat:no-repeat` at 1:124689, unknown property.
DEBUG: Ignored `-webkit-mask-size:contain` at 1:124711, prefixed selectors are ignored.
WARNING: Ignored `mask-size:contain` at 1:124737, unknown property.
DEBUG: Ignored `-webkit-mask-image:var(--md-tasklist-icon--checked)` at 1:124885, prefixed selectors are ignored.
WARNING: Ignored `mask-image:var(--md-tasklist-icon--checked)` at 1:124937, unknown property.
WARNING: Ignored `grid-gap:.4rem` at 1:126773, unknown property.
WARNING: Ignored `display:grid` at 1:126788, invalid value.
WARNING: Ignored `grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))` at 1:126801, unknown property.
WARNING: Ignored `display:contents` at 1:126935, invalid value.
DEBUG: Ignored `transition:border .25s,box-shadow .25s` at 1:127150, the property does not apply for the print media.
WARNING: Ignored `box-shadow:var(--md-shadow-z2)` at 1:127433, unknown property.
WARNING: Expected a media type, got 'screen/**/and/**/(min-width:45em)'
WARNING: Invalid media type ' screen and (min-width:45em)' the whole @media rule was ignored at 1:128604.
INFO: Step 2 - Fetching and parsing CSS - file:///tmp/mkdocs_8sx160kv/assets/stylesheets/palette.06af60db.min.css
WARNING: Expected a media type, got 'screen/**/and/**/(min-width:60em)'
WARNING: Invalid media type ' screen and (min-width:60em)' the whole @media rule was ignored at 1:10974.
WARNING: Expected a media type, got 'screen/**/and/**/(min-width:76.25em)'
WARNING: Invalid media type ' screen and (min-width:76.25em)' the whole @media rule was ignored at 1:11305.
WARNING: Expected a media type, got 'screen/**/and/**/(max-width:59.984375em)'
WARNING: Invalid media type ' screen and (max-width:59.984375em)' the whole @media rule was ignored at 1:12091.
WARNING: Expected a media type, got 'screen/**/and/**/(max-width:76.234375em)'
WARNING: Invalid media type ' screen and (max-width:76.234375em)' the whole @media rule was ignored at 1:12229.
WARNING: Expected a media type, got 'screen/**/and/**/(min-width:76.25em)'
WARNING: Invalid media type ' screen and (min-width:76.25em)' the whole @media rule was ignored at 1:12399.
INFO: Step 2 - Fetching and parsing CSS - https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback
WARNING: Ignored `font-display: fallback` at 5:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 12:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 19:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 26:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 33:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 40:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 47:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 54:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 61:3, descriptor not supported.
WARNING: Ignored `font-display: fallback` at 68:3, descriptor not supported.
INFO: Step 2 - Fetching and parsing CSS - CSS string
INFO: Step 2 - Fetching and parsing CSS - file:///tmp/mkdocs_8sx160kv/stylesheets/extra.css
INFO: Step 2 - Fetching and parsing CSS - file:///tmp/mkdocs_8sx160kv/stylesheets/pdf.css
INFO: Step 2 - Fetching and parsing CSS - CSS string
INFO: Step 2 - Fetching and parsing CSS - CSS string
INFO: Step 3 - Applying CSS
INFO: Step 4 - Creating formatting structure
INFO: Step 5 - Creating layout - Page 1
INFO: Step 5 - Creating layout - Page 2
INFO: Step 6 - Creating PDF
INFO: Step 7 - Adding PDF metadata
Converting 99 files to PDF took 95.5s
58 conversion errors occurred (see above)
INFO - Documentation built in 97.67 seconds
INFO - [11:55:11] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO - [11:55:11] Serving on http://127.0.0.1:8000/
INFO - [11:55:12] Browser connected: http://127.0.0.1:8000/
Hello,
I have a
mkdocs
project using thematerial
theme.I wanted to use the
mkdocs-pdf-export-plugin
but after installing and adding the plugin to the configuration I get a lot of errors like this:The conversion works on 99 files but it fails on 58.
I don´t understand what is the problem because they are all very simple files.
For Example the
index.md
looks like this:the
404.md
like this:I tried to remove the links but that did not change anything...
Logs with
verbose:true
There are a lot of warnings, but I cant find any error.
My
mkdocs.yml
Can you help my with that problem? Thank you!
The text was updated successfully, but these errors were encountered: