d2l-en
d2l-en copied to clipboard
Remember a user's framework selection?
Hello! I'm wondering if it would be a nice convenience for the user if the website remembered their preferred framework (mxnet, pytorch, tensorflow) across pages or even across sessions. I would be happy to contribute if this is a good idea.
I'm not sure how the routing is done, but maybe there would be a way to save some local state in JS or in the URL within a session. Or this could be done across sessions through cookies or local storage (but tbh I don't like the idea of having to add a GDPR cookie warning).
Keep up the awesome work!!
Thanks and this sounds a nice feature to have! FYI, the entire website is built using sphinx: https://github.com/d2l-ai/d2l-book/blob/master/d2lbook/build.py#L307
Yes please, add a cookie or another persistent setting for that :-)