-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
awaiting:responseWaiting for a response from the author of this issueWaiting for a response from the author of this issuebuildertype:proposala feature suggestiona feature suggestion
Description
Is your feature request related to a problem? Please describe.
For particularly large project with many resource files, maintaining assets is a waste of disk space and prolongs build times.
Describe the solution you'd like
I have two proposed solutions:
- A configuration option called
html_use_symlink = True
to symlink_static
->build/html/_static
instead of copying - A configuration option called
html_respect_symlink
to copy the _static directory while preserving symlinks (i.e.cp -P
behavior)
Describe alternatives you've considered
- Manual symlink files - error prone and tedious
- Overriding
copy_static_files()
orcopy_asset_file()
orcopy_asset()
- fragile
Some cons to the symlink approach is compatibility with Windows, hence the flags which can allow a user to turn off symlinks.
Metadata
Metadata
Assignees
Labels
awaiting:responseWaiting for a response from the author of this issueWaiting for a response from the author of this issuebuildertype:proposala feature suggestiona feature suggestion