yshng / canonize

syllabus generation, management, and more??
https://yshng.github.io/canonize/
0 stars 0 forks source link

How to run? #3

Open kfogel opened 3 months ago

kfogel commented 3 months ago

I notice there's now a script.ts and a script.js. Which one is the correct entry point to running this? I.e., what command would I invoke to generate some HTML from sample.json?

Also, what is the generated.html file? It looks like a stub -- it doesn't appear to be generated from sample.json, since it's missing most of the information in sample.json.

yshng commented 3 months ago

Right now generated.html runs script.js (which is compiled from script.ts) to fetch sample.json and generate the full syllabus.

yshng commented 3 months ago

I've added a link to index.html to open generated.html and run the script. The GitHub Pages link is now handily in the repo About section.

kfogel commented 3 months ago

Aaaaaaaaahhhhhhhhhhhhhh, thank you! I just visited and saw the generated HTML. Very nice!