diff options
| author | Louis Maddox <lmmx@users.noreply.github.com> | 2021-07-18 18:50:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-18 18:50:50 +0100 |
| commit | 793fd2e9fc27360e916084ee88499c4d92ca95e0 (patch) | |
| tree | cc11e80feb6c96b68ec88e0f7fd22651e4ae6eb5 /sphinx/registry.py | |
| parent | 29b20ff74268abdc3cd634a276c9ac378b417403 (diff) | |
| download | sphinx-git-793fd2e9fc27360e916084ee88499c4d92ca95e0.tar.gz | |
Improve sphinx.registry docstrings
Diffstat (limited to 'sphinx/registry.py')
| -rw-r--r-- | sphinx/registry.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sphinx/registry.py b/sphinx/registry.py index 093010700..b5f486aae 100644 --- a/sphinx/registry.py +++ b/sphinx/registry.py @@ -467,7 +467,9 @@ class SphinxComponentRegistry: def merge_source_suffix(app: "Sphinx", config: Config) -> None: - """Merge source_suffix which specified by user and added by extensions.""" + """ + Merge any user-specified source_suffix with any added by extensions. + """ for suffix, filetype in app.registry.source_suffix.items(): if suffix not in app.config.source_suffix: app.config.source_suffix[suffix] = filetype |
