Skip to content

Commit

Permalink
Merge branch 'sphinx-3.4' of https://github.com/utzig/breathe
Browse files Browse the repository at this point in the history
  • Loading branch information
vermeeren committed Jan 7, 2021
2 parents 93c02d6 + c21ae56 commit 8e6d775
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
sphinx-version:
- 3.0.4
- 3.1.2
- 3.2.0
- git+https://github.com/sphinx-doc/sphinx.git@3.3.x
- 3.2.1
- 3.3.1
- 3.4.3
- git+https://github.com/sphinx-doc/sphinx.git@3.4.x
- git+https://github.com/sphinx-doc/sphinx.git@3.x
# master (Sphinx 4) will require at least Python 3.6, so disable it for now
#- git+https://github.com/sphinx-doc/sphinx.git@master
Expand Down
2 changes: 1 addition & 1 deletion breathe/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def setup(app: Sphinx) -> None:
app.add_config_value("breathe_separate_member_pages", False, 'env')

breathe_css = "breathe.css"
if (os.path.exists(os.path.join(app.confdir, "_static", breathe_css))):
if (os.path.exists(os.path.join(app.confdir, "_static", breathe_css))): # type: ignore
app.add_stylesheet(breathe_css)

def write_file(directory, filename, content):
Expand Down
2 changes: 1 addition & 1 deletion breathe/path_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def resolve_path(app: Sphinx, directory: str, filename: str):
"""

# os.path.join does the appropriate handling if _project_path is an absolute path
return os.path.join(app.confdir, directory, filename)
return os.path.join(app.confdir, directory, filename) # type: ignore
2 changes: 1 addition & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ docutils>=0.12
Jinja2>=2.7.3
MarkupSafe>=0.23
Pygments>=1.6
Sphinx>=3.0,<3.4
Sphinx>=3.0,<3.5
six>=1.9.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
render `Doxygen <http://www.doxygen.org>`__ xml output.
'''

requires = ['Sphinx>=3.0,<3.4', 'docutils>=0.12', 'six>=1.9']
requires = ['Sphinx>=3.0,<3.5', 'docutils>=0.12', 'six>=1.9']

if sys.version_info < (3, 5):
print('ERROR: Sphinx requires at least Python 3.5 to run.')
Expand Down

0 comments on commit 8e6d775

Please sign in to comment.