Browse code
documentation: styling
Ed Langley authored on 30/08/2019 08:12:40
Showing 2 changed files
Showing 2 changed files
... | ... |
@@ -332,7 +332,24 @@ |
332 | 332 |
#+HTML_HEAD: --zenburn-bg-plus-2: #5f5f5f; |
333 | 333 |
#+HTML_HEAD: --zenburn-blue: #8cd0d3; |
334 | 334 |
#+HTML_HEAD: } |
335 |
-#+HTML_HEAD: |
|
335 |
+#+HTML_HEAD: |
|
336 |
+#+HTML_HEAD: #table-of-contents h2 { |
|
337 |
+#+HTML_HEAD: text-align: center; |
|
338 |
+#+HTML_HEAD: padding-top: 3.5em; |
|
339 |
+#+HTML_HEAD: } |
|
340 |
+#+HTML_HEAD: |
|
341 |
+#+HTML_HEAD: #table-of-contents { |
|
342 |
+#+HTML_HEAD: width: 25rem; |
|
343 |
+#+HTML_HEAD: position: fixed; |
|
344 |
+#+HTML_HEAD: left: 0; |
|
345 |
+#+HTML_HEAD: top: 0; |
|
346 |
+#+HTML_HEAD: height: 100%; |
|
347 |
+#+HTML_HEAD: overflow-y: scroll; |
|
348 |
+#+HTML_HEAD: scrollbar-width: thin; |
|
349 |
+#+HTML_HEAD: } |
|
350 |
+#+HTML_HEAD: |
|
351 |
+#+HTML_HEAD: #table-of-contents::-webkit-scrollbar { width :6px; } |
|
352 |
+#+HTML_HEAD: |
|
336 | 353 |
#+HTML_HEAD: * {box-sizing: border-box;} |
337 | 354 |
#+HTML_HEAD: |
338 | 355 |
#+HTML_HEAD: body { |
... | ... |
@@ -343,7 +360,7 @@ |
343 | 360 |
#+HTML_HEAD: color: var(--zenburn-fg); |
344 | 361 |
#+HTML_HEAD: font-family: "Alegreya Sans", "Lato", "Roboto", "Open Sans", "Helvetica", sans-serif; |
345 | 362 |
#+HTML_HEAD: } |
346 |
-#+HTML_HEAD: |
|
363 |
+#+HTML_HEAD: |
|
347 | 364 |
#+HTML_HEAD: a {color: var(--zenburn-blue);} |
348 | 365 |
#+HTML_HEAD: |
349 | 366 |
#+HTML_HEAD: h1, h2, h3, h4, h5, h6 {margin: 0; margin-top: 1.5em; margin-bottom: 0.5em;} |
... | ... |
@@ -3,7 +3,7 @@ |
3 | 3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
4 | 4 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |
5 | 5 |
<head> |
6 |
-<!-- 2019-08-30 Fri 02:37 --> |
|
6 |
+<!-- 2019-08-30 Fri 03:12 --> |
|
7 | 7 |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
8 | 8 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
9 | 9 |
<title>TODO backend implementation using CL and fukamachi/ningle</title> |
... | ... |
@@ -203,6 +203,20 @@ |
203 | 203 |
--zenburn-bg-plus-2: #5f5f5f; |
204 | 204 |
--zenburn-blue: #8cd0d3; |
205 | 205 |
} |
206 |
+#table-of-contents h2 { |
|
207 |
+text-align: center; |
|
208 |
+padding-top: 3.5em; |
|
209 |
+} |
|
210 |
+#table-of-contents { |
|
211 |
+width: 25rem; |
|
212 |
+position: fixed; |
|
213 |
+left: 0; |
|
214 |
+top: 0; |
|
215 |
+height: 100%; |
|
216 |
+overflow-y: scroll; |
|
217 |
+scrollbar-width: thin; |
|
218 |
+} |
|
219 |
+#table-of-contents::-webkit-scrollbar { width :6px; } |
|
206 | 220 |
* {box-sizing: border-box;} |
207 | 221 |
body { |
208 | 222 |
font-size: 1.2rem; |
... | ... |
@@ -286,34 +300,34 @@ for the JavaScript code in this tag. |
286 | 300 |
<h2>Table of Contents</h2> |
287 | 301 |
<div id="text-table-of-contents"> |
288 | 302 |
<ul> |
289 |
-<li><a href="#org2eb4d7d">1. Setup</a></li> |
|
290 |
-<li><a href="#org57c534e">2. todo API</a> |
|
303 |
+<li><a href="#orga4265f9">1. Setup</a></li> |
|
304 |
+<li><a href="#org39e7a12">2. todo API</a> |
|
291 | 305 |
<ul> |
292 |
-<li><a href="#org11f5702">2.1. List-level APIs</a></li> |
|
293 |
-<li><a href="#orgc86afbb">2.2. Getting/Replacing a todo</a></li> |
|
294 |
-<li><a href="#orgdbc543f">2.3. Adding and modifying todos</a></li> |
|
295 |
-<li><a href="#org826caa8">2.4. Examples</a></li> |
|
306 |
+<li><a href="#org6ea07f3">2.1. List-level APIs</a></li> |
|
307 |
+<li><a href="#org005bb52">2.2. Getting/Replacing a todo</a></li> |
|
308 |
+<li><a href="#org77d0812">2.3. Adding and modifying todos</a></li> |
|
309 |
+<li><a href="#org09e92d6">2.4. Examples</a></li> |
|
296 | 310 |
</ul> |
297 | 311 |
</li> |
298 |
-<li><a href="#orgba7379a">3. Routing</a> |
|
312 |
+<li><a href="#orgf023b98">3. Routing</a> |
|
299 | 313 |
<ul> |
300 |
-<li><a href="#orgd4959c8">3.1. Routing utilities</a></li> |
|
301 |
-<li><a href="#orge718bd4">3.2. todo routes</a></li> |
|
314 |
+<li><a href="#org62738a5">3.1. Routing utilities</a></li> |
|
315 |
+<li><a href="#org9f65218">3.2. todo routes</a></li> |
|
302 | 316 |
</ul> |
303 | 317 |
</li> |
304 |
-<li><a href="#org92751d4">4. Source</a> |
|
318 |
+<li><a href="#org5597baf">4. Source</a> |
|
305 | 319 |
<ul> |
306 |
-<li><a href="#org0e64bc9">4.1. model.lisp source code</a></li> |
|
307 |
-<li><a href="#org4b8ee72">4.2. routing.lisp source</a></li> |
|
308 |
-<li><a href="#org9c0e9ef">4.3. main.lisp source</a></li> |
|
320 |
+<li><a href="#org80852ef">4.1. model.lisp source code</a></li> |
|
321 |
+<li><a href="#orgde4e27d">4.2. routing.lisp source</a></li> |
|
322 |
+<li><a href="#org76a7993">4.3. main.lisp source</a></li> |
|
309 | 323 |
</ul> |
310 | 324 |
</li> |
311 | 325 |
</ul> |
312 | 326 |
</div> |
313 | 327 |
</div> |
314 | 328 |
|
315 |
-<div id="outline-container-org2eb4d7d" class="outline-2"> |
|
316 |
-<h2 id="org2eb4d7d"><span class="section-number-2">1</span> Setup</h2> |
|
329 |
+<div id="outline-container-orga4265f9" class="outline-2"> |
|
330 |
+<h2 id="orga4265f9"><span class="section-number-2">1</span> Setup</h2> |
|
317 | 331 |
<div class="outline-text-2" id="text-1"> |
318 | 332 |
<ul class="org-ul"> |
319 | 333 |
<li><code class="src src-sh">git clone https://github.com/fiddlerwoaroof/data-lens.git ~/quicklisp/local-projects/data-lens</code></li> |
... | ... |
@@ -333,8 +347,8 @@ After this, all the tests <a href="http://www.todobackend.com/specs/index.html?h |
333 | 347 |
</div> |
334 | 348 |
</div> |
335 | 349 |
|
336 |
-<div id="outline-container-org57c534e" class="outline-2"> |
|
337 |
-<h2 id="org57c534e"><span class="section-number-2">2</span> todo API</h2> |
|
350 |
+<div id="outline-container-org39e7a12" class="outline-2"> |
|
351 |
+<h2 id="org39e7a12"><span class="section-number-2">2</span> todo API</h2> |
|
338 | 352 |
<div class="outline-text-2" id="text-2"> |
339 | 353 |
<p> |
340 | 354 |
We use a fairly simple structure for our "database": a fset map (a |
... | ... |
@@ -344,8 +358,8 @@ referenced as <code>*todo*</code>, but this is a detail hidden behind the API. |
344 | 358 |
</p> |
345 | 359 |
</div> |
346 | 360 |
|
347 |
-<div id="outline-container-org11f5702" class="outline-3"> |
|
348 |
-<h3 id="org11f5702"><span class="section-number-3">2.1</span> List-level APIs</h3> |
|
361 |
+<div id="outline-container-org6ea07f3" class="outline-3"> |
|
362 |
+<h3 id="org6ea07f3"><span class="section-number-3">2.1</span> List-level APIs</h3> |
|
349 | 363 |
<div class="outline-text-3" id="text-2-1"> |
350 | 364 |
<p> |
351 | 365 |
These are functions for getting the todo list and clearing |
... | ... |
@@ -354,7 +368,7 @@ and <code>clear-todos</code> for DELETE requests. |
354 | 368 |
</p> |
355 | 369 |
|
356 | 370 |
<div class="org-src-container"> |
357 |
-<pre class="src src-lisp" id="org9ed46c9"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">todos</span> <span style="color: #93a8c6;">()</span> |
|
371 |
+<pre class="src src-lisp" id="orgcdf7e06"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">todos</span> <span style="color: #93a8c6;">()</span> |
|
358 | 372 |
<span style="color: #93a8c6;">(</span>gmap:gmap <span style="font-weight: bold;">:seq</span> |
359 | 373 |
<span style="color: #b0b1a3;">(</span><span style="color: #F0DFAF;">lambda</span> <span style="color: #97b098;">(</span>_ b<span style="color: #97b098;">)</span> |
360 | 374 |
<span style="color: #97b098;">(</span><span style="color: #F0DFAF;">declare</span> <span style="color: #aebed8;">(</span>ignore _<span style="color: #aebed8;">)</span><span style="color: #97b098;">)</span> |
... | ... |
@@ -369,8 +383,8 @@ and <code>clear-todos</code> for DELETE requests. |
369 | 383 |
</div> |
370 | 384 |
</div> |
371 | 385 |
|
372 |
-<div id="outline-container-orgc86afbb" class="outline-3"> |
|
373 |
-<h3 id="orgc86afbb"><span class="section-number-3">2.2</span> Getting/Replacing a todo</h3> |
|
386 |
+<div id="outline-container-org005bb52" class="outline-3"> |
|
387 |
+<h3 id="org005bb52"><span class="section-number-3">2.2</span> Getting/Replacing a todo</h3> |
|
374 | 388 |
<div class="outline-text-3" id="text-2-2"> |
375 | 389 |
<p> |
376 | 390 |
This uses lisp's <a href="http://www.lispworks.com/documentation/HyperSpec/Body/05_a.htm">generalized references</a> to abstract away the |
... | ... |
@@ -380,7 +394,7 @@ the GET request for a specific todo by id. |
380 | 394 |
</p> |
381 | 395 |
|
382 | 396 |
<div class="org-src-container"> |
383 |
-<pre class="src src-lisp" id="org1a3f89a"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">todo</span> <span style="color: #93a8c6;">(</span>id<span style="color: #93a8c6;">)</span> |
|
397 |
+<pre class="src src-lisp" id="org76060a1"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">todo</span> <span style="color: #93a8c6;">(</span>id<span style="color: #93a8c6;">)</span> |
|
384 | 398 |
<span style="color: #93a8c6;">(</span><span style="color: #F0DFAF;">let</span> <span style="color: #b0b1a3;">(</span><span style="color: #97b098;">(</span>todo <span style="color: #aebed8;">(</span>fset:@ *todos* id<span style="color: #aebed8;">)</span><span style="color: #97b098;">)</span><span style="color: #b0b1a3;">)</span> |
385 | 399 |
todo<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span> |
386 | 400 |
|
... | ... |
@@ -396,8 +410,8 @@ the GET request for a specific todo by id. |
396 | 410 |
</div> |
397 | 411 |
</div> |
398 | 412 |
|
399 |
-<div id="outline-container-orgdbc543f" class="outline-3"> |
|
400 |
-<h3 id="orgdbc543f"><span class="section-number-3">2.3</span> Adding and modifying todos</h3> |
|
413 |
+<div id="outline-container-org77d0812" class="outline-3"> |
|
414 |
+<h3 id="org77d0812"><span class="section-number-3">2.3</span> Adding and modifying todos</h3> |
|
401 | 415 |
<div class="outline-text-3" id="text-2-3"> |
402 | 416 |
<p> |
403 | 417 |
<code>new-todo</code> is fairly trivial. It's main feature is that it has to |
... | ... |
@@ -407,7 +421,7 @@ properly. <code>new-todo</code> backs POST requests to the root endpoint. |
407 | 421 |
</p> |
408 | 422 |
|
409 | 423 |
<div class="org-src-container"> |
410 |
-<pre class="src src-lisp" id="org6b48f33"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defvar</span> <span style="color: #DC8CC3;">*external-host*</span> |
|
424 |
+<pre class="src src-lisp" id="org6d3c13a"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defvar</span> <span style="color: #DC8CC3;">*external-host*</span> |
|
411 | 425 |
<span style="color: #D0BF8F;">"localhost"</span><span style="color: #8c8c8c;">)</span> |
412 | 426 |
<span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defvar</span> <span style="color: #DC8CC3;">*external-port*</span> |
413 | 427 |
5000<span style="color: #8c8c8c;">)</span> |
... | ... |
@@ -432,7 +446,7 @@ todo endpoint for a specific ID. |
432 | 446 |
</p> |
433 | 447 |
|
434 | 448 |
<div class="org-src-container"> |
435 |
-<pre class="src src-lisp" id="orgb43ceb8"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">update-todo</span> <span style="color: #93a8c6;">(</span>id v<span style="color: #93a8c6;">)</span> |
|
449 |
+<pre class="src src-lisp" id="org417fe1b"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">update-todo</span> <span style="color: #93a8c6;">(</span>id v<span style="color: #93a8c6;">)</span> |
|
436 | 450 |
<span style="color: #93a8c6;">(</span>setf <span style="color: #b0b1a3;">(</span>todo id<span style="color: #b0b1a3;">)</span> |
437 | 451 |
<span style="color: #b0b1a3;">(</span>serapeum:merge-tables <span style="color: #97b098;">(</span>or <span style="color: #aebed8;">(</span>todo id<span style="color: #aebed8;">)</span> |
438 | 452 |
<span style="color: #aebed8;">(</span>make-hash-table <span style="font-weight: bold;">:test</span> 'equal<span style="color: #aebed8;">)</span><span style="color: #97b098;">)</span> |
... | ... |
@@ -446,8 +460,8 @@ todo endpoint for a specific ID. |
446 | 460 |
</div> |
447 | 461 |
</div> |
448 | 462 |
|
449 |
-<div id="outline-container-org826caa8" class="outline-3"> |
|
450 |
-<h3 id="org826caa8"><span class="section-number-3">2.4</span> Examples</h3> |
|
463 |
+<div id="outline-container-org09e92d6" class="outline-3"> |
|
464 |
+<h3 id="org09e92d6"><span class="section-number-3">2.4</span> Examples</h3> |
|
451 | 465 |
<div class="outline-text-3" id="text-2-4"> |
452 | 466 |
<div class="org-src-container"> |
453 | 467 |
<pre class="src src-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">in-package</span> <span style="font-weight: bold;">:fwoar.todo</span><span style="color: #8c8c8c;">)</span> |
... | ... |
@@ -462,10 +476,10 @@ todo endpoint for a specific ID. |
462 | 476 |
</div> |
463 | 477 |
|
464 | 478 |
<pre class="example"> |
465 |
-(#<hash-table "url": "http://localhost:5000/todo/145", |
|
479 |
+(#<hash-table "url": "http://localhost:5000/todo/163", |
|
466 | 480 |
"title": "get groceries", |
467 | 481 |
"completed": YASON:FALSE> |
468 |
- #<hash-table "url": "http://localhost:5000/todo/146", |
|
482 |
+ #<hash-table "url": "http://localhost:5000/todo/164", |
|
469 | 483 |
"title": "write-better-documentation", |
470 | 484 |
"completed": YASON:FALSE>) |
471 | 485 |
</pre> |
... | ... |
@@ -474,12 +488,12 @@ todo endpoint for a specific ID. |
474 | 488 |
</div> |
475 | 489 |
|
476 | 490 |
|
477 |
-<div id="outline-container-orgba7379a" class="outline-2"> |
|
478 |
-<h2 id="orgba7379a"><span class="section-number-2">3</span> Routing</h2> |
|
491 |
+<div id="outline-container-orgf023b98" class="outline-2"> |
|
492 |
+<h2 id="orgf023b98"><span class="section-number-2">3</span> Routing</h2> |
|
479 | 493 |
<div class="outline-text-2" id="text-3"> |
480 | 494 |
</div> |
481 |
-<div id="outline-container-orgd4959c8" class="outline-3"> |
|
482 |
-<h3 id="orgd4959c8"><span class="section-number-3">3.1</span> Routing utilities</h3> |
|
495 |
+<div id="outline-container-org62738a5" class="outline-3"> |
|
496 |
+<h3 id="org62738a5"><span class="section-number-3">3.1</span> Routing utilities</h3> |
|
483 | 497 |
<div class="outline-text-3" id="text-3-1"> |
484 | 498 |
<p> |
485 | 499 |
The core utility here is the <code>defroutes</code> macro. This takes a |
... | ... |
@@ -489,7 +503,7 @@ routes. |
489 | 503 |
</p> |
490 | 504 |
|
491 | 505 |
<div class="org-src-container"> |
492 |
-<pre class="src src-lisp" id="org4dc3755"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defmacro</span> <span style="color: #8CD0D3;">defroutes</span> <span style="color: #93a8c6;">(</span>app <span style="color: #CC9393;">&body</span> routes<span style="color: #93a8c6;">)</span> |
|
506 |
+<pre class="src src-lisp" id="org2c08451"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defmacro</span> <span style="color: #8CD0D3;">defroutes</span> <span style="color: #93a8c6;">(</span>app <span style="color: #CC9393;">&body</span> routes<span style="color: #93a8c6;">)</span> |
|
493 | 507 |
<span style="color: #93a8c6;">(</span>alexandria:once-only <span style="color: #b0b1a3;">(</span>app<span style="color: #b0b1a3;">)</span> |
494 | 508 |
`<span style="color: #b0b1a3;">(</span>setf |
495 | 509 |
,@<span style="color: #97b098;">(</span><span style="color: #F0DFAF;">loop</span> for <span style="color: #aebed8;">(</span>target . descriptors<span style="color: #aebed8;">)</span> in routes |
... | ... |
@@ -518,14 +532,14 @@ a list of verbs <code>(:GET :POST)</code> in the head of each handler clause. |
518 | 532 |
|
519 | 533 |
|
520 | 534 |
<pre class="example"> |
521 |
-(LET ((#:APP1867 APP)) |
|
522 |
- (SETF (NINGLE/APP:ROUTE #:APP1867 "/" :METHOD METHOD) |
|
535 |
+(LET ((#:APP1876 APP)) |
|
536 |
+ (SETF (NINGLE/APP:ROUTE #:APP1876 "/" :METHOD METHOD) |
|
523 | 537 |
(HANDLER NIL |
524 | 538 |
(TODOS)) |
525 |
- (NINGLE/APP:ROUTE #:APP1867 "/" :METHOD METHOD) |
|
539 |
+ (NINGLE/APP:ROUTE #:APP1876 "/" :METHOD METHOD) |
|
526 | 540 |
(HANDLER (V) |
527 | 541 |
(NEW-TODO V)) |
528 |
- (NINGLE/APP:ROUTE #:APP1867 "/" :METHOD METHOD) |
|
542 |
+ (NINGLE/APP:ROUTE #:APP1876 "/" :METHOD METHOD) |
|
529 | 543 |
(HANDLER NIL |
530 | 544 |
(CLEAR-TODOS)))) |
531 | 545 |
T |
... | ... |
@@ -539,7 +553,7 @@ that all the API results get JSON encoded. |
539 | 553 |
</p> |
540 | 554 |
|
541 | 555 |
<div class="org-src-container"> |
542 |
-<pre class="src src-lisp" id="org2af065f"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">success</span> <span style="color: #93a8c6;">(</span>value<span style="color: #93a8c6;">)</span> |
|
556 |
+<pre class="src src-lisp" id="org21fec3a"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">success</span> <span style="color: #93a8c6;">(</span>value<span style="color: #93a8c6;">)</span> |
|
543 | 557 |
<span style="color: #93a8c6;">(</span>list 200 '<span style="color: #b0b1a3;">(</span><span style="font-weight: bold;">:conent-type</span> <span style="color: #D0BF8F;">"application/json"</span><span style="color: #b0b1a3;">)</span> value<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span> |
544 | 558 |
|
545 | 559 |
<span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defmacro</span> <span style="color: #8CD0D3;">handler</span> <span style="color: #93a8c6;">(</span><span style="color: #b0b1a3;">(</span><span style="color: #CC9393;">&optional</span> <span style="color: #97b098;">(</span>sym <span style="color: #aebed8;">(</span>gensym <span style="color: #D0BF8F;">"PARAMS"</span><span style="color: #aebed8;">)</span><span style="color: #97b098;">)</span><span style="color: #b0b1a3;">)</span> <span style="color: #CC9393;">&body</span> body<span style="color: #93a8c6;">)</span> |
... | ... |
@@ -553,8 +567,8 @@ that all the API results get JSON encoded. |
553 | 567 |
</div> |
554 | 568 |
</div> |
555 | 569 |
|
556 |
-<div id="outline-container-orge718bd4" class="outline-3"> |
|
557 |
-<h3 id="orge718bd4"><span class="section-number-3">3.2</span> todo routes</h3> |
|
570 |
+<div id="outline-container-org9f65218" class="outline-3"> |
|
571 |
+<h3 id="org9f65218"><span class="section-number-3">3.2</span> todo routes</h3> |
|
558 | 572 |
<div class="outline-text-3" id="text-3-2"> |
559 | 573 |
<p> |
560 | 574 |
<code>setup-routes</code> binds the endpoints to handlers: <code>"/"</code> to handlers |
... | ... |
@@ -566,7 +580,7 @@ alist. <code>get-id</code> handles this, and extracts an integer for the id |
566 | 580 |
</p> |
567 | 581 |
|
568 | 582 |
<div class="org-src-container"> |
569 |
-<pre class="src src-lisp" id="org62e314b"><span style="color: #A6A689; background-color: #2B2B2B;">;; </span><span style="color: #A6A689; background-color: #2B2B2B;">routing</span> |
|
583 |
+<pre class="src src-lisp" id="org2d99b0f"><span style="color: #A6A689; background-color: #2B2B2B;">;; </span><span style="color: #A6A689; background-color: #2B2B2B;">routing</span> |
|
570 | 584 |
<span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">defun</span> <span style="color: #8CD0D3;">get-id</span> <span style="color: #93a8c6;">(</span>params<span style="color: #93a8c6;">)</span> |
571 | 585 |
<span style="color: #93a8c6;">(</span>parse-integer <span style="color: #b0b1a3;">(</span>serapeum:assocdr <span style="font-weight: bold;">:id</span> params<span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span> |
572 | 586 |
|
... | ... |
@@ -588,12 +602,12 @@ alist. <code>get-id</code> handles this, and extracts an integer for the id |
588 | 602 |
</div> |
589 | 603 |
</div> |
590 | 604 |
|
591 |
-<div id="outline-container-org92751d4" class="outline-2"> |
|
592 |
-<h2 id="org92751d4"><span class="section-number-2">4</span> Source</h2> |
|
605 |
+<div id="outline-container-org5597baf" class="outline-2"> |
|
606 |
+<h2 id="org5597baf"><span class="section-number-2">4</span> Source</h2> |
|
593 | 607 |
<div class="outline-text-2" id="text-4"> |
594 | 608 |
</div> |
595 |
-<div id="outline-container-org0e64bc9" class="outline-3"> |
|
596 |
-<h3 id="org0e64bc9"><span class="section-number-3">4.1</span> model.lisp source code</h3> |
|
609 |
+<div id="outline-container-org80852ef" class="outline-3"> |
|
610 |
+<h3 id="org80852ef"><span class="section-number-3">4.1</span> model.lisp source code</h3> |
|
597 | 611 |
<div class="outline-text-3" id="text-4-1"> |
598 | 612 |
<div class="org-src-container"> |
599 | 613 |
<pre class="src src-lisp"><span style="color: #A6A689; background-color: #2B2B2B;">;; </span><span style="color: #A6A689; background-color: #2B2B2B;">[[file:~/git_repos/lisp-sandbox/todo/README.org::package-include][package-include]]</span> |
... | ... |
@@ -680,8 +694,8 @@ alist. <code>get-id</code> handles this, and extracts an integer for the id |
680 | 694 |
</div> |
681 | 695 |
</div> |
682 | 696 |
|
683 |
-<div id="outline-container-org4b8ee72" class="outline-3"> |
|
684 |
-<h3 id="org4b8ee72"><span class="section-number-3">4.2</span> routing.lisp source</h3> |
|
697 |
+<div id="outline-container-orgde4e27d" class="outline-3"> |
|
698 |
+<h3 id="orgde4e27d"><span class="section-number-3">4.2</span> routing.lisp source</h3> |
|
685 | 699 |
<div class="outline-text-3" id="text-4-2"> |
686 | 700 |
<div class="org-src-container"> |
687 | 701 |
<pre class="src src-lisp"><span style="color: #A6A689; background-color: #2B2B2B;">;; </span><span style="color: #A6A689; background-color: #2B2B2B;">[[file:~/git_repos/lisp-sandbox/todo/README.org::package-include][package-include]]</span> |
... | ... |
@@ -735,8 +749,8 @@ alist. <code>get-id</code> handles this, and extracts an integer for the id |
735 | 749 |
</div> |
736 | 750 |
</div> |
737 | 751 |
|
738 |
-<div id="outline-container-org9c0e9ef" class="outline-3"> |
|
739 |
-<h3 id="org9c0e9ef"><span class="section-number-3">4.3</span> main.lisp source</h3> |
|
752 |
+<div id="outline-container-org76a7993" class="outline-3"> |
|
753 |
+<h3 id="org76a7993"><span class="section-number-3">4.3</span> main.lisp source</h3> |
|
740 | 754 |
<div class="outline-text-3" id="text-4-3"> |
741 | 755 |
<div class="org-src-container"> |
742 | 756 |
<pre class="src src-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #F0DFAF;">in-package</span> <span style="font-weight: bold;">:fwoar.todo</span><span style="color: #8c8c8c;">)</span> |
... | ... |
@@ -782,7 +796,7 @@ alist. <code>get-id</code> handles this, and extracts an integer for the id |
782 | 796 |
</div> |
783 | 797 |
<div id="postamble" class="status"> |
784 | 798 |
<p class="author">Author: Langley</p> |
785 |
-<p class="date">Created: 2019-08-30 Fri 02:37</p> |
|
799 |
+<p class="date">Created: 2019-08-30 Fri 03:12</p> |
|
786 | 800 |
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p> |
787 | 801 |
</div> |
788 | 802 |
</body> |