Skip to content

Document customizing breadcrumbs - #2885

Open
nightcityblade wants to merge 1 commit into
simonw:mainfrom
nightcityblade:docs/issue-1902
Open

Document customizing breadcrumbs#2885
nightcityblade wants to merge 1 commit into
simonw:mainfrom
nightcityblade:docs/issue-1902

Conversation

@nightcityblade

Copy link
Copy Markdown

Fixes #1902

Documents the nested crumbs template block and shows how plugin authors can reuse crumbs.nav() to preserve Datasette's permission-aware breadcrumbs without replacing the rest of the navigation.

Tests

  • sphinx-build -W -b html docs /tmp/datasette-1902-docs-build
  • codespell docs/custom_templates.rst
  • blacken-docs --check docs/custom_templates.rst
  • pytest -q tests/test_docs.py — 13 passed, 141 subtests passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document {% block crumbs %} for plugin authors

1 participant