Bug #19201
closed
- Status changed from New to In Progress
ready for review at 1133c17437e018884fc32c554844e1c7dda76b27 on branch 19201-doc-warning-old-version
This assumes an update to the Apache config like this:
<DirectoryMatch "/var/www/doc.arvados.org/(?<version>v[0-9]+\.[0-9]+)/">
<If "file('/var/www/doc.arvados.org/latest') != %{env:MATCH_VERSION}" >
AddOutputFilter Sed html
OutputSed "s/style=\"display: none;\" id=\"old-version-warning/style=\"display: initial;\" id=\"old-version-warning/g"
</If>
</DirectoryMatch>
and also that the /usr/local/bin/update-doc.arvados.org.sh
script populates /var/www/doc.arvados.org/latest
. These changes have already been made on the public server.
I also described the setup at https://dev.arvados.org/projects/ops/wiki/Docarvadosorg
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados-private:commit:arvados|43963b16c532c1dfc473be136a1f03c633308100.
Also available in: Atom
PDF