Commit Graph

218 Commits

Author SHA1 Message Date
Don Cross
91aafeaba7 Starting to add Python demo programs.
Created skeleton test harness for validating the demo programs.
Created stub moonphase.py.
Copied correct demo program outputs from nodejs; will tweak as needed.
Call the Python demo test harness from the 'run' script.
2019-07-26 16:49:48 -04:00
Don Cross
1b0ba300d8 Removed all references to GitHub Pages, because it has been disabled.
I'm not going to use GitHub Pages after all, because it is
causing more problems than it is helping. All I really wanted
was a way to host live JavaScript browser examples.
I will find my own way of hosting just those.

The main problem is that GitHub pages uses a different flavor
of Markdown than GitHub. This makes it really difficult to get
something that works right across both.  In general, it doubles
how much stuff I have to look at when I make a cosmetic change.

So I have already turned off GitHub Pages on this repo,
and this commit removes all links and references to it.
2019-07-09 19:49:28 -04:00
Don Cross
9e4c340f60 Added link to culminate.js in nodejs example markdown. Enhanced comments. 2019-06-18 15:41:04 -04:00
Don Cross
a205fcbcb7 Added node.js example for how to calculate culmination. 2019-06-18 15:28:47 -04:00
Don Cross
0e0bac95ce Added nodejs seasons test. 2019-06-16 21:30:53 -04:00
Don Cross
5e755fe894 Fixed warnings found by lgtm. 2019-06-16 13:47:10 -04:00
Don Cross
7f542cb5c7 Added test of riseset.js example program. 2019-06-15 15:50:54 -04:00
Don Cross
bffce01bb3 Added node.js example of calculating sunrise, sunset, moonrise, moonset. 2019-06-15 15:45:56 -04:00
Don Cross
480a7d44f1 Added browser demo for calculating sunrise, sunset, moonrise, moonset. 2019-06-15 15:12:28 -04:00
Don Cross
d476465b6d Actually test moonphase.js and moonphase.c. Test after generating code. 2019-06-13 21:38:27 -04:00
Don Cross
58fa90a0bf Reworked tests of C examples.
Moved test files into separate test directory (cleaner).
Make C and nodejs 'position' tests generate identical output.
2019-06-13 21:04:45 -04:00
Don Cross
4061aa6b58 Added nodejs example 'positions.js'.
Unit test the calculations and fail if output deviates.
2019-06-13 20:37:43 -04:00
Don Cross
ece698e9f2 Use relative links. Minor style changes. 2019-06-12 17:47:08 -04:00
Don Cross
a47e2e1bff Link Node.js examples directly to GitHub repo to have better view of the source code. 2019-05-13 21:22:23 -04:00
Don Cross
36f55d272a Added moon phase example for Node.js. 2019-05-13 16:58:34 -04:00
Don Cross
30ab57d6a0 Fixed incorrect link. 2019-05-13 14:58:32 -04:00
Don Cross
4ae1626615 I had Node.js, browser docs backwards. 2019-05-13 14:52:20 -04:00
Don Cross
8cd6b421b6 Split JS examples into separate pages for Node.js and browser. 2019-05-13 14:44:05 -04:00