mirror of
https://github.com/odoo/documentation.git
synced 2025-12-13 07:59:10 +07:00
[ADD] extension: allow to build graphs using graphviz
X-original-commit: e00b5e35c7
Part-of: odoo/documentation#1969
This commit is contained in:
committed by
Antoine Vandevenne (anv)
parent
026d6a76be
commit
28fe18157e
3
conf.py
3
conf.py
@@ -1,10 +1,12 @@
|
||||
import re
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import docutils
|
||||
from pygments.lexers import JsonLexer, XmlLexer
|
||||
from sphinx.ext import graphviz
|
||||
from sphinx.util import logging
|
||||
import sphinx
|
||||
|
||||
@@ -156,6 +158,7 @@ else:
|
||||
extensions += [
|
||||
'autodoc_placeholder',
|
||||
]
|
||||
extensions.append('sphinx.ext.graphviz' if shutil.which('dot') else 'graphviz_placeholder')
|
||||
|
||||
todo_include_todos = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user