There is a TODO at the starting of index.html which wants us to implement automation to add links to the demos.
I am thinking, that we can have a demos.json
file of sorts which will contain an array of objects, each of them containing the title
and path/to/demo.html
[
{
"title" : "fhir-status",
"link": "demos/fhir-status.html"
},
{
"title" : "fhir-appointment",
"link": "demos/fhir-appointment.html"
},
...
]
Initially, we can make this file manually, and write a script for index.html
to use this array of objects to generate the <li/>
s.
Then we can automate the addition of these objects in the file.