Maybe the thing to do would be to have a generic link to the docs on every page, then if there are specific docs, convert the link to a dropdown menu with generic and one or more specific links. What do you reckon @dplatten?
More complex code required on each template now, but better I think to have both generic and specific available. Refs #305
A thought just crossed my mind: it's possible that some OpenREM users will install the system on an internal network which has no internet access. The document links won't work for them. @edmcdonagh, do you think this is likely / matters?
I went through that thought process too. I know there are users where the server doesn't have internet access, because they've had terrible trouble installing from pip etc.
However, even when the server has no internet access, the user might on the PC they are accessing it from.
But that will still leave people who are on networks that are very locked down.
The solution to this would be for an option to download from RTD and install the docs on the server, then allowing a configuration of where they are. Probably in local_settings.py. Not sure I have the appetite for doing that this time around... do you?
Otherwise we can add it as a future enhancement!
That sounds fine to me. Let's add the local docs as a future enhancement.
Added docs to the filtered base template and home. Refs #305