about summary refs log tree commit diff stats
path: root/html/edit/009-sandbox-test.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-12-26 21:23:55 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-12-26 21:23:55 -0800
commitfdfe34ded306526bd87568e50ac9a6e03c9c0594 (patch)
treeee2ae7e7ef788213397f8b74c3be2d79379d276d /html/edit/009-sandbox-test.mu.html
parente932f72d36e7b9217ea2e12c12dbd8ed9ea4747b (diff)
downloadmu-fdfe34ded306526bd87568e50ac9a6e03c9c0594.tar.gz
3715
Fix cross-links in html for the edit/ app.

I originally thought I'd need to provide a commandline flag like --rel-path or
something. But we need to support different relative paths in a single html
file. So the solution instead is appropriately engineering the tags file.
Diffstat (limited to 'html/edit/009-sandbox-test.mu.html')
-rw-r--r--html/edit/009-sandbox-test.mu.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/html/edit/009-sandbox-test.mu.html b/html/edit/009-sandbox-test.mu.html
index 52631e6f..d376f209 100644
--- a/html/edit/009-sandbox-test.mu.html
+++ b/html/edit/009-sandbox-test.mu.html
@@ -71,12 +71,12 @@ if ('onhashchange' in window) {
 <span id="L12" class="LineNr"> 12 </span><span class="Constant">      |]</span>|
 <span id="L13" class="LineNr"> 13 </span>    ]
 <span id="L14" class="LineNr"> 14 </span>  ]
-<span id="L15" class="LineNr"> 15 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment <a href='088file.mu.html#L11'>resources</a>, <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L15" class="LineNr"> 15 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
 <span id="L16" class="LineNr"> 16 </span>  <span class="Comment"># run it</span>
 <span id="L17" class="LineNr"> 17 </span>  assume-console [
 <span id="L18" class="LineNr"> 18 </span>    press F4
 <span id="L19" class="LineNr"> 19 </span>  ]
-<span id="L20" class="LineNr"> 20 </span>  event-loop <a href='081print.mu.html#L4'>screen</a>, <a href='084console.mu.html#L23'>console</a>, env, <a href='088file.mu.html#L11'>resources</a>
+<span id="L20" class="LineNr"> 20 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L21" class="LineNr"> 21 </span>  screen-should-contain [
 <span id="L22" class="LineNr"> 22 </span>   <span class="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L23" class="LineNr"> 23 </span>   <span class="Constant"> .recipe foo [                                      ╎                                                 .</span>
@@ -92,7 +92,7 @@ if ('onhashchange' in window) {
 <span id="L33" class="LineNr"> 33 </span>    left-click<span class="Constant"> 5</span>,<span class="Constant"> 51</span>
 <span id="L34" class="LineNr"> 34 </span>  ]
 <span id="L35" class="LineNr"> 35 </span>  run [
-<span id="L36" class="LineNr"> 36 </span>    event-loop <a href='081print.mu.html#L4'>screen</a>, <a href='084console.mu.html#L23'>console</a>, env, <a href='088file.mu.html#L11'>resources</a>
+<span id="L36" class="LineNr"> 36 </span>    <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L37" class="LineNr"> 37 </span>  ]
 <span id="L38" class="LineNr"> 38 </span>  <span class="Comment"># color toggles to green</span>
 <span id="L39" class="LineNr"> 39 </span>  screen-should-contain-in-color <span class="Constant">2/green</span>, [
@@ -108,7 +108,7 @@ if ('onhashchange' in window) {
 <span id="L49" class="LineNr"> 49 </span>  <span class="Comment"># cursor should remain unmoved</span>
 <span id="L50" class="LineNr"> 50 </span>  run [
 <span id="L51" class="LineNr"> 51 </span>    cursor:char <span class="Special">&lt;-</span> copy <span class="Constant">9251/␣</span>
-<span id="L52" class="LineNr"> 52 </span>    print <a href='081print.mu.html#L4'>screen</a>, cursor
+<span id="L52" class="LineNr"> 52 </span>    print <a href='../081print.mu.html#L4'>screen</a>, cursor
 <span id="L53" class="LineNr"> 53 </span>  ]
 <span id="L54" class="LineNr"> 54 </span>  screen-should-contain [
 <span id="L55" class="LineNr"> 55 </span>   <span class="Constant"> .                                                                                 run (F4)           .</span>
@@ -129,7 +129,7 @@ if ('onhashchange' in window) {
 <span id="L70" class="LineNr"> 70 </span>    press F4
 <span id="L71" class="LineNr"> 71 </span>  ]
 <span id="L72" class="LineNr"> 72 </span>  run [
-<span id="L73" class="LineNr"> 73 </span>    event-loop <a href='081print.mu.html#L4'>screen</a>, <a href='084console.mu.html#L23'>console</a>, env, <a href='088file.mu.html#L11'>resources</a>
+<span id="L73" class="LineNr"> 73 </span>    <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L74" class="LineNr"> 74 </span>  ]
 <span id="L75" class="LineNr"> 75 </span>  <span class="Comment"># result turns red</span>
 <span id="L76" class="LineNr"> 76 </span>  screen-should-contain-in-color <span class="Constant">1/red</span>, [
@@ -156,14 +156,14 @@ if ('onhashchange' in window) {
 <span id="L97" class="LineNr"> 97 </span>    expected-response:text <span class="Special">&lt;-</span> get *curr, <span class="Constant">expected-response:offset</span>
 <span id="L98" class="LineNr"> 98 </span>    <span class="muControl">break-unless</span> expected-response
 <span id="L99" class="LineNr"> 99 </span>    filename <span class="Special">&lt;-</span> append filename, <span class="Constant">[.out]</span>
-<span id="L100" class="LineNr">100 </span>    <a href='088file.mu.html#L11'>resources</a> <span class="Special">&lt;-</span> <a href='088file.mu.html#L127'>dump</a> <a href='088file.mu.html#L11'>resources</a>, filename, expected-response
+<span id="L100" class="LineNr">100 </span>    <a href='../088file.mu.html#L11'>resources</a> <span class="Special">&lt;-</span> <a href='../088file.mu.html#L127'>dump</a> <a href='../088file.mu.html#L11'>resources</a>, filename, expected-response
 <span id="L101" class="LineNr">101 </span>  <span class="Delimiter">}</span>
 <span id="L102" class="LineNr">102 </span>]
 <span id="L103" class="LineNr">103 </span>
 <span id="L104" class="LineNr">104 </span><span class="muRecipe">before</span> <span class="Constant">&lt;end-restore-sandbox&gt;</span> [
 <span id="L105" class="LineNr">105 </span>  <span class="Delimiter">{</span>
 <span id="L106" class="LineNr">106 </span>    filename <span class="Special">&lt;-</span> append filename, <span class="Constant">[.out]</span>
-<span id="L107" class="LineNr">107 </span>    contents <span class="Special">&lt;-</span> <a href='088file.mu.html#L38'>slurp</a> <a href='088file.mu.html#L11'>resources</a>, filename
+<span id="L107" class="LineNr">107 </span>    contents <span class="Special">&lt;-</span> <a href='../088file.mu.html#L38'>slurp</a> <a href='../088file.mu.html#L11'>resources</a>, filename
 <span id="L108" class="LineNr">108 </span>    <span class="muControl">break-unless</span> contents
 <span id="L109" class="LineNr">109 </span>    *curr <span class="Special">&lt;-</span> put *curr, <span class="Constant">expected-response:offset</span>, contents
 <span id="L110" class="LineNr">110 </span>  <span class="Delimiter">}</span>
@@ -184,21 +184,21 @@ if ('onhashchange' in window) {
 <span id="L125" class="LineNr">125 </span>    below-sandbox-editor?:bool <span class="Special">&lt;-</span> greater-or-equal click-row, first-sandbox-begins
 <span id="L126" class="LineNr">126 </span>    <span class="muControl">break-unless</span> below-sandbox-editor?
 <span id="L127" class="LineNr">127 </span>    <span class="Comment"># identify the sandbox whose output is being clicked on</span>
-<span id="L128" class="LineNr">128 </span>    sandbox:&amp;:sandbox <span class="Special">&lt;-</span> find-click-in-sandbox-output env, click-row
+<span id="L128" class="LineNr">128 </span>    sandbox:&amp;:sandbox <span class="Special">&lt;-</span> <a href='009-sandbox-test.mu.html#L142'>find-click-in-sandbox-output</a> env, click-row
 <span id="L129" class="LineNr">129 </span>    <span class="muControl">break-unless</span> sandbox
 <span id="L130" class="LineNr">130 </span>    <span class="Comment"># toggle its expected-response, and save session</span>
-<span id="L131" class="LineNr">131 </span>    sandbox <span class="Special">&lt;-</span> toggle-expected-response sandbox
-<span id="L132" class="LineNr">132 </span>    save-sandboxes env, <a href='088file.mu.html#L11'>resources</a>
-<span id="L133" class="LineNr">133 </span>    <a href='081print.mu.html#L623'>hide-screen</a> <a href='081print.mu.html#L4'>screen</a>
-<span id="L134" class="LineNr">134 </span>    <a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> render-sandbox-side <a href='081print.mu.html#L4'>screen</a>, env, render
-<span id="L135" class="LineNr">135 </span>    <a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> update-cursor <a href='081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
+<span id="L131" class="LineNr">131 </span>    sandbox <span class="Special">&lt;-</span> <a href='009-sandbox-test.mu.html#L168'>toggle-expected-response</a> sandbox
+<span id="L132" class="LineNr">132 </span>    <a href='005-sandbox.mu.html#L215'>save-sandboxes</a> env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L133" class="LineNr">133 </span>    <a href='../081print.mu.html#L623'>hide-screen</a> <a href='../081print.mu.html#L4'>screen</a>
+<span id="L134" class="LineNr">134 </span>    <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L496'>render-sandbox-side</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L122'>render</a>
+<span id="L135" class="LineNr">135 </span>    <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L511'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
 <span id="L136" class="LineNr">136 </span>    <span class="Comment"># no change in cursor</span>
-<span id="L137" class="LineNr">137 </span>    <a href='081print.mu.html#L631'>show-screen</a> <a href='081print.mu.html#L4'>screen</a>
+<span id="L137" class="LineNr">137 </span>    <a href='../081print.mu.html#L631'>show-screen</a> <a href='../081print.mu.html#L4'>screen</a>
 <span id="L138" class="LineNr">138 </span>    <span class="muControl">loop</span> <span class="Constant">+next-event</span>
 <span id="L139" class="LineNr">139 </span>  <span class="Delimiter">}</span>
 <span id="L140" class="LineNr">140 </span>]
 <span id="L141" class="LineNr">141 </span>
-<span id="L142" class="LineNr">142 </span><span class="muRecipe">def</span> find-click-in-sandbox-output env:&amp;:environment, click-row:num<span class="muRecipe"> -&gt; </span>sandbox:&amp;:sandbox [
+<span id="L142" class="LineNr">142 </span><span class="muRecipe">def</span> <a href='009-sandbox-test.mu.html#L142'>find-click-in-sandbox-output</a> env:&amp;:environment, click-row:num<span class="muRecipe"> -&gt; </span>sandbox:&amp;:sandbox [
 <span id="L143" class="LineNr">143 </span>  <span class="Constant">local-scope</span>
 <span id="L144" class="LineNr">144 </span>  <span class="Constant">load-ingredients</span>
 <span id="L145" class="LineNr">145 </span>  <span class="Comment"># assert click-row &gt;= sandbox.starting-row-on-screen</span>
@@ -224,7 +224,7 @@ if ('onhashchange' in window) {
 <span id="L165" class="LineNr">165 </span>  <span class="muControl">return</span> sandbox
 <span id="L166" class="LineNr">166 </span>]
 <span id="L167" class="LineNr">167 </span>
-<span id="L168" class="LineNr">168 </span><span class="muRecipe">def</span> toggle-expected-response sandbox:&amp;:sandbox<span class="muRecipe"> -&gt; </span>sandbox:&amp;:sandbox [
+<span id="L168" class="LineNr">168 </span><span class="muRecipe">def</span> <a href='009-sandbox-test.mu.html#L168'>toggle-expected-response</a> sandbox:&amp;:sandbox<span class="muRecipe"> -&gt; </span>sandbox:&amp;:sandbox [
 <span id="L169" class="LineNr">169 </span>  <span class="Constant">local-scope</span>
 <span id="L170" class="LineNr">170 </span>  <span class="Constant">load-ingredients</span>
 <span id="L171" class="LineNr">171 </span>  expected-response:text <span class="Special">&lt;-</span> get *sandbox, <span class="Constant">expected-response:offset</span>
@@ -251,11 +251,11 @@ if ('onhashchange' in window) {
 <span id="L192" class="LineNr">192 </span>    response-is-expected?:bool <span class="Special">&lt;-</span> equal expected-response, sandbox-response
 <span id="L193" class="LineNr">193 </span>    <span class="Delimiter">{</span>
 <span id="L194" class="LineNr">194 </span>      <span class="muControl">break-if</span> response-is-expected?:bool
-<span id="L195" class="LineNr">195 </span>      row, <a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> render-text <a href='081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">1/red</span>, row
+<span id="L195" class="LineNr">195 </span>      row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L356'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">1/red</span>, row
 <span id="L196" class="LineNr">196 </span>    <span class="Delimiter">}</span>
 <span id="L197" class="LineNr">197 </span>    <span class="Delimiter">{</span>
 <span id="L198" class="LineNr">198 </span>      <span class="muControl">break-unless</span> response-is-expected?:bool
-<span id="L199" class="LineNr">199 </span>      row, <a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> render-text <a href='081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">2/green</span>, row
+<span id="L199" class="LineNr">199 </span>      row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L356'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">2/green</span>, row
 <span id="L200" class="LineNr">200 </span>    <span class="Delimiter">}</span>
 <span id="L201" class="LineNr">201 </span>    <span class="muControl">jump</span> <span class="Constant">+render-sandbox-end</span>
 <span id="L202" class="LineNr">202 </span>  <span class="Delimiter">}</span>