Skip to content

Commit

Permalink
Merge pull request #7 from FredM67/main
Browse files Browse the repository at this point in the history
Fix missing translator
  • Loading branch information
ftnext authored Oct 8, 2023
2 parents ad7468f + 9fc7e86 commit dd19fa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Run tests

on: [push]
on: [push, pull_request]

jobs:
tests:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sphinx-new-tab-link
version = 0.1.1
version = 0.2.0
url = https://github.com/ftnext/sphinx-new-tab-link
author = nikkie
author_email = takuyafjp+develop@gmail.com
Expand Down
1 change: 1 addition & 0 deletions sphinx_new_tab_link/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ def starttag(self, node, tagname, *args, **atts):

def setup(app):
app.set_translator("html", NewTabLinkHTMLTranslator)
app.set_translator("dirhtml", NewTabLinkHTMLTranslator)
app.set_translator("singlehtml", NewTabLinkHTMLTranslator)

0 comments on commit dd19fa1

Please sign in to comment.