-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bug
Description
Description
I'm not 100% sure if that one is on MkDocs or MkDocs-Material side, but when using a GitHub organization URL for repo_url in mkdocs.yml (such as https://github.com/orgname) instead of the regular project URL (https://github.com/user/project), the following JavaScript exception is generated:
application-6b4ff16fa7.js:3 Uncaught TypeError: Invalid attempt to destructure non-iterable instance
at application-6b4ff16fa7.js:3
at new t (application-6b4ff16fa7.js:3)
at application-6b4ff16fa7.js:1
at Object.r (application-6b4ff16fa7.js:1)
at (index):662
Expected behavior
No javascript error
Actual behavior
JS exception
Steps to reproduce the bug
- Clone the
mkdocs-materialrepo - edit mkdocs.yml and replace the
repo_urlvalue byhttps://github.com/orgname yarn run startand look at the browser console
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:master
Project configuration
https://github.com/squidfunk/mkdocs-material/blob/master/mkdocs.yml
System information
- OS: Debian 9.0
- Browser: Chrome 58
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bug