Skip to content

Make custom_templates relative to config file#627

Merged
pawamoy merged 8 commits intomkdocstrings:mainfrom
waylan:patch-1
Oct 26, 2023
Merged

Make custom_templates relative to config file#627
pawamoy merged 8 commits intomkdocstrings:mainfrom
waylan:patch-1

Conversation

@waylan
Copy link
Copy Markdown
Contributor

@waylan waylan commented Oct 20, 2023

Fixes #477.

I have not even looked at tests, etc. But this should be working code.

@waylan
Copy link
Copy Markdown
Contributor Author

waylan commented Oct 20, 2023

I had very limited time today. I will come back to this later. Or you can run with it if you want.

@waylan
Copy link
Copy Markdown
Contributor Author

waylan commented Oct 23, 2023

It appears that the tests are all failing due to an unrelated issue:

 DeprecationWarning: 'materialx.emoji.twemoji' is deprecated.
  Material emoji logic has been officially moved into mkdocs-material
  version 9.4. Please use Material's 'material.extensions.emoji.twemoji'
  as mkdocs_material_extensions is deprecated and will no longer be
  supported moving forward. This is the last release.

@pawamoy pawamoy self-requested a review October 23, 2023 13:09
@pawamoy pawamoy self-assigned this Oct 23, 2023
Copy link
Copy Markdown
Member

@pawamoy pawamoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! This is looking good.

Comment thread src/mkdocstrings/plugin.py Outdated
waylan and others added 2 commits October 25, 2023 13:41
Co-authored-by: Timothée Mazzucotelli <pawamoy@pm.me>
@waylan waylan marked this pull request as ready for review October 25, 2023 19:10
@waylan
Copy link
Copy Markdown
Contributor Author

waylan commented Oct 25, 2023

Now that I have added tests, this should be ready to go. I'm ignoring the unrelated failing tests.

Comment thread CHANGELOG.md Outdated
@pawamoy
Copy link
Copy Markdown
Member

pawamoy commented Oct 25, 2023

Thanks for the tests. It seems the other ones are failing because pymdownx is missing from the test group. I'll fix that in another commit/PR 🙂

This reverts commit ca14b66.
@pawamoy pawamoy merged commit 370a61d into mkdocstrings:main Oct 26, 2023
@waylan waylan deleted the patch-1 branch October 26, 2023 14:35
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.

Make custom_templates relative to mkdocs.yml

2 participants