ansys / ansys-sphinx-theme

PyData-based Sphinx theme from the PyAnsys community
https://sphinxdocs.ansys.com
MIT License
23 stars 8 forks source link

Icon before sphinx `:download:` link is invisible/missing in HTML #461

Closed Andy-Grigg closed 2 months ago

Andy-Grigg commented 2 months ago

🔍 Before submitting the issue

🐞 Description of the bug

In v1.0.3 of the ansys-sphinx-theme package, the HTML generated for a :download: link in sphinx no longer includes the download icon, but still leaves a gap where it should be.

v0.x:

image

v1.0.3:

image

📝 Steps to reproduce

To reproduce, include a :download: link, for example here:

https://github.com/ansys/grantami-recordlists/blob/b047e42361cb192dddf536b637aaf3c25d086c58/doc/source/conf.py#L210

and see the generated html output:

https://recordlists.grantami.docs.pyansys.com/version/dev/examples/00_basic_usage.html

The previous behavior is available on the v1.2 version of the docs:

https://recordlists.grantami.docs.pyansys.com/version/stable/examples/00_basic_usage.html

💻 Which operating system are you using?

Linux

📀 Which ANSYS version are you using?

N/A - documentation only

🐍 Which Python version are you using?

3.10

📦 Installed packages

Issue occurred in CI, see CI run here: https://github.com/ansys/grantami-recordlists/actions/runs/10353847757/job/28658474755

  - Installing attrs (23.2.0)
  - Installing rpds-py (0.17.1)
  - Installing pycparser (2.21)
  - Installing referencing (0.32.1)
  - Installing cffi (1.16.0)
  - Installing jsonschema-specifications (2023.12.1)
  - Installing platformdirs (4.1.0)
  - Installing six (1.16.0)
  - Installing traitlets (5.14.1)
  - Installing certifi (2024.7.4)
  - Installing charset-normalizer (3.3.2)
  - Installing cryptography (42.0.4)
  - Installing fastjsonschema (2.19.1)
  - Installing idna (3.7)
  - Installing jsonschema (4.21.1)
  - Installing jupyter-core (5.7.1)
  - Installing markupsafe (2.1.4)
  - Installing python-dateutil (2.9.0.post0)
  - Installing pyzmq (25.1.2)
  - Installing tornado (6.4.1)
  - Installing urllib3 (2.2.2)
  - Installing alabaster (0.7.16)
  - Installing asttokens (2.4.1)
  - Installing babel (2.14.0)
  - Installing docutils (0.20.1)
  - Installing executing (2.0.1)
  - Installing imagesize (1.4.1)
  - Installing jinja2 (3.1.4)
  - Installing jupyter-client (8.6.0)
  - Installing mdurl (0.1.2)
  - Installing nbformat (5.9.2)
  - Installing packaging (23.2)
  - Installing parso (0.8.3)
  - Installing ptyprocess (0.7.0)
  - Installing pure-eval (0.2.2)
  - Installing pygments (2.17.2)
  - Installing pyspnego (0.10.2)
  - Installing requests (2.32.3)
  - Installing snowballstemmer (2.2.0)
  - Installing soupsieve (2.5)
  - Installing sphinxcontrib-applehelp (1.0.8)
  - Installing sphinxcontrib-devhelp (1.0.6)
  - Installing sphinxcontrib-htmlhelp (2.0.5)
  - Installing sphinxcontrib-jsmath (1.0.1)
  - Installing sphinxcontrib-qthelp (1.0.7)
  - Installing sphinxcontrib-serializinghtml (1.1.10)
  - Installing tomli (2.0.1)
  - Installing wcwidth (0.2.13)
  - Installing webencodings (0.5.1)
  - Installing accessible-pygments (0.0.4)
  - Installing beautifulsoup4 (4.12.3)
  - Installing bleach (6.1.0)
  - Installing decorator (5.1.1)
  - Installing defusedxml (0.7.1)
  - Installing distlib (0.3.8)
  - Installing exceptiongroup (1.2.0)
  - Installing filelock (3.13.1)
  - Installing iniconfig (2.0.0)
  - Installing jedi (0.19.1)
  - Installing jupyterlab-pygments (0.3.0)
  - Installing markdown-it-py (3.0.0)
  - Installing matplotlib-inline (0.1.6)
  - Installing mistune (3.0.2)
  - Installing nbclient (0.9.0)
  - Installing pandocfilters (1.5.1)
  - Installing pexpect (4.9.0)
  - Installing pillow (10.4.0)
  - Installing pluggy (1.5.0)
  - Installing prompt-toolkit (3.0.43)
  - Installing pyparsing (3.1.1)
  - Installing requests-ntlm (1.2.0)
  - Downgrading setuptools (70.1.0 -> 70.0.0)
  - Installing sphinx (7.4.7)
  - Installing stack-data (0.6.3)
  - Installing tinycss2 (1.2.1)
  - Installing typing-extensions (4.9.0)
  - Installing zipp (3.19.1)
  - Installing ansys-openapi-common (2.0.2)
  - Installing cfgv (3.4.0)
  - Installing comm (0.2.1)
  - Installing coverage (7.4.0)
  - Installing debugpy (1.8.0)
  - Installing identify (2.5.33)
  - Installing importlib-metadata (7.0.1)
  - Installing ipython (8.18.1)
  - Installing mdit-py-plugins (0.4.0)
  - Installing nbconvert (7.14.2)
  - Installing nest-asyncio (1.6.0)
  - Installing nodeenv (1.8.0)
  - Installing pdf2image (1.17.0)
  - Installing psutil (5.9.8)
  - Installing pydata-sphinx-theme (0.15.4)
  - Installing pytest (8.3.2)
  - Installing pyyaml (6.0.1)
  - Installing tabulate (0.9.0)
  - Installing virtualenv (20.25.0)
  - Installing ansys-grantami-serverapi-openapi (3.0.0)
  - Installing ansys-sphinx-theme (1.0.3)
  - Installing ipykernel (6.29.5)
  - Installing jupytext (1.16.4)
  - Installing nbsphinx (0.9.4)
  - Installing numpydoc (1.8.0)
  - Installing pre-commit (3.8.0)
  - Installing pytest-cov (5.0.0)
  - Installing requests-mock (1.12.1)
  - Installing sphinx-copybutton (0.5.2)
  - Installing sphinx-design (0.6.1)
  - Installing sphinx-jinja (2.0.2)
MaxJPRey commented 2 months ago

Assigning @Revathyvenugopal162 for visibility.