{"html_url": "https://github.com/simonw/datasette/issues/1356#issuecomment-1017016553", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1356", "id": 1017016553, "node_id": "IC_kwDOBm6k_c48nnDp", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-20T01:06:37Z", "updated_at": "2022-01-20T01:06:37Z", "author_association": "OWNER", "body": "> A problem with this is that if you're using `--query` you likely want ALL of the results - at the moment the only Datasette output type that can stream everything is `.csv` and plugin formats can't handle full streams, see #1062 and #1177.\r\n\r\nI figured out a neat pattern for streaming JSON arrays in this TIL: https://til.simonwillison.net/python/output-json-array-streaming", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 910092577, "label": "Research: syntactic sugar for using --get with SQL queries, maybe \"datasette query\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1608#issuecomment-1017998993", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1608", "id": 1017998993, "node_id": "IC_kwDOBm6k_c48rW6R", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-20T22:56:00Z", "updated_at": "2022-01-20T22:56:00Z", "author_association": "OWNER", "body": "> https://sphinx-version-warning.readthedocs.io/ looks like it can show a banner for \"You are looking at v0.36 but you should be looking at 0.40\" but doesn't hand the case I need here which is \"you are looking at /latest/ but you should be looking at /stable/\".\r\n\r\nCorrection! That tool DOES support that, as can be seen in their example configuration for their own documentation:\r\n\r\nhttps://github.com/humitos/sphinx-version-warning/blob/a82156c2ea08e5feab406514d0ccd9d48a345f48/docs/conf.py#L32-L38\r\n\r\n```python\r\nversionwarning_messages = {\r\n 'latest': 'This is a custom message only for version \"latest\" of this documentation.',\r\n}\r\nversionwarning_admonition_type = 'tip'\r\nversionwarning_banner_title = 'Tip'\r\nversionwarning_body_selector = 'div[itemprop=\"articleBody\"]'\r\n```", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1109808154, "label": "Documentation should clarify /stable/ vs /latest/"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1577#issuecomment-1017112130", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1577", "id": 1017112130, "node_id": "IC_kwDOBm6k_c48n-ZC", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-20T04:33:57Z", "updated_at": "2022-01-20T04:33:57Z", "author_association": "OWNER", "body": "Dropped support for Python 3.6: updated `setup.py`, changed all references in the documentation to say 3.7 is the minimum required version, got rid of the GitHub Actions tests against 3.6.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1087913724, "label": "Drop support for Python 3.6"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1600#issuecomment-1017124310", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1600", "id": 1017124310, "node_id": "IC_kwDOBm6k_c48oBXW", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-20T05:06:09Z", "updated_at": "2022-01-20T05:06:09Z", "author_association": "OWNER", "body": "Fixed: https://docs.datasette.io/en/latest/plugins.html#seeing-what-plugins-are-installed", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1104691662, "label": "plugins --all example should use cog"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1608#issuecomment-1018017637", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1608", "id": 1018017637, "node_id": "IC_kwDOBm6k_c48rbdl", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-20T23:27:59Z", "updated_at": "2022-01-20T23:27:59Z", "author_association": "OWNER", "body": "Got a couple of TILs out of this:\r\n\r\n- [Promoting the stable version of the documentation using rel=canonical](https://til.simonwillison.net/readthedocs/documentation-seo-canonical)\r\n- [Linking from /latest/ to /stable/ on Read The Docs](https://til.simonwillison.net/readthedocs/link-from-latest-to-stable)", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1109808154, "label": "Documentation should clarify /stable/ vs /latest/"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1603#issuecomment-1017806497", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1603", "id": 1017806497, "node_id": "IC_kwDOBm6k_c48qn6h", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-20T18:39:27Z", "updated_at": "2022-01-20T18:39:57Z", "author_association": "OWNER", "body": "Here's a comparison between my hand-edited version and the one I have now:\r\n\r\n![CleanShot 2022-01-20 at 10 38 00@2x](https://user-images.githubusercontent.com/9599/150401244-7e78ee93-1973-4c95-8f91-01e51e0d5366.png)\r\n\r\nThe new 32x32 image:\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1108235694, "label": "A proper favicon"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1608#issuecomment-1017988556", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1608", "id": 1017988556, "node_id": "IC_kwDOBm6k_c48rUXM", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-20T22:37:51Z", "updated_at": "2022-01-20T22:37:51Z", "author_association": "OWNER", "body": "Here's a jQuery recipe that seems to do the right thing:\r\n```javascript\r\njQuery(function ($) {\r\n // If this is a /latest/ doc page, show banner linking to /stable/\r\n if (!/\\/latest\\//.test(location.pathname)) {\r\n return;\r\n }\r\n var stableUrl = location.pathname.replace(\"/latest/\", \"/stable/\");\r\n // Check it's not a 404\r\n fetch(stableUrl, { method: \"HEAD\" }).then((response) => {\r\n if (response.status == 200) {\r\n var warning = $(\r\n `
Note
\r\n\r\n This documentation covers the development version of Datasette.
\r\nSee this page for the current stable release.\r\n
\r\n