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

AttributeError: 'MySubConfig' object has no attribute '_pre_validate' #57

Closed
smarie opened this issue Mar 22, 2023 · 1 comment · Fixed by #60
Closed

AttributeError: 'MySubConfig' object has no attribute '_pre_validate' #57

smarie opened this issue Mar 22, 2023 · 1 comment · Fixed by #60

Comments

@smarie
Copy link
Owner

smarie commented Mar 22, 2023

This error message happens with mkdocs > 1.2.4
See for example https://github.com/smarie/mkdocs-gallery/actions/runs/4489128475/jobs/7894579702?pr=56#step:6:143

Thanks @GenevieveBuckley for spotting it ! (in #52)

@smarie
Copy link
Owner Author

smarie commented Mar 22, 2023

It seems related to mkdocs/mkdocs#2962

there is an explicit message in the docs as well :https://github.com/mkdocs/mkdocs/blob/master/mkdocs/config/config_options.py#L51

GenevieveBuckley added a commit to GenevieveBuckley/napari-threedee that referenced this issue Mar 30, 2023
kevinyamauchi pushed a commit to napari-threedee/napari-threedee that referenced this issue Apr 6, 2023
* Move example scripts into docs directory, is a limitation of mkdocs-gallery

* Docstrings with RST headings are required for mkdocs-gallery

* Correct name of plugin widget for example script

* Update gallery readme headings

* Include ALL example script directories in gallery

* Shorter headings that fit in docs sidebar

* Pin mkdocs to 1.2.4 due to mkdocs-gallery issue smarie/mkdocs-gallery#57

* Add issue link as comment, so we know when to remove the pin

* Fix merge conflict

* Run mesh_headlight examples now bug is fixed

* Verbose output of installed packages in CI

* Add napari to dev requirments, we need it to build the examples gallery

* Remember to install a backend for napari

* Use Talley's github action to setup qt properly in remote env

* Use Ashley Anderson's headless GUI action for napari on CI

* Fix .github workflow formatting error

* Try to fix github CI workflow formatting again

* Make docs build strict about any errors

* Prevent filename conflicts with example scripts

* mkdocs-gallery uses recursive search, don't duplicate directories here

* Add link to example gallery from README
smarie pushed a commit that referenced this issue Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant