check explicitly for 'dev' before adding the note to docs

allows 'maint' suffix (or similar) for the maintenance branches,
so they don't get the note on every page.
Merge pull request #5503 from minrk/dev-note

check explicitly for 'dev' before adding the note to docs