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: deprecation of Theme._vars by using config attributes #212

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

Guts
Copy link
Owner

@Guts Guts commented Dec 6, 2023

Supersedes #206
Closes #205

@Guts Guts added the bug Something isn't working label Dec 6, 2023
@Guts Guts self-assigned this Dec 6, 2023
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Merging #212 (d0903cf) into main (e31831b) will decrease coverage by 0.03%.
The diff coverage is 54.54%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #212      +/-   ##
==========================================
- Coverage   81.94%   81.92%   -0.03%     
==========================================
  Files           9        9              
  Lines         432      437       +5     
  Branches       96       97       +1     
==========================================
+ Hits          354      358       +4     
  Misses         51       51              
- Partials       27       28       +1     
Files Coverage Δ
mkdocs_rss_plugin/util.py 72.39% <54.54%> (+0.17%) ⬆️

@alexvoss
Copy link
Contributor

alexvoss commented Dec 6, 2023

Thanks for picking this (#206) up!

@Guts
Copy link
Owner Author

Guts commented Dec 7, 2023

Thanks for picking this (#206) up!

Sorry for the delay...

Still, the described issue here is remaining. I'm working on it.

@Guts
Copy link
Owner Author

Guts commented Dec 7, 2023

I've asked on Material discussion: squidfunk/mkdocs-material#6453

@Guts Guts force-pushed the fix/205-replace-theme_vars-with-attributes branch from 2c0d9d9 to d0903cf Compare December 7, 2023 15:33
@Guts Guts merged commit 560d706 into main Dec 7, 2023
10 checks passed
@Guts Guts deleted the fix/205-replace-theme_vars-with-attributes branch December 7, 2023 15:37
YDX-2147483647 added a commit to YDX-2147483647/mkdocs-rss-plugin that referenced this pull request Mar 5, 2024
`locale` at root was deprected in Guts#212, and `theme/language` only works for Material theme.

Relevant implementation:

https://github.com/Guts/mkdocs-rss-plugin/blob/15938261138769919c714e60d4925c58bffa81e1/mkdocs_rss_plugin/util.py#L720-L723

Signed-off-by: Y.D.X. <73375426+YDX-2147483647@users.noreply.github.com>
YDX-2147483647 added a commit to YDX-2147483647/mkdocs-rss-plugin that referenced this pull request Mar 5, 2024
`locale` at root was deprecated in Guts#212, and `theme/language` only works for Material theme.

Relevant implementation:

https://github.com/Guts/mkdocs-rss-plugin/blob/15938261138769919c714e60d4925c58bffa81e1/mkdocs_rss_plugin/util.py#L720-L723

Signed-off-by: Y.D.X. <73375426+YDX-2147483647@users.noreply.github.com>
Guts added a commit that referenced this pull request Mar 5, 2024
`locale` at root was deprecated in #212, and `theme/language` only works
for Material theme.

Relevant implementation:


https://github.com/Guts/mkdocs-rss-plugin/blob/15938261138769919c714e60d4925c58bffa81e1/mkdocs_rss_plugin/util.py#L720-L723
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation of Theme._vars
2 participants