p5.js-website
p5.js-website copied to clipboard
Why are the reference assets buried in the templates section?
I didn't expect to find the assets for the reference section in the /src/templates/pages/reference/ directory.
Would this not be better in /src/data/reference/ ?
It is more or a legacy thing than any other particular reason. If reorganizing it will make things clearer I'm happy to see that.
Would it be better in /src/data/reference?
The example assets are stored in /src/data/examples .
Then remove the duplicate set in /src/offline-reference .
I feel moving it to /src/data/reference
is still a bit arbitrary and not intuitive. It would be nice if we can consolidate assets for the website (including reference and examples) into one place then reference examples and examples examples can even share the same assets.
Thanks @takyano and @limzykenneth for the conversation. I think it's a great idea to investigate a more consolidated folder structure. Wondering if the Reference steward @Divyansh013 and Example stewards @Malayvasa @tyler-yin @3ru have any thoughts about it?