Skip to content

Commit

Permalink
synchronize recent changes from other CWL repos (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c authored Oct 18, 2021
1 parent cf52293 commit 19cebce
Show file tree
Hide file tree
Showing 39 changed files with 53 additions and 288 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ install-dep: install-dependencies

install-dependencies: FORCE
pip install --upgrade $(DEVPKGS)
pip install -r requirements.txt
pip install -r requirements.txt -r mypy-requirements.txt -r docs/requirements.txt

## install : install the ${MODULE} module and schema-salad-tool
install: FORCE
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
|Linux Build Status| |Code coverage| |CII Best Practices|
|Linux Build Status| |Code coverage| |Documentation Status| |CII Best Practices|

.. |Linux Build Status| image:: https://github.com/common-workflow-language/schema-salad/actions/workflows/ci-tests.yml/badge.svg?branch=main
:target: https://github.com/common-workflow-language/schema-salad/actions/workflows/ci-tests.yml
.. |Code coverage| image:: https://codecov.io/gh/common-workflow-language/schema_salad/branch/main/graph/badge.svg
:target: https://codecov.io/gh/common-workflow-language/schema_salad
.. |Documentation Status| image:: https://readthedocs.org/projects/schema-salad/badge/?version=latest
:target: https://schema-salad.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. |CII Best Practices| image:: https://bestpractices.coreinfrastructure.org/projects/1867/badge
:target: https://bestpractices.coreinfrastructure.org/projects/1867

Expand Down
15 changes: 15 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.inheritance_diagram",
"autoapi.extension",
"sphinx_autodoc_typehints",
"sphinx_rtd_theme",
"sphinxcontrib.autoprogram"
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -60,3 +64,14 @@

release = get_distribution('schema-salad').version
version = '.'.join(release.split('.')[:2])

autoapi_dirs = ['../schema_salad']
autodoc_typehints = 'description'
autoapi_keep_files = True
autoapi_ignore = ['*migrations*', '*.pyi']
autoapi_options = [ 'members', 'undoc-members', 'show-inheritance', 'show-inheritance-diagram', 'show-module-summary', 'imported-members', 'special-members' ]
#sphinx-autodoc-typehints
always_document_param_types = True
# If False, do not add type info for undocumented parameters.
# If True, add stub documentation for undocumented parameters to be able to add type info.

12 changes: 8 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,20 @@ generation, and transformation to RDF_. Salad provides a bridge
between document and record oriented data modeling and the Semantic
Web.


Modules
=======

.. toctree::
:maxdepth: 2
:caption: Contents:

modules
typeshed
Command Line Options
====================

.. autoprogram:: schema_salad.main:arg_parser()
:prog: schema-salad-tool

.. autoprogram:: schema_salad.makedoc:arg_parser()
:prog: schema-salad-doc

Indices and tables
==================
Expand Down
6 changes: 6 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sphinx >= 2.2
sphinx-rtd-theme
sphinx-autoapi
sphinx-autodoc-typehints
typed_ast;python_version<'3.8'
sphinxcontrib-autoprogram
17 changes: 0 additions & 17 deletions docs/schema_salad.avro.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.avro.schema.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.codegen.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.codegen_base.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.exceptions.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.java_codegen.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.jsonld_context.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.main.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.makedoc.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.metaschema.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.python_codegen.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.python_codegen_support.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.ref_resolver.rst

This file was deleted.

39 changes: 0 additions & 39 deletions docs/schema_salad.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.schema.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.sourceline.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.matcher.rst

This file was deleted.

27 changes: 0 additions & 27 deletions docs/schema_salad.tests.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_cg.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_cli_args.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_errors.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_examples.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_fetch.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_fp.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_print_oneline.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_real_cwl.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.test_ref_resolver.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.tests.util.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.utils.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/schema_salad.validate.rst

This file was deleted.

Loading

0 comments on commit 19cebce

Please sign in to comment.