diff --git a/.circleci/config.yml b/.circleci/config.yml index 363ff79..74869c4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ commands: type: string sphinx-version: type: string - default: "5,6,7,latest" + default: "5,6,7,8,latest,dev" steps: - checkout # NOTE: use Tox 3.x until I understand the syntax for generative environments: @@ -23,12 +23,14 @@ jobs: steps: - run-tox: version: py38 + sphinx-version: "5,6" py39: docker: - image: 'cimg/python:3.9' steps: - run-tox: version: py39 + sphinx-version: "5,6,7" py310: docker: - image: 'cimg/python:3.10' diff --git a/.gitignore b/.gitignore index 6cb47a2..c904c41 100644 --- a/.gitignore +++ b/.gitignore @@ -108,4 +108,7 @@ package-lock.json node_modules # vscode -.vscode/ \ No newline at end of file +.vscode/ + +# PyPI build +_build/ \ No newline at end of file diff --git a/tests/examples/404rst/conf.py b/tests/examples/404rst/conf.py index ba27a90..99956a6 100644 --- a/tests/examples/404rst/conf.py +++ b/tests/examples/404rst/conf.py @@ -1,5 +1,6 @@ # conf.py to run tests +project = 'Python' master_doc = 'index' extensions = [ 'notfound.extension', diff --git a/tests/examples/default/conf.py b/tests/examples/default/conf.py index eaf730d..7d7a172 100644 --- a/tests/examples/default/conf.py +++ b/tests/examples/default/conf.py @@ -1,5 +1,6 @@ # conf.py to run tests +project = 'Python' master_doc = 'index' extensions = [ 'notfound.extension', diff --git a/tests/test_urls.py b/tests/test_urls.py index 80a2e73..d5a4031 100644 --- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -64,6 +64,11 @@ def test_default_settings(app, status, warning): else: cssclass = "" + if sphinx.version_info < (7, 3): + alt = "Logo" + else: + alt = "Logo of Python" + chunks = [ '