Do we want to enforce that this directive comes at the beginning or end of the docstring:
```python
pydoc.getdoc(func).startswith('.. shownumpydoc')
```
or
```python
pydoc.getdoc(func).endswith('.. shownumpydoc')
```
instead of allowing it to appear anywhere in the docstring (as it is currently implemented)?