Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE 11 rendering issue #368

Closed
mdd41 opened this issue Jun 12, 2017 · 2 comments
Closed

IE 11 rendering issue #368

mdd41 opened this issue Jun 12, 2017 · 2 comments

Comments

@mdd41
Copy link

mdd41 commented Jun 12, 2017

Description

An Mkdocs site with the material theme does not render properly in IE.

IE 11 reports "'App' is undefined." error. Browser screenshot below.

Works well on Chrome 58 and Firefox 53.

This is a known issue with IE 11. Please refer to the MKDocs https://github.com/mkdocs/mkdocs/pull/786/files.

needs to be added to base.html

Package versions

  • Python: python --version - Python 2.7.13
  • MkDocs: mkdocs --version - mkdocs, version 0.16.3
  • Material: pip show mkdocs-material | grep -E ^Version - Version: 1.7.3

Project configuration

site_name: ""
docs_dir: 'content'
theme: 'material'
theme_dir: 'theme'
use_directory_urls: true
site_description: 'Description'
site_author: 'Author'
site_favicon: 'images/favicon.ico'

pages:
- Reference Hub: 'index.md'

extra:
  logo: 'images/Logopng'
  palette:
    primary: 'red'
    accent: 'light green'
  font:
    text: 'Roboto'
    code: 'Roboto Mono'

extra_css:
  - '_css/extra.css'

markdown_extensions:
  - markdown.extensions.admonition
  - markdown.extensions.codehilite(guess_lang=false)
  - markdown.extensions.def_list
  - markdown.extensions.footnotes
  - markdown.extensions.meta
  - pymdownx.arithmatex
  - pymdownx.betterem(smart_enable=all)
  - pymdownx.caret
  - pymdownx.critic
  - pymdownx.emoji:
      emoji_generator: !!python/name:pymdownx.emoji.to_svg
  - pymdownx.inlinehilite
  - pymdownx.magiclink
  - fenced_code
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.superfences
  - pymdownx.tasklist(custom_checkbox=true)
  - pymdownx.tilde

System information

  • OS: Deployed to Cloud Foundry using the static buildpack
  • Browser: IE11, Chrome 58, Firefox 53

Browser screenshot

image

image

@squidfunk
Copy link
Owner

I cannot reproduce this error in IE11. However, there are some other issues with IE11 (with the scrollbars). Please provide more information (e.g. OS version) and use the issue template or I cannot address this bug.

Regarding your fix: the docs from Microsoft state that this is automatically enabled in IE11 by setting the HTML5 doctype: https://msdn.microsoft.com/library/bg182625(v=vs.85).aspx

@squidfunk squidfunk reopened this Jun 13, 2017
@mdd41
Copy link
Author

mdd41 commented Jun 14, 2017

Updated the initial issue comments with screenshots and missing issue template sections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants