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

fix: mkdocstrings unable to parse custom theme directory configuration #121

Merged
merged 2 commits into from
Jun 7, 2020

Conversation

abhiTronix
Copy link
Contributor

@abhiTronix abhiTronix commented Jun 5, 2020

This PR adds support for mkdocs-material's custom_dir configuration, where theme name is set to null in mkdocs.yaml. Thereby, it adds support to automatically read out the required theme_name from dirs attribute, only if name attribute is None(or null), otherwise default behaviour will occur.

Fixes #120.

This fixes the mkdocs-material's custom_dir configuration, where theme `name` is set to null in mkdocs.yaml.
Thereby, this fix adds support to automatically read theme_name from `dirs` attribute, if `name` attribute is None(null), otherwise default behaviour will occur.

Fixes mkdocstrings#120.
@pawamoy
Copy link
Member

pawamoy commented Jun 7, 2020

Yay, this is great, thanks a lot @abhiTronix!

@pawamoy pawamoy merged commit 1243cf6 into mkdocstrings:master Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] mkdocstrings unable to parse custom theme directory configuration
2 participants