Skip to content

Commit

Permalink
Add idea
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun-menon committed Sep 11, 2024
1 parent 5337f34 commit 82d5774
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ideas.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@ Flexible Static Site Generator
- [x] Rebuild automatically with a fs watching library.
- [x] Implement a `skip` config var.
- [x] Document most built-in functions.
- [x]
- [x]
- [x]
- [x]
- [x]

---

* Top 2:
* A `--dev` flag with supports auto-refresh, using an approach similar to: https://github.com/baalimago/wd-41/blob/main/internal/wsinject/delta_streamer.ws.go
* A `--zip` flag that create a zip file of the outputted website, with a special `_raw` directory in there containing the raw source code of the website as well (or maybe that should be a separate option, or sub-option).
* Also, the `--dev` flag serve the site. E.g. see: https://stackoverflow.com/questions/33028624/run-python-httpserver-in-background-and-continue-script-execution
* Add a trailing `/` slash for Markdown page dirs since: (a) if a Markdown page is turned into a dir/collection of smaller essays, this would allow that change to happen naturally/seamlessly, and (b) since many web servers including the one used by GH pages add a trailing `/` slash to directories using a 301 Redirect anyways.
* Caching in the GitHub action. See:
Expand Down

0 comments on commit 82d5774

Please sign in to comment.