Skip to content

Commit 2216e84

Browse files
author
Philip Guo
committed
get ready to write embedding-HOWTO.md
1 parent 17d2930 commit 2216e84

3 files changed

Lines changed: 24 additions & 6 deletions

File tree

‎v3/docs/embedding-HOWTO.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Embedding Online Python Tutor visualizations
2+
3+
This document is a starting point for anyone who wants to embed
4+
Online Python Tutor (OPT) visualizations in their webpage. View it online at:
5+
6+
https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/docs/embedd.md
7+
8+
Look at the Git history to see when this document was last updated; the more time
9+
elapsed since that date, the more likely things are out-of-date.
10+
11+
I'm assuming that you're competent in Python, JavaScript, command-line-fu, and Google-fu,
12+
so I won't do much hand-holding in these directions.
13+
14+
This guide isn't meant to be comprehensive; you will undoubtedly still
15+
be confused about details after reading it, so feel free to email
16+
philip@pgbovine.net if you have questions.
17+
18+
And please excuse the sloppy writing; I'm not trying to win any style awards here :)
19+
20+

‎v3/docs/embedding-HOWTO.txt‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
Instructions for embedding Online Python Tutor visualizations
2-
------
1+
This document has been moved to embedding-HOWTO.md
32

4-
[Full documentation coming soon! For now, please email philip@pgbovine.net]
5-
6-
[TODO: move to GitHub Markdown format]
3+
View it online at:
4+
https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/docs/embedding-HOWTO.md

‎v3/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h1><span id="learnHeading">LEARN</span> <span class="smallH1">programming by vi
127127
<h1><span id="embedHeading">EMBED</span> <span class="smallH1">visualizations in digital textbooks</span></h1>
128128

129129
<p>Using a single line of JavaScript code, you can <a
130-
href="docs/embedding-HOWTO.txt">embed</a> an Online Python Tutor
130+
href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/docs/embedding-HOWTO.md">embed</a> an Online Python Tutor
131131
visualization within your web page (as shown in the &ldquo;Learn&rdquo;
132132
box above). The screenshot below shows a few of these visualizations
133133
embedded within the online textbook for the introductory CS course at UC

0 commit comments

Comments
 (0)