@classmethod
def _add_public_directory(cls, config, relative_path):
    """Add a path to the :ref:`extra_public_paths` config setting.

        The path is relative to the file calling this function.

        """
    cls._add_served_directory(config, relative_path, 'extra_public_paths')
