File: vtk_role.rst

package info (click to toggle)
python-pyvista 0.46.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176,968 kB
  • sloc: python: 94,346; sh: 216; makefile: 70
file content (16 lines) | stat: -rw-r--r-- 613 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.. _vtk_role_docs:

Sphinx VTK Role
===============

.. versionadded:: 0.46

PyVista's documentation uses the Sphinx extension https://github.com/pyvista/vtk-xref
to link directly to `VTK's documentation <https://vtk.org/doc/nightly/html/index.html>`_.

This extension adds the ``:vtk:`` role to allow writing, for example,
``:vtk:`vtkImageData``` inside docstrings to link directly to the ``vtkImageData``
documentation. This will render as :vtk:`vtkImageData`.

See `vtk-xref's repository <https://github.com/pyvista/vtk-xref>`_ for installation and usage details
for adding the ``:vtk:`` role to your project.