Skip to content

Commit 0b3846f

Browse files
authored
Merge pull request #1216 from common-workflow-language/rtd
enable basic docs
2 parents f997d13 + 62afe1b commit 0b3846f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+456
-1
lines changed

.readthedocs.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: docs/conf.py
11+
12+
# Optionally build your docs in additional formats such as PDF and ePub
13+
formats: all
14+
15+
# Optionally set the version of Python and requirements required to build your docs
16+
python:
17+
version: 3.7
18+
install:
19+
- method: pip
20+
path: .
21+
extra_requirements: [ docs ]

docs/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = .
9+
BUILDDIR = _build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/conf.py

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Configuration file for the Sphinx documentation builder.
2+
#
3+
# This file only contains a selection of the most common options. For a full
4+
# list see the documentation:
5+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6+
7+
# -- Path setup --------------------------------------------------------------
8+
9+
# If extensions (or modules to document with autodoc) are in another directory,
10+
# add these directories to sys.path here. If the directory is relative to the
11+
# documentation root, use os.path.abspath to make it absolute, like shown here.
12+
#
13+
import os
14+
import sys
15+
sys.path.insert(0, os.path.abspath('..'))
16+
17+
18+
# -- Project information -----------------------------------------------------
19+
20+
project = 'Common Workflow Language reference implementation'
21+
copyright = '2019, Peter Amstutz and contributors'
22+
author = 'Peter Amstutz and contributors'
23+
24+
25+
# -- General configuration ---------------------------------------------------
26+
27+
# Add any Sphinx extension module names here, as strings. They can be
28+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
29+
# ones.
30+
extensions = [
31+
"sphinx.ext.autodoc",
32+
"sphinx.ext.autosummary",
33+
"sphinx_rtd_theme",
34+
]
35+
36+
# Add any paths that contain templates here, relative to this directory.
37+
templates_path = ['_templates']
38+
39+
# List of patterns, relative to source directory, that match files and
40+
# directories to ignore when looking for source files.
41+
# This pattern also affects html_static_path and html_extra_path.
42+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
43+
44+
45+
# -- Options for HTML output -------------------------------------------------
46+
47+
# The theme to use for HTML and HTML Help pages. See the documentation for
48+
# a list of builtin themes.
49+
#
50+
html_theme = "sphinx_rtd_theme"
51+
52+
# Add any paths that contain custom static files (such as style sheets) here,
53+
# relative to this directory. They are copied after the builtin static files,
54+
# so a file named "default.css" will overwrite the builtin "default.css".
55+
html_static_path = ['_static']
56+
57+
58+
from pkg_resources import get_distribution
59+
release = get_distribution('cwltool').version
60+
version = '.'.join(release.split('.')[:2])

docs/cwltool.argparser.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.argparser module
2+
========================
3+
4+
.. automodule:: cwltool.argparser
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.builder.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.builder module
2+
======================
3+
4+
.. automodule:: cwltool.builder
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.checker.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.checker module
2+
======================
3+
4+
.. automodule:: cwltool.checker
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.command_line_tool.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.command\_line\_tool module
2+
==================================
3+
4+
.. automodule:: cwltool.command_line_tool
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.context.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.context module
2+
======================
3+
4+
.. automodule:: cwltool.context
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.cwlrdf.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.cwlrdf module
2+
=====================
3+
4+
.. automodule:: cwltool.cwlrdf
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.docker.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.docker module
2+
=====================
3+
4+
.. automodule:: cwltool.docker
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.docker_id.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.docker\_id module
2+
=========================
3+
4+
.. automodule:: cwltool.docker_id
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.errors.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.errors module
2+
=====================
3+
4+
.. automodule:: cwltool.errors
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.executors.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.executors module
2+
========================
3+
4+
.. automodule:: cwltool.executors
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.expression.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.expression module
2+
=========================
3+
4+
.. automodule:: cwltool.expression
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.factory.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.factory module
2+
======================
3+
4+
.. automodule:: cwltool.factory
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.flatten.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.flatten module
2+
======================
3+
4+
.. automodule:: cwltool.flatten
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.job.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.job module
2+
==================
3+
4+
.. automodule:: cwltool.job
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.load_tool.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.load\_tool module
2+
=========================
3+
4+
.. automodule:: cwltool.load_tool
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.loghandler.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.loghandler module
2+
=========================
3+
4+
.. automodule:: cwltool.loghandler
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.main.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.main module
2+
===================
3+
4+
.. automodule:: cwltool.main
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.mutation.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.mutation module
2+
=======================
3+
4+
.. automodule:: cwltool.mutation
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.pack.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.pack module
2+
===================
3+
4+
.. automodule:: cwltool.pack
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.pathmapper.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.pathmapper module
2+
=========================
3+
4+
.. automodule:: cwltool.pathmapper
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.process.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.process module
2+
======================
3+
4+
.. automodule:: cwltool.process
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.procgenerator.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.procgenerator module
2+
============================
3+
4+
.. automodule:: cwltool.procgenerator
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.provenance.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.provenance module
2+
=========================
3+
4+
.. automodule:: cwltool.provenance
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.resolver.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.resolver module
2+
=======================
3+
4+
.. automodule:: cwltool.resolver
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.rst

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
cwltool package
2+
===============
3+
4+
Submodules
5+
----------
6+
7+
.. toctree::
8+
9+
cwltool.argparser
10+
cwltool.builder
11+
cwltool.checker
12+
cwltool.command_line_tool
13+
cwltool.context
14+
cwltool.cwlrdf
15+
cwltool.docker
16+
cwltool.docker_id
17+
cwltool.errors
18+
cwltool.executors
19+
cwltool.expression
20+
cwltool.factory
21+
cwltool.flatten
22+
cwltool.job
23+
cwltool.load_tool
24+
cwltool.loghandler
25+
cwltool.main
26+
cwltool.mutation
27+
cwltool.pack
28+
cwltool.pathmapper
29+
cwltool.process
30+
cwltool.procgenerator
31+
cwltool.provenance
32+
cwltool.resolver
33+
cwltool.sandboxjs
34+
cwltool.secrets
35+
cwltool.singularity
36+
cwltool.software_requirements
37+
cwltool.stdfsaccess
38+
cwltool.subgraph
39+
cwltool.update
40+
cwltool.utils
41+
cwltool.validate_js
42+
cwltool.workflow
43+
44+
Module contents
45+
---------------
46+
47+
.. automodule:: cwltool
48+
:members:
49+
:undoc-members:
50+
:show-inheritance:

docs/cwltool.sandboxjs.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.sandboxjs module
2+
========================
3+
4+
.. automodule:: cwltool.sandboxjs
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.secrets.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.secrets module
2+
======================
3+
4+
.. automodule:: cwltool.secrets
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.singularity.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.singularity module
2+
==========================
3+
4+
.. automodule:: cwltool.singularity
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.software\_requirements module
2+
=====================================
3+
4+
.. automodule:: cwltool.software_requirements
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.stdfsaccess.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.stdfsaccess module
2+
==========================
3+
4+
.. automodule:: cwltool.stdfsaccess
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/cwltool.subgraph.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cwltool.subgraph module
2+
=======================
3+
4+
.. automodule:: cwltool.subgraph
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

0 commit comments

Comments
 (0)