You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting ERROR - Config value 'plugins': The "privacy" plugin is not installed when cloudflare tries to deploy it.
Things i tried, which didnt work:
change - privacy: to -privacy
before when it deployed correctly without privacy plugin, i didnt add mkdocs in requirement.txt, only mkdocs-material, so i added mkdocs too
My settings
Cloudflare Build command:
pip install -r requirements.txt && mkdocs build
requirements.txt:
mkdocs
mkdocs-material
mkdocs-document-dates
mkdocs.yml relevant plugin section:
plugins:
### Built in Plugins (MkDocs Material)
- search:
lang: en
- privacy: # some Limitations of this plugin are described here https://squidfunk.github.io/mkdocs-material/plugins/privacy/#limitations# cache_dir: my/custom/dir# links_attr_map: # Insiders only# target: _blank # add target="_blank" to all external links so they open in a new tab### External Plugins
- document-dates:
position: top # Display position: top(after title) bottom(end of document)type: date # Date type: date datetime timeago, default: dateexclude: # List of excluded files
- temp.md # Example: Exclude the specified file
- blog/* # Example: Exclude all files in blog folder, including subfoldersdate_format: '%Y-%m-%d'# Date format strings (e.g., %Y-%m-%d, %b %d, %Y)time_format: '%H:%M:%S'# Time format strings (valid only if type=datetime)show_author: true # Author display mode: true(avatar) text(text) false(hidden)recently-updated: true # Whether to turn on recently updated data, default: false
EDIT:
Fixed it.
Minimum python version 3.8 was needed for it to work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting
ERROR - Config value 'plugins': The "privacy" plugin is not installedwhen cloudflare tries to deploy it.Things i tried, which didnt work:
- privacy:to-privacymkdocsin requirement.txt, onlymkdocs-material, so i addedmkdocstooMy settings
Cloudflare Build command:
requirements.txt:
mkdocs.yml relevant plugin section:
EDIT:
Fixed it.
Minimum python version
3.8was needed for it to work.Beta Was this translation helpful? Give feedback.
All reactions