ruricolist / spinneret

Common Lisp HTML5 generator
MIT License
369 stars 26 forks source link

Export `*html-path*` #77

Closed aartaka closed 1 year ago

aartaka commented 1 year ago

This exports *html-path*, the variable that the HTML path is stored in. It's useful for Spinneret-generated code split into several functions and in generally belonging to different places.

There are tests and documentation for it. But then, the documentation seems to duplicate the one from get-html-path section. Do these sections (get-html-path and *html-path*) need to be merged? Maybe remove the get-html-path section (and the function itself?)

ruricolist commented 1 year ago

I'd rather not remove get-html-path. There should be mention in the readme that html-path's default value has dynamic extent

ruricolist commented 1 year ago

Merged, thanks.

aartaka commented 1 year ago

Thanks for documentation fixup :sweat_smile: