Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 'binder' required configuration not provided #62

Closed
melissawm opened this issue May 2, 2023 · 4 comments · Fixed by #67
Closed

Error: 'binder' required configuration not provided #62

melissawm opened this issue May 2, 2023 · 4 comments · Fixed by #67

Comments

@melissawm
Copy link

Hello! Thanks for this project! ❤️

When trying to build a simple gallery with no binder config settings I get the following error:

ERROR    -  Config value 'plugins': Plugin 'gallery' option 'binder': Sub-option 'org': Required configuration not provided.
Aborted with 1 Configuration Errors!

Is it possible to ignore this config value?

I am following the Getting Started section of mkdocs-gallery and the plugin section for my mkdocs.yml is the following:

plugins:
  - gallery:
      examples_dirs: examples               # path to your example scripts
      gallery_dirs: docs/generated/gallery  # where to save generated gallery
  - search

Thanks!

@smarie
Copy link
Owner

smarie commented May 15, 2023

Hello @melissawm and thanks for this feedback !

Indeed it seems that something happened, I'll check this out

@smarie
Copy link
Owner

smarie commented May 15, 2023

I was able to reproduce this. It seems that my "configuration loading" test was not correct: it was not checking for the number of errors and warnings reported by mkdocs :D

This is why we did not spot this issue when we introduced it (in PR #57)

I took the opportunity of this PR to introduce another test for the "full config" loading.

@smarie
Copy link
Owner

smarie commented May 15, 2023

This should now be fixed with the 0.7.8 release

@melissawm
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants