Closed GenevieveBuckley closed 1 year ago
Thanks @GenevieveBuckley ! Sorry for the delay with my responses. I triggered the CI. I'll have a look at both your PRs in the upcoming week hopefully
Hmm, test_minimal_conf
is failing:
When I try to run the nox tests, I get an unhashable type: 'list' error. But the same if/then/else check works well for me in an interactive ipython session, and I can't see which object still thinks its a python list. EDIT: nevermind, figured it out!
The nox tests pass for me now, I think this is a decent fix.
I think that I found a solution that is more in the spirit of the new mkdocs
configuration mechanism: https://github.com/smarie/mkdocs-gallery/pull/60
Therefore we can probably close this PR now. Thanks a lot @GenevieveBuckley for pointing me in the right direction !
I think that I found a solution that is more in the spirit of the new
mkdocs
configuration mechanism: #60Therefore we can probably close this PR now. Thanks a lot @GenevieveBuckley for pointing me in the right direction !
Wonderful! Thank you so much for finding a better fix for this 😄
(maybe) closes https://github.com/smarie/mkdocs-gallery/issues/57
The way MySubConfig is currently implemented is incompatible with mkdocs versions above 1.2.4. I think getting rid of it entirely removes the issue?
mkdocs build
directly with my own virtual environment. There's probably something wrong with my environment, so it'd be very helpful if you could try this too on your own machine.It's also not entirely clear to me why the
MySubConfig
class exists. It looks like there are two reasons:plugin.py
).