File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "template" : " https://github.com/sphinx-notes/cookiecutter" ,
3- "commit" : " 23ec0a16126e4cc70f1854e31321d9c290b3ae63 " ,
3+ "commit" : " 7a50ba075b59fb6e386d75181e33135d458c8974 " ,
44 "checkout" : null ,
55 "context" : {
66 "cookiecutter" : {
2020 "sphinx_version" : " 7.0" ,
2121 "development_status" : " 3 - Alpha" ,
2222 "_template" : " https://github.com/sphinx-notes/cookiecutter" ,
23- "_commit" : " 23ec0a16126e4cc70f1854e31321d9c290b3ae63 "
23+ "_commit" : " 7a50ba075b59fb6e386d75181e33135d458c8974 "
2424 }
2525 },
2626 "directory" : null
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ pull_request :
5+ schedule :
6+ - cron : ' 0 7 * * 6'
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-python@v5
13+ with :
14+ python-version-file : ' pyproject.toml'
15+ - run : python3 -m pip install .[dev]
16+ - run : make test
Original file line number Diff line number Diff line change 88from __future__ import annotations
99from importlib import metadata
1010
11+ from sphinx .application import Sphinx
12+ from sphinx .util .typing import ExtensionMetadata
13+
14+
1115__project__ = 'sphinxnotes-strike'
1216__author__ = 'Shengyu Zhang'
1317__desc__ = 'An extension that adds strikethrough text support to Sphinx'
2327################################################################################
2428
2529
26- def pre_setup (app ) :
30+ def pre_setup (app : Sphinx ) -> None :
2731 app .require_sphinx ('7.0' )
2832
2933
30- def post_setup (app ) :
34+ def post_setup (app : Sphinx ) -> ExtensionMetadata :
3135 return {
3236 'version' : __version__ ,
3337 'parallel_read_safe' : True ,
You can’t perform that action at this time.
0 commit comments