[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] PyQt5 Reference Guide: Links in headings are invisible
From:       FeRD <ferdnyc () gmail ! com>
Date:       2018-03-30 14:43:27
Message-ID: CAN1OggVQhcnykQONm_RfoUA+tySwFcAU+kK2CDZWb6ZAOjqstA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Not sure if the list is the right place to send this, but I wasn't able to
find a better option.

The CSS used in the Sphinx-generated PyQt5 Reference Guide
<http://pyqt.sourceforge.net/Docs/PyQt5/> colors hyperlinks identically to
the background color of documentation headings, meaning that any links that
appear *IN* documentation headings are invisible.

For instance, the "Support for Signals and Slots" chapter heading "Defining
New Signals with"
<http://pyqt.sourceforge.net/Docs/PyQt5/signals_slots.html#defining-new-signals-with-pyqtsignal>
actually reads "Defining New Signals with pyqtSignal()".

I worked around this locally by creating a userstyle (which anyone who
needs can install from userstyles.org
<https://userstyles.org/styles/157808/pyqt-documentation-reveal-links-in-headings>)
which adds alpha-transparency to the heading background color, so that the
full-opacity hyperlinks are visible against the background.

[Attachment #5 (text/html)]

<div dir="ltr">Not sure if the list is the right place to send this, but I wasn&#39;t \
able to find a better option.<br><br>The CSS used in the Sphinx-generated <a \
href="http://pyqt.sourceforge.net/Docs/PyQt5/">PyQt5 Reference Guide</a>  colors \
hyperlinks identically to the background color of documentation headings, meaning \
that any links that appear <i><b>IN</b></i> documentation headings are \
invisible.<br><br>For instance, the &quot;Support for Signals and Slots&quot; chapter \
heading <a href="http://pyqt.sourceforge.net/Docs/PyQt5/signals_slots.html#defining-new-signals-with-pyqtsignal">&quot;Defining \
New Signals with&quot;</a> actually reads &quot;Defining New Signals with \
pyqtSignal()&quot;.<div><br></div><div>I worked around this locally by creating a \
userstyle (which anyone who needs can <a \
href="https://userstyles.org/styles/157808/pyqt-documentation-reveal-links-in-headings">install \
from userstyles.org</a>) which adds alpha-transparency to the heading background \
color, so that the full-opacity hyperlinks are visible against the \
background.</div><div><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic