Skip to content

Commit 0cd50fc

Browse files
Revathyvenugopal162RobPasMuejorgepiloto
authored
MAINT: inherit from pydata-sphinx-theme==0.12.0 (#155)
* Add pydata-sphinx-theme * FIX: pass env vars to tox.ini * FEAT: ignore doc/_build/ dir * Modify dependency version * Modify dependecy Co-authored-by: Roberto Pastor Muela <[email protected]> Co-authored-by: Jorge Martinez Garrido <[email protected]>
1 parent a495d20 commit 0cd50fc

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ instance/
7272
.scrapy
7373

7474
# Sphinx documentation
75-
doc/build/
75+
doc/_build/
7676

7777
# PyBuilder
7878
.pybuilder/

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "ansys-sphinx-theme"
88
dynamic = ["version"]
99
description = "A theme devised by ANSYS, Inc. for Sphinx documentation."
1010
readme = "README.rst"
11-
requires-python = ">=3.5"
11+
requires-python = ">=3.7"
1212
license = {file = "LICENSE"}
1313
authors = [
1414
{name = "ANSYS, Inc.", email = "[email protected]"},
@@ -25,8 +25,8 @@ classifiers = [
2525
"Programming Language :: Python :: 3",
2626
]
2727
dependencies = [
28-
"Sphinx>=4.0.0",
29-
"pydata-sphinx-theme==0.9.0",
28+
"Sphinx>=4.2.0",
29+
"pydata-sphinx-theme==0.12.0",
3030
"Jinja2>=3.1.2",
3131
]
3232

@@ -68,7 +68,7 @@ profile = "black"
6868
force_sort_within_sections = true
6969
line_length = 100
7070
default_section = "THIRDPARTY"
71-
src_paths = ["doc", "src", "tests"]
71+
src_paths = ["doc", "src"]
7272

7373
[tool.coverage.run]
7474
source = ["src"]

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ basepython =
2626
setenv =
2727
PYTHONUNBUFFERED = yes
2828
cov: PYTEST_EXTRA_ARGS = --cov=ansys-sphinx-theme --cov-report=term --cov-report=xml --cov-report=html
29+
passenv = *
2930
commands =
3031
pytest {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {posargs:-vv}
3132

0 commit comments

Comments
 (0)