Skip to content

Commit 56ac49d

Browse files
authored
🐛 fix(setup): remove hard-coded custom.css reference (#290)
1 parent 2e8609c commit 56ac49d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/sphinx_argparse_cli/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212

1313
def setup(app: Sphinx) -> dict[str, Any]:
14-
app.add_css_file("custom.css")
15-
1614
from ._logic import SphinxArgparseCli # noqa: PLC0415
1715

1816
app.add_directive(SphinxArgparseCli.name, SphinxArgparseCli)

tests/test_logic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def build_outcome(app: SphinxTestApp, request: SubRequest, monkeypatch: pytest.M
4949
@pytest.mark.sphinx(buildername="html", testroot="basic")
5050
def test_basic_as_html(build_outcome: str) -> None:
5151
assert build_outcome
52+
assert "custom.css" not in build_outcome
5253

5354

5455
@pytest.mark.sphinx(buildername="text", testroot="complex")

0 commit comments

Comments
 (0)