We should steal stuff from https://github.com/mne-tools/mne-python/blob/master/mne/tests/test_docstring_parameters.py as @agramfort pointed out.