kopia lustrzana https://github.com/simonw/datasette
Powered by links to datasette.io, closes #1138
rodzic
2c0aca4887
commit
967cc05545
|
@ -1,4 +1,4 @@
|
|||
Powered by <a href="https://github.com/simonw/datasette" title="Datasette v{{ datasette_version }}">Datasette</a>
|
||||
Powered by <a href="https://datasette.io/" title="Datasette v{{ datasette_version }}">Datasette</a>
|
||||
{% if query_ms %}· Query took {{ query_ms|round(3) }}ms{% endif %}
|
||||
{% if metadata %}
|
||||
{% if metadata.license or metadata.license_url %}· Data license:
|
||||
|
|
|
@ -476,7 +476,7 @@
|
|||
|
||||
<h2 class="pattern-heading">.ft</h2>
|
||||
|
||||
<footer class="ft">Powered by <a href="https://github.com/simonw/datasette" title="Datasette v0+unknown">Datasette</a>
|
||||
<footer class="ft">Powered by <a href="https://datasette.io/" title="Datasette v0+unknown">Datasette</a>
|
||||
· Data license:
|
||||
<a href="https://github.com/simonw/datasette/blob/master/LICENSE">Apache License 2.0</a>
|
||||
·
|
||||
|
|
2
setup.py
2
setup.py
|
@ -29,7 +29,7 @@ setup(
|
|||
long_description_content_type="text/markdown",
|
||||
author="Simon Willison",
|
||||
license="Apache License, Version 2.0",
|
||||
url="https://github.com/simonw/datasette",
|
||||
url="https://datasette.io/",
|
||||
project_urls={
|
||||
"Documentation": "https://docs.datasette.io/en/stable/",
|
||||
"Changelog": "https://docs.datasette.io/en/stable/changelog.html",
|
||||
|
|
|
@ -1079,7 +1079,7 @@ def assert_footer_links(soup):
|
|||
assert "tests/fixtures.py" == source_link.text.strip()
|
||||
assert "Apache License 2.0" == license_link.text.strip()
|
||||
assert "About Datasette" == about_link.text.strip()
|
||||
assert "https://github.com/simonw/datasette" == datasette_link["href"]
|
||||
assert "https://datasette.io/" == datasette_link["href"]
|
||||
assert (
|
||||
"https://github.com/simonw/datasette/blob/master/tests/fixtures.py"
|
||||
== source_link["href"]
|
||||
|
@ -1461,7 +1461,7 @@ def test_base_url_config(app_client_base_url_prefix, path):
|
|||
not href.startswith("#")
|
||||
and href
|
||||
not in {
|
||||
"https://github.com/simonw/datasette",
|
||||
"https://datasette.io/",
|
||||
"https://github.com/simonw/datasette/blob/master/LICENSE",
|
||||
"https://github.com/simonw/datasette/blob/master/tests/fixtures.py",
|
||||
"/login-as-root", # Only used for the latest.datasette.io demo
|
||||
|
|
Ładowanie…
Reference in New Issue