markwork 0.1.0.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,34 @@
1
+ """
2
+ The 'topLevelDefLines' function maps each top-level definition to its line.
3
+ """
4
+ # Apache-2.0 license
5
+ # Copyright (c) 2026 Asger Jon Vistisen
6
+
7
+ import ast
8
+ from pathlib import Path
9
+
10
+
11
+ def topLevelDefLines(pyfile: Path) -> dict:
12
+ """Return each top-level class or function name mapped to its line.
13
+
14
+ The line a definition starts on is the go-to-definition target within
15
+ the file that defines it.
16
+
17
+ Parameters
18
+ ----------
19
+ pyfile : Path
20
+ The file to read and parse.
21
+
22
+ Returns
23
+ -------
24
+ dict
25
+ A mapping of definition name to the line number it starts on.
26
+ """
27
+ tree = ast.parse(pyfile.read_text(encoding="utf-8"))
28
+ lines = {}
29
+ for node in tree.body:
30
+ if isinstance(
31
+ node, (ast.ClassDef, ast.FunctionDef, ast.AsyncFunctionDef)
32
+ ):
33
+ lines[node.name] = node.lineno
34
+ return lines
@@ -0,0 +1,33 @@
1
+ """
2
+ The 'topLevelDefs' function names the top-level classes and functions of a
3
+ file.
4
+ """
5
+ # Apache-2.0 license
6
+ # Copyright (c) 2026 Asger Jon Vistisen
7
+
8
+ import ast
9
+ from pathlib import Path
10
+
11
+
12
+ def topLevelDefs(pyfile: Path) -> set:
13
+ """Return the names of classes and functions defined at the top level.
14
+
15
+ Parameters
16
+ ----------
17
+ pyfile : Path
18
+ The file to read and parse.
19
+
20
+ Returns
21
+ -------
22
+ set of str
23
+ The names of every module-level class, function and async
24
+ function.
25
+ """
26
+ tree = ast.parse(pyfile.read_text(encoding="utf-8"))
27
+ names = set()
28
+ for node in tree.body:
29
+ if isinstance(
30
+ node, (ast.ClassDef, ast.FunctionDef, ast.AsyncFunctionDef)
31
+ ):
32
+ names.add(node.name)
33
+ return names
@@ -0,0 +1,42 @@
1
+ /* markwork ships this one stylesheet. It is theme-independent: the
2
+ * rendered source is a stock Pygments block whose colours come from the
3
+ * active theme's Pygments style, and the rules below use inherited or
4
+ * fixed colours so they read on any theme, light or dark. */
5
+
6
+ /* Highlight the source line jumped to by a "#line-N" link. The engine
7
+ * wraps each code line in <span id="line-N">; when the URL fragment is
8
+ * #line-N that span matches :target, and we give it a warm full-width
9
+ * band plus a left accent bar. The colour is semi-transparent so it
10
+ * reads on a light or a dark background. */
11
+
12
+ .highlight span[id^="line-"]:target {
13
+ display: inline-block;
14
+ width: 100%;
15
+ background-color: rgba(255, 213, 79, 0.35);
16
+ box-shadow: inset 3px 0 0 #ffb300;
17
+ }
18
+
19
+ /* Go-to-definition links injected into the rendered source by markwork
20
+ * around each name, pointing at where it is defined. The syntax colour
21
+ * lives on the inner Pygments span, so the anchor keeps it and only adds
22
+ * a faint dotted underline that thickens on hover, signalling "click to
23
+ * jump to where this is defined". */
24
+
25
+ .highlight a.srcref {
26
+ color: inherit;
27
+ text-decoration: none;
28
+ border-bottom: 1px dotted currentColor;
29
+ }
30
+
31
+ .highlight a.srcref:hover {
32
+ border-bottom-style: solid;
33
+ background-color: rgba(255, 213, 79, 0.25);
34
+ }
35
+
36
+ /* External targets (a name's definition on docs.python.org: standard
37
+ * library members and builtins) are marked with a dashed underline to set
38
+ * them apart from the dotted in-project links. */
39
+
40
+ .highlight a.srcref-ext {
41
+ border-bottom-style: dashed;
42
+ }
@@ -0,0 +1,259 @@
1
+ Metadata-Version: 2.4
2
+ Name: markwork
3
+ Version: 0.1.0.dev0
4
+ Summary: Sphinx docs without autodoc: your source, made click-through.
5
+ Author-email: Asger Jon Vistisen <asgerjon2@gmail.com>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/AsgerJon/markwork
8
+ Project-URL: Repository, https://github.com/AsgerJon/markwork
9
+ Project-URL: Issues, https://github.com/AsgerJon/markwork/issues
10
+ Keywords: sphinx,documentation,autodoc,pygments,source
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Framework :: Sphinx :: Extension
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Documentation :: Sphinx
22
+ Classifier: Topic :: Software Development :: Documentation
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: sphinx>=7
27
+ Requires-Dist: pygments
28
+ Dynamic: license-file
29
+
30
+ [![PyPI version](https://badge.fury.io/py/markwork.svg)](https://pypi.org/project/markwork/)
31
+ [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
32
+ [![Framework: Sphinx](https://img.shields.io/badge/Sphinx-extension-1A5276.svg)](https://www.sphinx-doc.org/)
33
+
34
+ # markwork v0.1.0 (alpha)
35
+
36
+ **markwork** publishes your source as your documentation. The page for a
37
+ file *is* that file: rendered verbatim, syntax-highlighted, and with every
38
+ name turned into a link to wherever it is defined. It replaces autodoc,
39
+ not Sphinx.
40
+
41
+ Stop documenting your code. Start publishing it.
42
+
43
+ The name is `markwork`, from the Danish `makværk`, with a wink at markup.
44
+
45
+ # Table of Contents
46
+
47
+ - [Installation](#installation)
48
+ - [You Already Wrote the Docs](#you-already-wrote-the-docs)
49
+ - [Click a Name, Land on the Definition](#click-a-name-land-on-the-definition)
50
+ - [Every Page Ends With Its Tests](#every-page-ends-with-its-tests)
51
+ - [Quickstart](#quickstart)
52
+ - [Themes](#themes)
53
+ - [Contributing](#contributing)
54
+ - [License](#license)
55
+
56
+ # Installation
57
+
58
+ Install with pip:
59
+
60
+ ```bash
61
+ pip install markwork
62
+ ```
63
+
64
+ This pulls in Sphinx and Pygments. markwork rides on Sphinx for the HTML
65
+ shell, search, theme, and hosting. What it replaces is autodoc.
66
+
67
+ # You Already Wrote the Docs
68
+
69
+ Here is a function. It is documented. You have written a hundred like it:
70
+
71
+ ```python
72
+ def fib(n: int) -> int:
73
+ """Return the nth Fibonacci number.
74
+
75
+ Parameters
76
+ ----------
77
+ n : int
78
+ Position in the sequence, counting from zero.
79
+
80
+ Returns
81
+ -------
82
+ int
83
+ The nth Fibonacci number.
84
+
85
+ Examples
86
+ --------
87
+ >>> fib(10)
88
+ 55
89
+ """
90
+ a, b = 0, 1
91
+ for _ in range(n):
92
+ a, b = b, a + b
93
+ return a
94
+
95
+
96
+ class IsEven(metaclass=type('_', (), {'__call__': lambda *a: not a[1] % 2})):
97
+ """
98
+ Parity test of integers.
99
+
100
+ Parameters
101
+ ----------
102
+ n : int
103
+ The integer to test.
104
+
105
+ Returns
106
+ -------
107
+ bool
108
+ True if 'n' is even, False otherwise.
109
+
110
+ Examples
111
+ --------
112
+ >>> IsEven(4)
113
+ True
114
+ >>> IsEven(7)
115
+ False
116
+ """
117
+ ```
118
+
119
+ Then the ceremony starts. A `.rst` stub. An `automodule` directive. A
120
+ docstring style your theme half-renders. A `[source]` link that ejects the
121
+ reader into a separate viewer to see the four lines that actually matter.
122
+
123
+ Wouldn't it be easier if you wrote that docstring and were just *done*?
124
+
125
+ Now you are. Add one line to `conf.py`:
126
+
127
+ ```python
128
+ extensions = ["markwork"]
129
+ ```
130
+
131
+ markwork publishes the function — docstring, signature, body, all of it —
132
+ exactly as you wrote it. The page is the source. You already finished the
133
+ documentation; you just did not know it yet.
134
+
135
+ # Click a Name, Land on the Definition
136
+
137
+ markwork reads your syntax tree, so every name on the page is wired to
138
+ where it comes from. You do not read the docs by scrolling. You read them
139
+ the way you read code — by following definitions:
140
+
141
+ ```
142
+ widget.py click Point → geometry.py:14 (the def, highlighted)
143
+ geometry.py click hypot → docs.python.org/3/library/math.html
144
+ sequences.py click fib → sequences.py:30 (back to its own def)
145
+ ```
146
+
147
+ Project symbols and same-file names jump inside your docs, at the exact
148
+ line. Standard-library members and builtins jump to the official Python
149
+ documentation. A name shadowed by a local binding stays unlinked, so a
150
+ link never sends you somewhere wrong.
151
+
152
+ # Every Page Ends With Its Tests
153
+
154
+ Scroll to the bottom of any symbol's page and the tests that exercise it
155
+ are waiting there — listed for you, no digging, file and line, each line a
156
+ link straight to the assertion:
157
+
158
+ ```
159
+ fib()
160
+
161
+ Usage in testing
162
+ ────────────────
163
+ tests/test_sequences.py: 12, 19, 27
164
+ ```
165
+
166
+ Click `19` and you land on that line of the test. Per function, you can
167
+ see exactly what is covering it. You did write tests, right?
168
+
169
+ # Quickstart
170
+
171
+ A complete `src/`-layout project, zero to rendered docs in about a minute.
172
+
173
+ ```
174
+ acme/
175
+ ├─ src/acme/__init__.py # re-exports your public names, sets __all__
176
+ ├─ src/acme/widget.py
177
+ ├─ tests/test_widget.py
178
+ └─ docs/
179
+ ├─ conf.py # extensions = ["markwork"]
180
+ └─ index.rst
181
+ ```
182
+
183
+ markwork follows your **public API**: every name in the package's `__all__`
184
+ becomes a page, a re-exported symbol pulls in its defining file, and the
185
+ `tests/` tree is mirrored for you. So the package's `__init__.py` is your
186
+ table of contents:
187
+
188
+ ```python
189
+ # src/acme/__init__.py
190
+ from .widget import Widget
191
+
192
+ __all__ = ["Widget"]
193
+ ```
194
+
195
+ `docs/index.rst` needs a single include — markwork writes the tree into
196
+ `_source/`:
197
+
198
+ ```rst
199
+ acme
200
+ ====
201
+
202
+ .. include:: _source/_packages.txt
203
+ ```
204
+
205
+ Build it:
206
+
207
+ ```bash
208
+ pip install markwork furo
209
+ sphinx-build -b html docs docs/_build/html
210
+ ```
211
+
212
+ Open `docs/_build/html/index.html`. One page per source file, every name a
213
+ link, the test suite mirrored alongside.
214
+
215
+ The defaults assume a single package under `src/` and a `tests/` directory
216
+ beside it; the project root is the parent of the folder holding `conf.py`.
217
+ Override when needed:
218
+
219
+ ```python
220
+ markwork_package = "acme" # auto-detected when src/ holds one package
221
+ markwork_src_root = "src" # source root, relative to the project
222
+ markwork_tests_root = "tests" # test root, relative to the project
223
+ ```
224
+
225
+ Flat layout, with the package at the project root instead of under `src/`?
226
+ Point the source root at the root and name the package explicitly:
227
+
228
+ ```python
229
+ markwork_src_root = "."
230
+ markwork_package = "acme"
231
+ ```
232
+
233
+ Requires Python 3.10 or newer.
234
+
235
+ # Themes
236
+
237
+ markwork is theme-independent and works with any Sphinx theme: furo,
238
+ `sphinx_rtd_theme`, the PyData theme, the built-in alabaster, or your own.
239
+ The rendered source is a stock Pygments block, so its syntax colours come
240
+ from the active theme's own Pygments style, and the bundled stylesheet
241
+ uses inherited and fixed colours so the go-to-definition underlines and
242
+ the line-jump highlight read on a light or a dark theme alike.
243
+
244
+ These docs are built with furo as a preference, not a requirement. To
245
+ preview under a different installed theme, set `MARKWORK_THEME`:
246
+
247
+ ```bash
248
+ MARKWORK_THEME=alabaster sphinx-build -b html docs docs/_build/html
249
+ ```
250
+
251
+ # Contributing
252
+
253
+ Contributions are welcome. Open an issue or a pull request at
254
+ [github.com/AsgerJon/markwork](https://github.com/AsgerJon/markwork).
255
+
256
+ # License
257
+
258
+ markwork is released under the Apache License 2.0 (Apache-2.0). See
259
+ [LICENSE](LICENSE) for the full text.
@@ -0,0 +1,28 @@
1
+ markwork/__init__.py,sha256=Y_iZedWj9dAkC94ysHx7VsZxiwCM4zbOBInxwqsdY0I,1797
2
+ markwork/engine/__init__.py,sha256=XWk-jsKdy4xZq1mat0JaRD1WHaRvR4fsm5jVT604aEs,2084
3
+ markwork/engine/_abs_module.py,sha256=ySWc7_DUOiB7uUEPt2Xz8n9FyYJzd_x95oIM2EbOJUc,1205
4
+ markwork/engine/_add_alias_site.py,sha256=V2t18yKgAc9f_cVgL9oKW1L5J1D4dT5qREYzM2dmfLw,872
5
+ markwork/engine/_bound_anywhere.py,sha256=fnIPD3T6nMFbgQQOg1dv_7Q5sPIMyXJ3XxG_36C4N8s,1137
6
+ markwork/engine/_builtin_links.py,sha256=s7qrG-_23zEV00Rdito5cyUOngZs-d_KnIMx08LiLLo,2149
7
+ markwork/engine/_css_class.py,sha256=t4dB2ff1O7p9u6F1TQV2JlJn7waSnULoXzNZSesyELg,774
8
+ markwork/engine/_detect_package.py,sha256=5xTuRxccSSs0hjac7LMLqpme9JNvMSyULPwIk0sl04g,1344
9
+ markwork/engine/_generate.py,sha256=dmcZlzEIUM5lpoHejPGWrzDriGkvaPszvy4fB7tMQag,1075
10
+ markwork/engine/_highlight.py,sha256=_oqFEgwSI8e7SB6RWZNrCp4O3T4qWrpveNLnMzSp7hc,2461
11
+ markwork/engine/_is_stdlib.py,sha256=09IDHHHBFepuYlGSGCsiHAaJGajATbdB9TkiJD5lFWs,757
12
+ markwork/engine/_line_starts.py,sha256=Sn9XYfdv895hqALMwXGrH176zWU_AW-RBivh9uy0EIk,816
13
+ markwork/engine/_merge_tokens.py,sha256=MAK5P-dbuvgur12hwA89GDcl-vyOW28PR7VFmsWpPb4,1091
14
+ markwork/engine/_module_definitions.py,sha256=ZRc59OhnvNTa5hUAF4a-tgjb5Z90Z5alVq3h-0XO2XQ,1195
15
+ markwork/engine/_nested_bound.py,sha256=C5spm8jxi9rj3uWbNv5ZXMXwnMbl1drCspeXqW93paE,1512
16
+ markwork/engine/_parse_init.py,sha256=zHoeOd7nk-eeicncSTvdrF91GqNGkOl9nC_6Wj3nf2c,1676
17
+ markwork/engine/_pydocs.py,sha256=qviemdBIYaTwBV5cJXI2nFtcxqn86FqwyqZJrLx4bgs,382
18
+ markwork/engine/_source_docs.py,sha256=5gA2T6uOW--8PNsiQGM-iQUrNo8qasPRYTEVDge12ss,20238
19
+ markwork/engine/_title.py,sha256=HHBGNLrgRlnUzh0DU736ih2gq1tL-3NcjQC29grmHYE,488
20
+ markwork/engine/_token_html.py,sha256=4Csb_W3nfuw3IoprLaz2abwuZH7e3Qjy3INGrNGx4DA,1802
21
+ markwork/engine/_top_level_def_lines.py,sha256=n8WEBaYYIHRzpuAWY1PL6Wf5BGRGBCoRtktiDCDEvVU,819
22
+ markwork/engine/_top_level_defs.py,sha256=_isQiTpVnBdYEPrIbpU9JGSbpjA8YCVSTHVCwPdNy_A,732
23
+ markwork/etc/markwork.css,sha256=CIvNQGWzchs6YS1tWolZeakWNYyTDrtw1OpluEQumZI,1571
24
+ markwork-0.1.0.dev0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
+ markwork-0.1.0.dev0.dist-info/METADATA,sha256=Z58Z-LxV1OkdpJhUkkNVwFCUgM3HDJoQqu0arMD8AFw,7590
26
+ markwork-0.1.0.dev0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
27
+ markwork-0.1.0.dev0.dist-info/top_level.txt,sha256=uqmoAdtWIrTPMRAJzSli60BxlTs5t0Qc4fpE7sUwiRg,9
28
+ markwork-0.1.0.dev0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1 @@
1
+ markwork