As SimplePDF is using HTML, it may be hard to tell Sphinx to not render specific elements, which would not be nice-looking in PDF.
E.g. grids, tabs, videos and so on.
So there shall be 2 new directives, which are able to provide their content only for specific builders:
only-simplepdf: Adds content only if simplepdf builder is used
not-simplepdf: Adds content only if *not *simplepdf builder is used.
As SimplePDF is using HTML, it may be hard to tell Sphinx to not render specific elements, which would not be nice-looking in PDF. E.g. grids, tabs, videos and so on.
So there shall be 2 new directives, which are able to provide their content only for specific builders:
only-simplepdf
: Adds content only if simplepdf builder is usednot-simplepdf
: Adds content only if *not *simplepdf builder is used.