I am trying to publish my first d3 bl.ock, using gist via the web interface (not terminal). My gist consists of 3 files: an index.html, a .js file, and a json file. I am trying to work from other gist examples which use index.html + auxiliary files. Somehow, other authors are able to add files which serve the index.html. But when I try it, here is what happens:
Step 1. Make a gist and submit the index.html file. This shows up on bl.ock.org/myname/newgistnumber. So far so good.
Step 2: Add a file (for example, the json data file) to my index.html and update the gist. Now the index.html is renamed as whatever my latest file addition was (e.g. "myjson.json"), making my bl.ock unusable. What error am I making? Thanks for your advice.