Q:

Displaying a Block on 2nd level pages but not 3rd level

I have a block that I would like to only display on documents/* but not on /documents//.
I have set 'Show block on specific pages - only the listed pages' 'documents/*' but this displays the block on all children of documents. 
How do I set it to only display on documents/company (etc) and not documents/company/board?

A:

The drupal.org/project/context module can do this. In addition to the typical wildcard * operator ... its Path conditions support a Not operator ~.

