Skip to content

extra_* settings do not support pointing to CDNs #1336

Description

@Frederick-S

This error occurs when I run mkdocs serve command. And the output shows:

INFO    -  Building documentation...
INFO    -  Cleaning site directory

Bad path: https:\\cdnjs.cloudflare.com\ajax\libs\mathjax\2.7.1\mathjax.js?config=tex-ams-mml_htmlormml

The output shows mkdocs converts url to lower case, but mathjax cdn is case sensitive, so the converted url is not valid.

Here is my extra_javascript setting: extra_javascript: ['https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML', 'mathjaxconfig.js'].

And additional information:

OS: Windows 10
Python: 3.6.1
mkdocs: 0.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions