benschwarz / bonsai

A tiny static web site generator
http://tinytree.info/
MIT License
297 stars 39 forks source link

Why a docs/ directory with /css & /js dirs inside ? #4

Closed kematzy closed 14 years ago

kematzy commented 14 years ago

I don't understand the logic behind storing css & js dirs inside a docs directory as well.

"docs" is commonly used for documentation (ie: rdocs etc), while "css" & "js" are commonly used at the root of the server.

Is it an implementation issue, or just your preference?

benschwarz commented 14 years ago

"docs" doesn't refer to "documentation", in this case it refers to "documents". Its an old habit that I have with small web sites to keep the public area cleaner.

While this is what the generator gives you, you're free to do whatever you like.