SmilyOrg / photofield

Experimental fast photo viewer.
MIT License
398 stars 7 forks source link

Add PHOTOFIELD_DOCS_PATH for rewriting paths #92

Closed SmilyOrg closed 6 months ago

SmilyOrg commented 6 months ago

This pull request adds the PHOTOFIELD_DOCS_PATH environment variable to the codebase. The variable is used to rewrite paths in the documentation files.

This enables the same deployment to both host the demo on demo.photofield.dev, but also the docs website on photofield.dev 😁

Is this a good idea? Probably not, but is it a cool idea? Yes, yes it is!