jimporter / mike

Manage multiple versions of your MkDocs-powered documentation via Git
BSD 3-Clause "New" or "Revised" License
534 stars 47 forks source link

mike doesnt support !ENV #64

Closed zhilyaev closed 3 years ago

zhilyaev commented 3 years ago

I have the next mkdocs.yml

...
extra:
  version:
    provider: mike
    default: latest
  analytics:
    provider: google
    property: !ENV GOOGLE_ANALYTICS_KEY
...

Error

error: could not determine a constructor for the tag '!ENV'
  in "mkdocs.yml", line 53, column 15

Mkdocs configuration: https://www.mkdocs.org/user-guide/configuration/#environment-variables

jimporter commented 3 years ago

This should already be resolved by the patch for #59, which will be published in v1.1 in a week or so. If the patch there doesn't work right, just let me know and I can reopen this.

jimporter commented 3 years ago

Well, it took a lot longer than a week (other things came up, as they tend to do), but v1.1.0 is now published.