We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4f2919 commit a79d914Copy full SHA for a79d914
packages/lit-dev-content/site/_includes/docs.html
@@ -58,7 +58,8 @@ <h1>{{ title }}</h1>
58
59
{{ content | safe }}
60
61
-
+ {% set nonEditableDocumentRegex = r/.+\/api\/.+/ %}
62
+ {% if not nonEditableDocumentRegex.test(page.inputPath) %}
63
<p id="edit-page-link">
64
<a
65
href="https://github.com/lit/lit.dev/edit/main/packages/lit-dev-content/{{ page.inputPath }}">
@@ -70,6 +71,7 @@ <h1>{{ title }}</h1>
70
71
</lazy-svg>
72
</a>
73
</p>
74
+ {% endif %}
75
76
{% set navItems = collections[collection] | eleventyNavigation | flattenNavigationAndAddNextPrev %}
77
{% for item in navItems %}
0 commit comments