Remove static button in docs sidebar if none
Merge pull request #2206 from probins/nostatic

Remove static button in docs sidebar if none