sphinx-simplepdf icon indicating copy to clipboard operation
sphinx-simplepdf copied to clipboard

What is the variable used for TOC caption?

Open sachin-suresh-rapyuta opened this issue 1 year ago • 0 comments

I am trying multiple ways to use different toc captions based on PDF language.

Also, seems that below ifconfig doesnt work inside if-builder.

.. ifconfig:: language == 'en'

   .. toctree::
      :maxdepth: 2
      :caption: User Guide

.. ifconfig:: language == 'ja'

   .. toctree::
      :maxdepth: 2
      :caption: ユーザーガイド

sachin-suresh-rapyuta avatar Apr 08 '23 07:04 sachin-suresh-rapyuta