Martin Donath

Results 483 comments of Martin Donath

Here's an idea from the JavaScript world: Instead of only supporting `mkdocs.yml`, allow configuration to be provided by an export in `mkdocs.py`. This is common practice among many (if not...

> @squidfunk Sphinx does this already by using a conf.py and this comes with lot of flexibility but lot of disadvantages as well. In fact, on of the features people...

> By the way, hooks even allow dynamically adding extensions or plugins to the config, so I think this is solved. People interested in static vs. dynamic are free to...

A hook can be assigned a priority via [`event_priority`](https://github.com/mkdocs/mkdocs/blob/62a4e3c213d4cbdb27c08d9456aaff5b583bca07/mkdocs/plugins.py#L426), but the config is parsed before any of the hooks is invoked. https://github.com/mkdocs/mkdocs/blob/62a4e3c213d4cbdb27c08d9456aaff5b583bca07/mkdocs/__main__.py#L281-L286 ... except for `on_startup`, which only discerns the...

> Lets try to answer the initial question here. @pawamoy my goal was to try thinking outside the box and to pull in adjacent problems that often help me (at...

Thanks for the PR. Please provide a [minimal reproduction](https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/). The problem with `height: 100%` is that it will stretch non-rectangular images. We should use `height: auto` here, but that's already...

Thanks! We'll check it out once we consider adding tests. Please understand that we're currently working on other, much bigger things in the background, so please be patient until we...

[Material for MkDocs is now in maintenance mode](https://github.com/squidfunk/mkdocs-material/issues/8523). Please understand that we don't consider merging this PR anymore.