-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add colab and download links to notebooks * strip unnecessary output from cells this removes output from cells not marked `keep_output` * use find and awk
- Loading branch information
1 parent
4416bb0
commit 71893fd
Showing
7 changed files
with
83 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,7 @@ | |
} | ||
.green { | ||
color: #228B22; | ||
} | ||
.colab { | ||
color: #F9AB00; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- See https://squidfunk.github.io/mkdocs-material/customization/#overriding-blocks --> | ||
|
||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
{% if page.nb_url %} | ||
<a href="{{ page.nb_url }}" title="Download Notebook" class="md-content__button md-icon"> | ||
<span class="twemoji"> | ||
{% include ".icons/material/download.svg" %} | ||
</span> | ||
</a> | ||
<a href="https://colab.research.google.com/github/datastax/graph-rag/blob/main/docs/{{ page.file.src_uri}}" title="Open in Colab" class="md-content__button md-icon"> | ||
<span class="twemoji colab"> | ||
{% include ".icons/simple/googlecolab.svg" %} | ||
</span> | ||
</a> | ||
{% endif %} | ||
|
||
{{ super() }} | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.