Add user-facing documentation
sethaxen opened this issue · 4 comments
Currently the documentation only explains how developers should use the package, but users also need to know how to use it to update preferences. It took me some troubleshooting to figure it out. I think it needs to document the following 2 ways:
set_preferences!
: this requires the user launch a new Julia session if developers implemented preferences with aconst
like in the ReadMe.- add an entry to
LocalPreferences.toml
in the user's environment
It should note that neither of these work with temporary environments, since relaunching loses the environment.
I think the first step would be to actually setup documenter :)
In the meantime can we at least get a link to an example project that uses Preferences.jl?
Also the README should mention that Pkg handling preferences correctly only came into being in v1.8.0
, as mentioned in Preferences/test/PTest/src/PTest do_test()
...
It seems there's another package that aims to provide an interface more suited to interactive use: PreferenceTools.jl.