Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit 4bf9d44

Browse files
committed
update documentation
1 parent 8cedbf2 commit 4bf9d44

File tree

6 files changed

+111
-4
lines changed

6 files changed

+111
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
test/__pycache__
22
cwlgen/__pycache__
3+
doc/build/

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The library works for both Python 2.7.12+ and 3.6.0.
1717
You can install python-cwlgen using pip with the following command:
1818

1919
```bash
20-
pip install git+https://github.com/common-workflow-language/python-cwlgen.git#egg=python-cwlgen
20+
pip install cwlgen
2121
```
2222

2323
## How it works ?

doc/source/changelogs.rst

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. python-cwlgen - Python library for manipulation and generation of CWL tools.
2+
3+
.. _changelogs:
4+
5+
**********
6+
Changelogs
7+
**********
8+
9+
Summary of developments of Python-cwlgen library.
10+
11+
v0.2
12+
====
13+
14+
v0.2.0
15+
------
16+
17+
* Add import feature for what is covered so far by the library
18+
* Change attribute names of object to correspond exactly to CWL Tool fields
19+
20+
v0.1
21+
====
22+
23+
v0.1.1
24+
------
25+
26+
This is the first release of Python-cwlgen:
27+
28+
* Basic model of CWL Tool
29+
* export feature to STDOUT or output file

doc/source/classes.rst

+56
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ CommandLineTool
1818
:members:
1919
:private-members:
2020
:special-members:
21+
:exclude-members: __weakref__
2122

2223
.. _in_out:
2324

@@ -31,6 +32,7 @@ CommandInputParameter
3132
:members:
3233
:private-members:
3334
:special-members:
35+
:exclude-members: __weakref__
3436

3537
CommandOutputParameter
3638
""""""""""""""""""""""
@@ -39,6 +41,7 @@ CommandOutputParameter
3941
:members:
4042
:private-members:
4143
:special-members:
44+
:exclude-members: __weakref__
4245

4346
CommandLineBinding
4447
""""""""""""""""""
@@ -47,6 +50,7 @@ CommandLineBinding
4750
:members:
4851
:private-members:
4952
:special-members:
53+
:exclude-members: __weakref__
5054

5155
CommandOutputBinding
5256
""""""""""""""""""""
@@ -55,6 +59,7 @@ CommandOutputBinding
5559
:members:
5660
:private-members:
5761
:special-members:
62+
:exclude-members: __weakref__
5863

5964
.. _requirements:
6065

@@ -68,6 +73,7 @@ Requirement
6873
:members:
6974
:private-members:
7075
:special-members:
76+
:exclude-members: __weakref__
7177

7278
InlineJavascriptReq
7379
"""""""""""""""""""
@@ -76,6 +82,7 @@ InlineJavascriptReq
7682
:members:
7783
:private-members:
7884
:special-members:
85+
:exclude-members: __weakref__
7986

8087
DockerRequirement
8188
"""""""""""""""""
@@ -84,3 +91,52 @@ DockerRequirement
8491
:members:
8592
:private-members:
8693
:special-members:
94+
:exclude-members: __weakref__
95+
96+
Import CWL
97+
==========
98+
99+
CWLToolParser
100+
"""""""""""""
101+
102+
.. autoclass:: cwlgen.import_cwl.CWLToolParser
103+
:members:
104+
:private-members:
105+
:special-members:
106+
:exclude-members: __weakref__
107+
108+
InputsParser
109+
""""""""""""
110+
111+
.. autoclass:: cwlgen.import_cwl.InputsParser
112+
:members:
113+
:private-members:
114+
:special-members:
115+
:exclude-members: __weakref__
116+
117+
InputBindingParser
118+
""""""""""""""""""
119+
120+
.. autoclass:: cwlgen.import_cwl.InputBindingParser
121+
:members:
122+
:private-members:
123+
:special-members:
124+
:exclude-members: __weakref__
125+
126+
OutputsParser
127+
"""""""""""""
128+
129+
.. autoclass:: cwlgen.import_cwl.OutputsParser
130+
:members:
131+
:private-members:
132+
:special-members:
133+
:exclude-members: __weakref__
134+
135+
OutputBindingParser
136+
"""""""""""""""""""
137+
138+
.. autoclass:: cwlgen.import_cwl.OutputBindingParser
139+
:members:
140+
:private-members:
141+
:special-members:
142+
:exclude-members: __weakref__

doc/source/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Python-cwlgen API documentation
2020
:maxdepth: 2
2121

2222
classes
23+
changelogs
2324

2425
..
2526
Indices and tables

doc/source/installation.rst

+23-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,22 @@ Installation procedure
2424
Pip
2525
---
2626

27-
You can use pip to install directly for the git repository::
27+
You can use pip to install the latest version from pypi:
2828

29-
pip install git+https://github.com/common-workflow-language/python-cwlgen.git#egg=python-cwlgen
29+
.. code-block:: bash
30+
31+
pip install cwlgen
32+
33+
Manually
34+
--------
35+
36+
Clone the repository and install cwlgen with the following command:
37+
38+
.. code-block:: bash
39+
40+
git clone https://github.com/common-workflow-language/python-cwlgen.git
41+
cd python-cwlgen
42+
pip install .
3043
3144
.. _uninstallation:
3245

@@ -36,6 +49,13 @@ Uninstallation procedure
3649
Pip
3750
---
3851

39-
You can remove python-cwlgen with the following command::
52+
You can remove python-cwlgen with the following command:
53+
54+
.. code-block:: bash
4055
4156
pip uninstall python-cwlgen
57+
58+
.. Note::
59+
This will not uninstall dependencies. To do so you can make use of `pip-autoremove`_.
60+
61+
.. _pip-autoremove: https://github.com/invl/pip-autoremove

0 commit comments

Comments
 (0)