:confval:`templates_path` is automatically added to :confval:`exclude_patterns` to avoid reading autosummary rst templates in the templates directory. Closes #1543