summaryrefslogtreecommitdiff
path: root/lib/spack/docs/conf.py
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-12-27 15:25:53 +0100
committerGitHub <noreply@github.com>2022-12-27 15:25:53 +0100
commit3d961b9a1f129b1d1be98b4e50d6dafd7888097a (patch)
treef9bd1c83800216dcc8a60e451998fc5acbd2da97 /lib/spack/docs/conf.py
parentd100ac892352e3b63b1fe028207c72fc9a852724 (diff)
downloadspack-3d961b9a1f129b1d1be98b4e50d6dafd7888097a.tar.gz
spack-3d961b9a1f129b1d1be98b4e50d6dafd7888097a.tar.bz2
spack-3d961b9a1f129b1d1be98b4e50d6dafd7888097a.tar.xz
spack-3d961b9a1f129b1d1be98b4e50d6dafd7888097a.zip
spack graph: rework to use Jinja templates and builders (#34637)
`spack graph` has been reworked to use: - Jinja templates - builder objects to construct the template context when DOT graphs are requested. This allowed to add a new colored output for DOT graphs that highlights both the dependency types and the nodes that are needed at runtime for a given spec.
Diffstat (limited to 'lib/spack/docs/conf.py')
-rw-r--r--lib/spack/docs/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py
index cbac5a4f4d..fe6e081c7d 100644
--- a/lib/spack/docs/conf.py
+++ b/lib/spack/docs/conf.py
@@ -201,12 +201,14 @@ nitpick_ignore = [
("py:class", "_frozen_importlib_external.SourceFileLoader"),
("py:class", "clingo.Control"),
("py:class", "six.moves.urllib.parse.ParseResult"),
+ ("py:class", "TextIO"),
# Spack classes that are private and we don't want to expose
("py:class", "spack.provider_index._IndexBase"),
("py:class", "spack.repo._PrependFileLoader"),
("py:class", "spack.build_systems._checks.BaseBuilder"),
# Spack classes that intersphinx is unable to resolve
("py:class", "spack.version.VersionBase"),
+ ("py:class", "spack.spec.DependencySpec"),
]
# The reST default role (used for this markup: `text`) to use for all documents.