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

Pass config file path through SubConfig to Config #3265

Merged
merged 7 commits into from
Jun 22, 2023

Conversation

couling
Copy link
Contributor

@couling couling commented Jun 16, 2023

This ensures FilesystemObject fields in Config are correctly evaluated relative to mkdocs.yaml.

See #3264

This ensures FilesystemObject fields in Config are correctly evaluated relative to file.
@couling couling changed the title Pass config file path through SubConfig to Config #3264 Pass config file path through SubConfig to Config Jun 16, 2023
@oprypin
Copy link
Contributor

oprypin commented Jun 16, 2023

Thanks for the PR.

Well, the more important thing here would be adding a test that would've failed before. Also I'll need to think for a bit whether there are any implications for passing config_file_path to all subclasses of Config or whether it can be considered a breaking change by now

@couling
Copy link
Contributor Author

couling commented Jun 16, 2023

@oprypin Thanks! Please confirm that my legacy unit test is actually a legacy unit test, I've not used that style before. Hopefully this will be non-breaking.

@oprypin
Copy link
Contributor

oprypin commented Jun 18, 2023

Hi sorry, I'm overthinking how to deal with a pull request. Would it be OK for me to just push my edits to this pull request?

@couling
Copy link
Contributor Author

couling commented Jun 18, 2023

Yeah should be fine. I don't recall if I have a local copy so please don't force push.

@couling
Copy link
Contributor Author

couling commented Jun 19, 2023

Alright I've backed up my branch locally. you can push what you like ;-)

@oprypin oprypin merged commit 66f8df9 into mkdocs:master Jun 22, 2023
15 of 19 checks passed
@oprypin oprypin linked an issue Jun 22, 2023 that may be closed by this pull request
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.

Dir in SubConfig is not evaluated relative to mkdocs.yaml
2 participants