{"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133396285", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133396285, "node_id": "IC_kwDOBm6k_c5DjkE9", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T21:28:29Z", "updated_at": "2022-05-20T21:28:29Z", "author_association": "OWNER", "body": "That fixed it:\r\n\r\n\"image\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133348094", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133348094, "node_id": "IC_kwDOBm6k_c5DjYT-", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:40:09Z", "updated_at": "2022-05-20T20:40:09Z", "author_association": "OWNER", "body": "Relevant JavaScript: https://github.com/simonw/datasette/blob/1d33fd03b3c211e0f48a8f3bde83880af89e4e69/docs/_static/js/custom.js#L20-L24", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133347051", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133347051, "node_id": "IC_kwDOBm6k_c5DjYDr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:39:17Z", "updated_at": "2022-05-20T20:39:17Z", "author_association": "OWNER", "body": "Now live at https://docs.datasette.io/en/latest/ - the JavaScript that adds the banner about that not being the stable version doesn't seem to work though.\r\n\r\nBefore:\r\n\r\n\"image\"\r\n\r\nAfter:\r\n\r\n\"image\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133335940", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133335940, "node_id": "IC_kwDOBm6k_c5DjVWE", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:30:29Z", "updated_at": "2022-05-20T20:30:29Z", "author_association": "OWNER", "body": "I think the trick will be to extend the `base.html` template from Furo using the same trick I used in https://til.simonwillison.net/readthedocs/custom-sphinx-templates\r\n\r\nhttps://github.com/pradyunsg/furo/blob/2022.04.07/src/furo/theme/furo/base.html - the `site_meta` block looks good.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133333144", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133333144, "node_id": "IC_kwDOBm6k_c5DjUqY", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:28:25Z", "updated_at": "2022-05-20T20:28:25Z", "author_association": "OWNER", "body": "One last question: how to include the Plausible analytics?\r\n\r\nFuro doesn't have any specific tools for this:\r\n\r\n- https://github.com/pradyunsg/furo/discussions/243", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133331997", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133331997, "node_id": "IC_kwDOBm6k_c5DjUYd", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:27:31Z", "updated_at": "2022-05-20T20:27:31Z", "author_association": "OWNER", "body": "I'm going to move my custom JavaScript from `layout.html` into `js/custom.js`, similar to how the custom CSS works.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133331564", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133331564, "node_id": "IC_kwDOBm6k_c5DjURs", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:27:12Z", "updated_at": "2022-05-20T20:27:12Z", "author_association": "OWNER", "body": "This seems to work for `brand.html`:\r\n\r\n```html+jinja\r\n
\r\n {% block brand_content %}\r\n
\r\n \"Datasette\"\r\n
\r\n {%- set nav_version = version %}\r\n {% if READTHEDOCS and current_version %}\r\n {%- set nav_version = current_version %}\r\n {% endif %}\r\n {% if nav_version %}\r\n
\r\n {{ nav_version }}\r\n
\r\n {% endif %}\r\n {% endblock brand_content %}\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": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133310253", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133310253, "node_id": "IC_kwDOBm6k_c5DjPEt", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:11:00Z", "updated_at": "2022-05-20T20:11:00Z", "author_association": "OWNER", "body": "Oh but `rg display_version` is a lot more interesting:\r\n```\r\nlib/python3.10/site-packages/sphinx/builders/html/__init__.py:from sphinx import __display_version__, package_dir\r\nlib/python3.10/site-packages/sphinx/builders/html/__init__.py: 'sphinx_version': __display_version__,\r\nlib/python3.10/site-packages/sphinx/application.py: logger.info(bold(__('Running Sphinx v%s') % sphinx.__display_version__))\r\nlib/python3.10/site-packages/sphinx/application.py: if self.config.needs_sphinx and self.config.needs_sphinx > sphinx.__display_version__:\r\nlib/python3.10/site-packages/sphinx/application.py: if version > sphinx.__display_version__[:3]:\r\nlib/python3.10/site-packages/sphinx/cmd/build.py:from sphinx import __display_version__, package_dir\r\nlib/python3.10/site-packages/sphinx/cmd/build.py: version='%%(prog)s %s' % __display_version__)\r\nlib/python3.10/site-packages/sphinx/cmd/make_mode.py: print(bold(\"Sphinx v%s\" % sphinx.__display_version__))\r\nlib/python3.10/site-packages/sphinx/__init__.py:__display_version__ = __version__ # used for command line version\r\nlib/python3.10/site-packages/sphinx/__init__.py: __display_version__ = __version__\r\nlib/python3.10/site-packages/sphinx/__init__.py: __display_version__ += '/' + ret.stdout.strip()\r\nlib/python3.10/site-packages/sphinx/ext/githubpages.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/intersphinx.py: 'version': sphinx.__display_version__,\r\nlib/python3.10/site-packages/sphinx/cmd/quickstart.py:from sphinx import __display_version__, package_dir\r\nlib/python3.10/site-packages/sphinx/cmd/quickstart.py: print(bold(__('Welcome to the Sphinx %s quickstart utility.')) % __display_version__)\r\nlib/python3.10/site-packages/sphinx/cmd/quickstart.py: version='%%(prog)s %s' % __display_version__)\r\nlib/python3.10/site-packages/sphinx/ext/viewcode.py: 'version': sphinx.__display_version__,\r\nlib/python3.10/site-packages/sphinx/util/__init__.py: (sphinx.__display_version__,\r\nlib/python3.10/site-packages/sphinx/ext/ifconfig.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/todo.py: 'version': sphinx.__display_version__,\r\nlib/python3.10/site-packages/sphinx/ext/doctest.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/autosummary/__init__.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/napoleon/__init__.py:from sphinx import __display_version__ as __version__\r\nlib/python3.10/site-packages/sphinx/ext/autosummary/generate.py:from sphinx import __display_version__, package_dir\r\nlib/python3.10/site-packages/sphinx/ext/autosummary/generate.py: version='%%(prog)s %s' % __display_version__)\r\nlib/python3.10/site-packages/sphinx/ext/inheritance_diagram.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/imgmath.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/linkcode.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/coverage.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/writers/texinfo.py:from sphinx import __display_version__, addnodes\r\nlib/python3.10/site-packages/sphinx/writers/texinfo.py:@*Generated by Sphinx \"\"\" + __display_version__ + \"\"\".@*\r\nlib/python3.10/site-packages/sphinx/ext/graphviz.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/mathjax.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/extlinks.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/apidoc.py:from sphinx import __display_version__, package_dir\r\nlib/python3.10/site-packages/sphinx/ext/apidoc.py: version='%%(prog)s %s' % __display_version__)\r\nlib/python3.10/site-packages/sphinx/ext/autodoc/type_comment.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/sphinx/ext/autodoc/__init__.py: return {'version': sphinx.__display_version__, 'parallel_read_safe': True}\r\nlib/python3.10/site-packages/pip/_internal/models/target_python.py: display_version = None\r\nlib/python3.10/site-packages/pip/_internal/models/target_python.py: display_version = '.'.join(\r\nlib/python3.10/site-packages/pip/_internal/models/target_python.py: ('version_info', display_version),\r\nlib/python3.10/site-packages/sphinx_rtd_theme/theme.conf:display_version = True\r\nlib/python3.10/site-packages/sphinx_rtd_theme/layout.html: {%- if theme_display_version %}\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133309452", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133309452, "node_id": "IC_kwDOBm6k_c5DjO4M", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:10:36Z", "updated_at": "2022-05-20T20:10:36Z", "author_association": "OWNER", "body": "Weird, I cannot figure out this `theme_display_version` thing - I even tried this:\r\n```bash\r\ncd /tmp\r\nmkdir s\r\ncd s\r\npython3 -m venv venv\r\nsource venv/bin/activate\r\npip install sphinx_rtd_theme\r\ncd venv\r\nrg theme_display_version\r\n```\r\nAnd got just that one reference:\r\n```\r\nlib/python3.10/site-packages/sphinx_rtd_theme/layout.html\r\n154: {%- if theme_display_version %}\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": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133299417", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133299417, "node_id": "IC_kwDOBm6k_c5DjMbZ", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:05:34Z", "updated_at": "2022-05-20T20:05:34Z", "author_association": "OWNER", "body": "I can't get that thing that displays the version working.\r\n\r\nhttps://github.com/readthedocs/sphinx_rtd_theme/blob/9264091087620d421b0804c00937b00980ac3916/sphinx_rtd_theme/layout.html#L154 is where`sphinx_rtd_theme` implements it - `{%- if theme_display_version %}` - but I can't find where that variable is first set, from searching both that theme and Sphinx itself!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133288501", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133288501, "node_id": "IC_kwDOBm6k_c5DjJw1", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T20:00:17Z", "updated_at": "2022-05-20T20:00:17Z", "author_association": "OWNER", "body": "Here's a TIL from when I first customized the `layout.html` template: https://til.simonwillison.net/readthedocs/custom-sphinx-templates\r\n\r\nNote that Furo doesn't use `layout.html` so I need to completely change how I did that.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133254599", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133254599, "node_id": "IC_kwDOBm6k_c5DjBfH", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T19:33:08Z", "updated_at": "2022-05-20T19:33:08Z", "author_association": "OWNER", "body": "Actually maybe I don't? I just noticed that on other pages on https://docs.datasette.io/en/stable/installation.html the only way to get back to that useful table of context / index page at https://docs.datasette.io/en/stable/index.html is by clicking the tiny house icon. Can I do better or should I have the logo do that?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133252598", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133252598, "node_id": "IC_kwDOBm6k_c5DjA_2", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T19:31:30Z", "updated_at": "2022-05-20T19:31:30Z", "author_association": "OWNER", "body": "I'd also like to bring back this stable / latest / version indicator:\r\n\r\n![CleanShot 2022-05-20 at 12 30 49@2x](https://user-images.githubusercontent.com/9599/169598732-e2093ec1-7eaf-40dd-acfa-1a7c31091ff1.png)\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": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133250151", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133250151, "node_id": "IC_kwDOBm6k_c5DjAZn", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T19:29:37Z", "updated_at": "2022-05-20T19:29:37Z", "author_association": "OWNER", "body": "I want the Datasette logo in the sidebar to link to https://datasette.io/\r\n\r\nLooks like I can do that by dropping in my own `sidebar/brand.html` template based on this:\r\n\r\nhttps://github.com/pradyunsg/furo/blob/0c2acbbd23f8146dd0ae50a2ba57258c1f63ea9f/src/furo/theme/furo/sidebar/brand.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133246791", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133246791, "node_id": "IC_kwDOBm6k_c5Di_lH", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T19:26:49Z", "updated_at": "2022-05-20T19:26:49Z", "author_association": "OWNER", "body": "Putting this in the `css/custom.css` file seems to work for fixing that logo problem:\r\n\r\n```css\r\nbody[data-theme=\"dark\"] .sidebar-logo-container {\r\n background-color: white;\r\n padding: 5px;\r\n opacity: 0.6;\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": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133242063", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133242063, "node_id": "IC_kwDOBm6k_c5Di-bP", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T19:22:49Z", "updated_at": "2022-05-20T19:22:49Z", "author_association": "OWNER", "body": "I have some custom CSS in this file:\r\n\r\nhttps://github.com/simonw/datasette/blob/1465fea4798599eccfe7e8f012bd8d9adfac3039/docs/_static/css/custom.css#L1-L7\r\n\r\nI tested and the `overflow-wrap: anywhere` is still needed for this fix:\r\n- #828\r\n\r\nThe `.wy-side-nav-search` bit is no longer needed with the new theme.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133217219", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133217219, "node_id": "IC_kwDOBm6k_c5Di4XD", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T18:58:54Z", "updated_at": "2022-05-20T18:58:54Z", "author_association": "OWNER", "body": "Need to address other customizations I've made in https://github.com/simonw/datasette/blob/0.62a0/docs/_templates/layout.html - such as Plausible analytics and some custom JavaScript.\r\n\r\nhttps://github.com/simonw/datasette/blob/943aa2e1f7341cb51e60332cde46bde650c64217/docs/_templates/layout.html#L1-L61", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133215684", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133215684, "node_id": "IC_kwDOBm6k_c5Di3_E", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T18:56:29Z", "updated_at": "2022-05-20T18:56:29Z", "author_association": "OWNER", "body": "One other problem: in dark mode the Datasette logo looks bad:\r\n\r\n\"image\"\r\n\r\nThis helps a bit:\r\n\r\n```css\r\n.sidebar-logo-container {\r\n background-color: white;\r\n padding: 5px;\r\n opacity: 0.6;\r\n}\r\n```\r\n\r\n\"image\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133210942", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133210942, "node_id": "IC_kwDOBm6k_c5Di20-", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T18:49:40Z", "updated_at": "2022-05-20T18:49:40Z", "author_association": "OWNER", "body": "And for those local table of contents, do this:\r\n\r\n```rst\r\n.. contents::\r\n :local:\r\n :class: this-will-duplicate-information-and-it-is-still-useful-here\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133210651", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133210651, "node_id": "IC_kwDOBm6k_c5Di2wb", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T18:49:11Z", "updated_at": "2022-05-20T18:49:11Z", "author_association": "OWNER", "body": "I found a workaround for the no-longer-nested left hand navigation: drop this into `_templates/sidebar/navigation.html`:\r\n```html+jinja\r\n
\r\n {{ toctree(\r\n collapse=True,\r\n titles_only=False,\r\n maxdepth=3,\r\n includehidden=True,\r\n) }}\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": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1746#issuecomment-1133210032", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1746", "id": 1133210032, "node_id": "IC_kwDOBm6k_c5Di2mw", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T18:48:17Z", "updated_at": "2022-05-20T18:48:17Z", "author_association": "OWNER", "body": "A couple of changes I want to make. First, I don't really like the way Furo keeps the in-page titles in a separate menu on the right rather than expanding them on the left.\r\n\r\nI like this:\r\n\r\n![CleanShot 2022-05-20 at 11 43 33@2x](https://user-images.githubusercontent.com/9599/169592611-ac0f9bd2-ff99-49b6-88d3-92dace9d85a6.png)\r\n\r\nFuro wants to do this instead:\r\n\r\n\"image\"\r\n\r\nI also still want to include those inline tables of contents on the two pages that have them:\r\n\r\n- https://docs.datasette.io/en/stable/installation.html\r\n- https://docs.datasette.io/en/stable/plugin_hooks.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1243498298, "label": "Switch documentation theme to Furo"}, "performed_via_github_app": null}