Can you add a description of what `galaxy_dir` is and what `sections` is.

Another thing that might be good to add `Notes: Raises ValueError ....` at the end of the doc string.