[docs] commenting custom extensions

This commit is contained in:
Loïc Vital 2022-10-21 13:42:34 +02:00
parent e63b06a3b9
commit f3bed081bd
4 changed files with 39 additions and 3 deletions

View file

@ -1,3 +1,16 @@
# Sphinx extension defining the meshroom_doc directive
#
# Goal:
# create specific documentation content for meshroom objects
#
# Usage:
# .. meshroom_doc::
# :module: module_name
# :class: class_name
#
# Note:
# for now this tool focuses only on meshroom nodes
from docutils import nodes
from docutils.parsers.rst import Directive
from utils import md_to_docutils