diff --git a/doc/source/conf.py b/doc/source/conf.py index 0359872d..69ba28e2 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -2,6 +2,8 @@ import os import sys +from ansys_sphinx_theme import pyansys_logo_black + # -- Project information ----------------------------------------------------- project = "ansys.openapi.common" @@ -96,8 +98,8 @@ # -- Options for HTML output ------------------------------------------------- -html_theme = "pyansys_sphinx_theme" -html_logo = "./_static/pyansys-logo-black-cropped.png" +html_theme = "ansys_sphinx_theme" +html_logo = pyansys_logo_black html_theme_options = { "github_url": "https://github.com/pyansys/openapi-common", "show_prev_next": False, diff --git a/poetry.lock b/poetry.lock index dab7ef50..5b8b788a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6,6 +6,19 @@ category = "main" optional = true python-versions = "*" +[[package]] +name = "ansys-sphinx-theme" +version = "0.4.2" +description = "This is the ansys-sphinx-theme module." +category = "main" +optional = true +python-versions = ">=3.5" + +[package.dependencies] +Jinja2 = ">=3.1.2" +pydata-sphinx-theme = "0.9.0" +Sphinx = ">=4.0.0" + [[package]] name = "anyio" version = "3.5.0" @@ -391,19 +404,6 @@ category = "main" optional = true python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -[[package]] -name = "pyansys-sphinx-theme" -version = "0.3.1" -description = "This is the pyansys-sphinx-theme module." -category = "main" -optional = true -python-versions = ">=3.5" - -[package.dependencies] -Jinja2 = ">=3.1.2" -pydata-sphinx-theme = "0.8.1" -Sphinx = ">=4.0.0" - [[package]] name = "pycparser" version = "2.21" @@ -429,7 +429,7 @@ email = ["email-validator (>=1.0.3)"] [[package]] name = "pydata-sphinx-theme" -version = "0.8.1" +version = "0.9.0" description = "Bootstrap-based Sphinx theme from the PyData community" category = "main" optional = true @@ -439,13 +439,13 @@ python-versions = ">=3.7" beautifulsoup4 = "*" docutils = "!=0.17.0" packaging = "*" -sphinx = ">=3.5.4,<5" +sphinx = ">=4.0.2" [package.extras] dev = ["pydata-sphinx-theme", "nox", "pre-commit", "pyyaml"] coverage = ["pydata-sphinx-theme", "codecov", "pytest-cov"] test = ["pydata-sphinx-theme", "pytest"] -doc = ["xarray", "numpy", "plotly", "jupyter-sphinx", "sphinx-sitemap", "sphinxext-rediraffe", "pytest-regressions", "pytest", "pandas", "myst-parser", "numpydoc"] +doc = ["sphinx-design", "xarray", "numpy", "plotly", "jupyter-sphinx", "sphinx-sitemap", "sphinxext-rediraffe", "pytest-regressions", "pytest", "pandas", "myst-parser", "numpydoc"] [[package]] name = "pygments" @@ -934,7 +934,7 @@ docs = ["sphinx", "jaraco.packaging (>=9)", "rst.linker (>=1.9)"] testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)"] [extras] -doc = ["pyansys-sphinx-theme", "numpydoc", "sphinx", "sphinx_autodoc_typehints", "sphinx-notfound-page", "sphinx-copybutton"] +doc = ["numpydoc", "sphinx", "sphinx_autodoc_typehints", "sphinx-notfound-page", "sphinx-copybutton"] linux-kerberos = ["requests-kerberos"] oidc = ["requests_auth", "keyring"] test = ["pytest", "pytest-cov", "uvicorn", "fastapi", "pydantic", "requests-mock", "pytest-mock", "covertable", "asgi_gssapi"] @@ -942,13 +942,17 @@ test = ["pytest", "pytest-cov", "uvicorn", "fastapi", "pydantic", "requests-mock [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "9573b1b80d518558417c798f062e79c52a030e2ce4f9873338889e1f12cbab29" +content-hash = "42e38e4c621044df219ced3d6c6dd2a13ab3e9df82908f10c4dcc30a851346a1" [metadata.files] alabaster = [ {file = "alabaster-0.7.12-py2.py3-none-any.whl", hash = "sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359"}, {file = "alabaster-0.7.12.tar.gz", hash = "sha256:a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02"}, ] +ansys-sphinx-theme = [ + {file = "ansys-sphinx-theme-0.4.2.tar.gz", hash = "sha256:98f4b4c8c2176515dff82b83a85df18b4d3ba6d058ef17e33d08cadab5be4ef9"}, + {file = "ansys_sphinx_theme-0.4.2-py3-none-any.whl", hash = "sha256:aafeedd8de45d86b7ced3925b783394da1cc520f8b5fdb647b5fbc67842ef0a0"}, +] anyio = [ {file = "anyio-3.5.0-py3-none-any.whl", hash = "sha256:b5fa16c5ff93fa1046f2eeb5bbff2dad4d3514d6cda61d02816dba34fa8c3c2e"}, {file = "anyio-3.5.0.tar.gz", hash = "sha256:a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6"}, @@ -1248,10 +1252,6 @@ py = [ {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, ] -pyansys-sphinx-theme = [ - {file = "pyansys-sphinx-theme-0.3.1.tar.gz", hash = "sha256:89a9edb05b3389bb5b749775a50438c9a39ea0fe69a3964540acdc696454b94d"}, - {file = "pyansys_sphinx_theme-0.3.1-py3-none-any.whl", hash = "sha256:df0e848b1c9ec0670ca58d9f71fdbf4a00933fd7f85fc11ca04a56eb26209339"}, -] pycparser = [ {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, @@ -1294,8 +1294,8 @@ pydantic = [ {file = "pydantic-1.9.1.tar.gz", hash = "sha256:1ed987c3ff29fff7fd8c3ea3a3ea877ad310aae2ef9889a119e22d3f2db0691a"}, ] pydata-sphinx-theme = [ - {file = "pydata_sphinx_theme-0.8.1-py3-none-any.whl", hash = "sha256:af2c99cb0b43d95247b1563860942ba75d7f1596360594fce510caaf8c4fcc16"}, - {file = "pydata_sphinx_theme-0.8.1.tar.gz", hash = "sha256:96165702253917ece13dd895e23b96ee6dce422dcc144d560806067852fe1fed"}, + {file = "pydata_sphinx_theme-0.9.0-py3-none-any.whl", hash = "sha256:b22b442a6d6437e5eaf0a1f057169ffcb31eaa9f10be7d5481a125e735c71c12"}, + {file = "pydata_sphinx_theme-0.9.0.tar.gz", hash = "sha256:03598a86915b596f4bf80bef79a4d33276a83e670bf360def699dbb9f99dc57a"}, ] pygments = [ {file = "Pygments-2.11.2-py3-none-any.whl", hash = "sha256:44238f1b60a76d78fc8ca0528ee429702aae011c265fe6a8dd8b63049ae41c65"}, diff --git a/pyproject.toml b/pyproject.toml index e1657faf..ff7e9ab5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,7 @@ covertable = { version = "*", optional = true } asgi_gssapi = { version = "*", markers = "sys_platform == 'linux'", optional = true } # Doc packages -pyansys-sphinx-theme = { version = "0.3.1", optional = true } +ansys-sphinx-theme = { version = "0.4.2", optional = true } numpydoc = { version = "1.4.0", optional = true } sphinx = { version = "4.5.0", optional = true } sphinx_autodoc_typehints = { version = "1.19.1", optional = true }