dj-stripe / dj-stripe

dj-stripe automatically syncs your Stripe Data to your local database as pre-implemented Django Models allowing you to use the Django ORM, in your code, to work with the data making it easier and faster.
https://dj-stripe.dev
MIT License
1.56k stars 474 forks source link

Plugin 'mkdocstrings' option 'watch' is breaking the docs #2049

Closed abe-101 closed 54 minutes ago

abe-101 commented 2 weeks ago

this line in the mkdocs config file is causing the docs deploy action to fail https://github.com/dj-stripe/dj-stripe/blob/8727894baa30fdba68332d947a5c18ae6efe7e60/mkdocs.yml#L41-L42

https://github.com/abe-101/dj-stripe.github.io/actions/runs/8868603625/job/24348357466#step:17:17

Run poetry run mike set-default --push "${LATEST_STABLE_BRANCH##*/}"

Config value 'plugins': Plugin 'mkdocstrings' option 'watch': Unrecognised configuration name: watch error: identifier '2.7' does not exist Error: Process completed with exit code 1.

pawamoy commented 2 weeks ago

Just move watch to the top-level, it was implemented in MkDocs itself and deprecated in mkdocstrings (then removed) :slightly_smiling_face:

Not sure what causes error: identifier '2.7' does not exist though, maybe coming from mike.

jleclanche commented 54 minutes ago

This has been fixed