File tree 5 files changed +31
-2
lines changed
5 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ doxygen.conf
8
8
# Sphinx products
9
9
_build
10
10
py-api
11
+
12
+ # Doc content built by SCons
13
+ lsst.drp.pipe /pipelines
14
+ lsst.drp.pipe /pipelines_index.rst
Original file line number Diff line number Diff line change
1
+ from lsst .sconsUtils .state import env , targets
2
+ from pathlib import Path
3
+ from lsst .pipe .base .pipeline_doc_builder import PackagePipelinesDocBuilder
4
+
5
+ target_root = Path (str (env .Dir ("lsst.drp.pipe/pipelines" )))
6
+ artifacts = list (
7
+ PackagePipelinesDocBuilder .from_source (
8
+ Path (str (env .Dir ("#pipelines" ))),
9
+ rst_root = target_root ,
10
+ pipeline_root = target_root ,
11
+ dot_root = target_root ,
12
+ graph_root = target_root ,
13
+ graph_suffix = ".svg" ,
14
+ rst_path = Path (str (env .File ("lsst.drp.pipe/pipelines_index.rst" ))),
15
+ ).scons_generate (env )
16
+ )
17
+
18
+ env .AlwaysBuild (artifacts )
19
+ env .Clean ("doc" , artifacts )
20
+
21
+ targets ["doc" ].extend (artifacts )
Original file line number Diff line number Diff line change 6
6
lsst.drp.pipe
7
7
#############
8
8
9
+ .. include :: pipelines_index.rst
10
+
9
11
.. Paragraph that describes what this Python module does and links to related modules and frameworks.
10
12
11
13
.. .. _lsst.drp.pipe-using:
Original file line number Diff line number Diff line change 9
9
# Static content directories are usually named after the package.
10
10
# Most packages do not need a static content directory (leave commented out).
11
11
# statics:
12
- # - "_static/drp_pipe "
12
+ # - "_static"
Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ exclude =
7
7
doc/conf.py,
8
8
**/*/__init__.py,
9
9
**/*/version.py,
10
- tests/.tests
10
+ tests/.tests,
11
+ doc/**/pipelines/**/*.py
11
12
12
13
[tool:pytest]
13
14
addopts = --flake8
14
15
flake8-ignore = E133 E226 E228 N802 N803 N806 N812 N813 N815 N816 W503
16
+ doc/**/pipelines/**/*.py ALL
You can’t perform that action at this time.
0 commit comments