TYPO3-Documentation / t3SphinxThemeRtd

Please report only issues that concern the rendering of the official TYPO3 docs here. For help and support on TYPO3, please see: https://typo3.org/help/
MIT License
11 stars 7 forks source link

Extra text displayed if toctree with a caption is diplayed on current page #130

Closed sypets closed 5 years ago

sypets commented 5 years ago
**Table of Contents**

QUICK LINKS

.. toctree::
   :caption: Quick Links
   :titlesonly:

   ApiOverview/Database/Index
   ApiOverview/DependencyInjection/Index
   ApiOverview/Fal/Index

toctree

I think the "Figure: Quick Links" should not be displayed.

sypets commented 5 years ago

sass/_t3_addons.sass:

 .rst-content
155   p.caption
156     &::before
157       content: "Figure: "
158     font-size: 14px
159     line-height: 18px

The code adds "Figure" to p.caption. If this were changed to only apply to images, it should be ok.

marble commented 5 years ago

I'll take care.

sypets commented 5 years ago

Is already fixed, see #131.