Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor out common logic from HTMLTranslator and HTML5Translator
Previously, HTML5Translator contained a lot of code copied from HTMLTranslator, which created a maintenance burden and made it difficult to know what the actual differences are. With this change the common logic is factored out into a mixin, which eliminates the code duplication. This change also elimintes the `generate_targets_for_listing` fix from HTMLTranslator now that Sphinx depends on a version of docutils that contains the fix.
- Loading branch information
Showing
2 changed files
with
48 additions
and
825 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.