Skip to content

Commit

Permalink
Use include_cached to speed up build time, adding comment tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjevans committed Oct 8, 2021
1 parent a0d824a commit a4a9037
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/release-notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ def analyze_standalone_commit(commit):
if not hidedownloads:
print("""Get future release notes emailed to you:
{% include marketo.html %}
{% include_cached marketo.html %}
""")
print()

Expand All @@ -862,13 +862,13 @@ def analyze_standalone_commit(commit):
</div>
<section class="filter-content" data-scope="windows">
{% include windows_warning.md %}
{% include_cached windows_warning.md %}
</section>
""")

print("""### Docker image
{% include copy-clipboard.html %}
{% include_cached copy-clipboard.html %}
~~~shell
$ docker pull cockroachdb/cockroach""" + (":" if options.prod_release else "-unstable:") + current_version + """
~~~
Expand Down Expand Up @@ -933,7 +933,7 @@ def renderlinks(item):
# Print the Doc Updates section.
print("### Doc updates")
print()
print("Docs team: Please add these manually.")
print("{% comment %}Docs team: Please add these manually.{% endcomment %}")
print()

# Print the Contributors section.
Expand Down

0 comments on commit a4a9037

Please sign in to comment.