{% extends "base.html" %} {% from "_partials/cards.html" import doc_card, menu_hits %} {# Document (menu "docs") and Code (menu "code") share this page. #} {% set menu = menu | default("docs") %} {% set page = { "docs": {"label": "Document", "path": "/ui/docs", "kicker": "Catalog", "noun": "documents", "empty": "Ingest and publish a document to see it here."}, "tickets": {"label": "Ticket", "path": "/ui/tickets", "kicker": "Business analysis", "noun": "documents", "empty": "A BA repo publishes its missions and tickets with kb publish."}, "code": {"label": "Code", "path": "/ui/code", "kicker": "Code", "noun": "documents", "empty": "A Dev repo publishes its code documents with kb publish."} }[menu] %} {% block main %}

{{ page.kicker }}

{{ page.label }}

{% if menu_q %} {{ menu_hits(menu_q, menu_results, page.label, page.path) }} {% else %}
{% for d in docs %}{{ doc_card(d) }} {% else %}
{% if browse_tags %}

No documents match those tags.

Check the tag spelling or browse all documents.

{% else %}

No documents in the store yet.

{{ page.empty }}

{% endif %}
{% endfor %}
{% endif %}
{% endblock %}