Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
raindrum committed Sep 18, 2024
1 parent 4d50ba3 commit 1cc810f
Show file tree
Hide file tree
Showing 15 changed files with 111 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ <h1>404 - Not found</h1>
</div>


<script id="__config" type="application/json">{"base": "/", "features": [], "search": "/assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.1"}</script>
<script id="__config" type="application/json">{"base": "/", "features": [], "search": "/assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.2"}</script>


<script src="/assets/javascripts/bundle.56dfad97.min.js"></script>
Expand Down
16 changes: 16 additions & 0 deletions docs/assets/javascripts/bundle.56dfad97.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/assets/javascripts/bundle.56dfad97.min.js.map

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions docs/assets/javascripts/workers/search.07f07601.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/assets/javascripts/workers/search.07f07601.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/stylesheets/main.35f28582.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/stylesheets/main.35f28582.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/frontends/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ <h2 id="gnome-shell-search-provider">GNOME Shell Search Provider</h2>
</div>


<script id="__config" type="application/json">{"base": "..", "features": [], "search": "../assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.1"}</script>
<script id="__config" type="application/json">{"base": "..", "features": [], "search": "../assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.2"}</script>


<script src="../assets/javascripts/bundle.56dfad97.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ <h2 id="credits">Credits</h2>
</div>


<script id="__config" type="application/json">{"base": ".", "features": [], "search": "assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.1"}</script>
<script id="__config" type="application/json">{"base": ".", "features": [], "search": "assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.2"}</script>


<script src="assets/javascripts/bundle.56dfad97.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/library/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6965,7 +6965,7 @@ <h2 id="citeurl.StringBuilder.to_dict" class="doc doc-heading">
</div>


<script id="__config" type="application/json">{"base": "..", "features": [], "search": "../assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.1"}</script>
<script id="__config" type="application/json">{"base": "..", "features": [], "search": "../assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.2"}</script>


<script src="../assets/javascripts/bundle.56dfad97.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/template-yamls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ <h3 id="template-inheritance">Template Inheritance</h3>
</div>


<script id="__config" type="application/json">{"base": "..", "features": [], "search": "../assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.1"}</script>
<script id="__config" type="application/json">{"base": "..", "features": [], "search": "../assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": "11.4.2"}</script>


<script src="../assets/javascripts/bundle.56dfad97.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ markdown_extensions:
- pymdownx.superfences

extra:
version: 11.4.1
version: 11.4.2
history_buttons: false
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name = 'citeurl',
version = '11.4.1',
version = '11.4.2',
description = 'an extensible tool to process legal citations in text',
author = 'Simon Raindrum Sherred',
author_email = 'simonraindrum@gmail.com',
Expand Down
Empty file added tests/__init__.py
Empty file.
30 changes: 30 additions & 0 deletions tests/_test_links.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"tests for individual citation templates. not all of them are ready yet"

# import requests
# import time

from warnings import warn

import requests
import pytest

from citeurl import Citator
from .test_templates import TESTS

@pytest.mark.parametrize('template', TESTS.keys())
def test_link(template):
test_data = TESTS[template]
if not test_data.get('URL'):
warn(f'SKIPPED {template} - no URL')
return
print(f'{template} ({test_data["URL"]}) ... ', end='')
try:
response = requests.get(test_data['URL'])
except requests.exceptions.SSLError:
warn(f'SKIPPED {template} - SSL error')
return
if response.status_code == 403:
warn(f'SKIPPED {template} - Error 403 (Forbidden)')
return
assert response.ok, f"{test_data['URL']} returned {response.status_code}"

0 comments on commit 1cc810f

Please sign in to comment.