8000 Deprecate math_symbol_table function directive by alexrudy · Pull Request #14763 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Deprecate math_symbol_table function directive #14763

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

Merged

Conversation

alexrudy
Copy link
Contributor

PR Summary

The function-style Directive for sphinx app.add_directive is deprecated in Sphinx 1.8, and should be replaced with the class-style directive. This updates math_symbol_table_directive to use the new style directive.

This will help move towards warnings-free use of sphinx 2.0

I have not added a changelog entry as this is part of the sphinxext which are in the doc/ folder, and so aren't an exposed API – but please let me know if you should add a changelog.

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@jklymak jklymak merged commit f0cc92b into matplotlib:master Jul 15, 2019
@@ -137,16 +140,26 @@ def get_n(n, l):
return []


@cbook.deprecated("3.2", alternative="MathSymbolTableDirective")
Copy link
Member

Choose a reason for hiding this comment

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

This file is not installed; you can just remove the function entirely.

@QuLogic QuLogic added this to the v3.2.0 milestone Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0