backstage / mkdocs-techdocs-core

The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
Apache License 2.0
83 stars 61 forks source link

Fix "Error reading page 'index.md': extendMarkdown()" #87

Closed iamEAP closed 1 year ago

iamEAP commented 1 year ago

What / Why

Saw reports in discord of folks who merely run pip install mkdocs-techdocs-core==1.* in their set up, then run mkdocs build, get the following error:

ERROR    -  Error reading page 'index.md': extendMarkdown() missing 1 required positional argument: 'md_globals'
mkdocs failed, exit code: 1

This PR:

Follow-up to #74.

See also: https://github.com/mkdocs/mkdocs/issues/2892