File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 601601ogp_site_url = 'https://docs.python.org/3/'
602602ogp_site_name = 'Python documentation'
603603ogp_image = '_static/og-image.png'
604- ogp_custom_meta_tags = [
605- '<meta property="og:image:width" content="200">' ,
606- '<meta property="og:image:height" content="200">' ,
607- '<meta name="theme-color" content="#3776ab">' ,
608- ]
604+ if 'builder_html' in tags : # noqa: F821
605+ ogp_custom_meta_tags = [
606+ '<meta property="og:image:width" content="200">' ,
607+ '<meta property="og:image:height" content="200">' ,
608+ '<meta name="theme-color" content="#3776ab">' ,
609+ ]
Original file line number Diff line number Diff line change 1+ EPUB builds are fixed by excluding non-XHTML-compatible tags.
You can’t perform that action at this time.
0 commit comments