allow .yaml extension for mkdocs configuration file#39
Merged
oprypin merged 1 commit intooprypin:masterfrom Oct 26, 2025
Merged
allow .yaml extension for mkdocs configuration file#39oprypin merged 1 commit intooprypin:masterfrom
.yaml extension for mkdocs configuration file#39oprypin merged 1 commit intooprypin:masterfrom
Conversation
Owner
|
Yes this makes sense... This was initially written here: The fix for mkdocs came a bit later: We'd just need to check for version compatibility |
Owner
|
It's been ages since the last release of this library. And a lot of older mkdocs versions dropped! Now someone will need to remind me to make a release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ran into a problem because i prefer non-shortened extensions (having a
mkdocs.yaml):problem being that
mkdocs_gen_files.editor.FilesEditor.currenthas hardcoded mkdocs configuration file tomkdocs.yml.took a look in
mkdocs.config.base.load_config, this method uses_open_config_filecontext manager, that has support for trying with bothymlandyaml.so the fix is to not specify a configuration file.