Skip to content

Commit

Permalink
πŸ‘Œ Improve logging for static file copies (#992)
Browse files Browse the repository at this point in the history
Only report file names
  • Loading branch information
chrisjsewell committed Aug 28, 2023
1 parent 87d326e commit 8b68f20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sphinx_needs/environment.py
Expand Up @@ -102,7 +102,8 @@ def find_css_files() -> Iterable[Path]:
files_to_copy,
"Copying static files for sphinx-needs custom style support...",
brown,
len(files_to_copy),
length=len(files_to_copy),
stringify_func=lambda x: Path(x).name,
):
source_file_path = Path(source_file_path)

Expand Down Expand Up @@ -138,6 +139,8 @@ def install_static_files(
files_to_copy,
message,
brown,
length=len(files_to_copy),
stringify_func=lambda x: Path(x).name,
):
source_file = Path(source_file_path)

Expand Down

0 comments on commit 8b68f20

Please sign in to comment.