pozgo / docker-mkdocs

MkDocs in a Docker. (Alpine)
MIT License
84 stars 34 forks source link

Auto-Update feature dysfunctionality after updating to 1.5.2 #69

Open anacardix opened 11 months ago

anacardix commented 11 months ago

After upgrading from version 1.4.2 to 1.5.2, I encountered an issue when attempting to execute the following command:

docker exec -ti mkdocs bootstrap update

This resulted in the following error:

Traceback (most recent call last): File "/usr/bin/bootstrap", line 5, in <module> from app.cli import cli ModuleNotFoundError: No module named 'app'

Consequently, this error has disrupted the functionality of the auto-update feature. I have tested it with version 1.4.2, and it was working perfectly.

yaggen commented 5 months ago

Found two workarounds for this issue.

This fixes the auto-update feature and works as a more "permanent" fix.

Looking further into this and might come up with a PR