Skip to content

Commit

Permalink
don't totally exclude doc-cheat-sheet*
Browse files Browse the repository at this point in the history
There might be projects (like LXD ...) that have a "doc-cheat-sheet*"
file as part of their documentation.
Therefore, we shouldn't exclude this file in conf.py (which projects
shouldn't modify), but in custom_conf.py.

Signed-off-by: Ruth Fuchss <[email protected]>
  • Loading branch information
ru-fu committed Sep 22, 2023
1 parent 3c470f6 commit 492284b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
'Thumbs.db',
'.DS_Store',
'.sphinx',
'doc-cheat-sheet*',
]
exclude_patterns.extend(custom_excludes)

Expand Down
4 changes: 3 additions & 1 deletion custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@
custom_extensions = []

# Add files or directories that should be excluded from processing.
custom_excludes = []
custom_excludes = [
'doc-cheat-sheet*',
]

# Add CSS files (located in .sphinx/_static/)
custom_html_css_files = []
Expand Down

0 comments on commit 492284b

Please sign in to comment.