revert: revert: build: finish replacing paver assets

This reverts commit 4c0284b87d.
This commit is contained in:
Kyle D. McCormick
2024-05-06 14:50:17 -04:00
committed by Kyle McCormick
parent 37bcb767b0
commit 21a1235a28
9 changed files with 382 additions and 640 deletions

View File

@@ -67,14 +67,12 @@ NORMALIZED_ENVS = {
"theme_dirs",
metavar="PATH",
multiple=True,
envvar="EDX_PLATFORM_THEME_DIRS",
type=click.Path(
exists=True, file_okay=False, readable=True, writable=True, path_type=Path
),
envvar="COMPREHENSIVE_THEME_DIRS",
type=click.Path(path_type=Path),
help=(
"Consider sub-dirs of PATH as themes. "
"Multiple theme dirs are accepted. "
"If none are provided, we look at colon-separated paths on the EDX_PLATFORM_THEME_DIRS env var."
"If none are provided, we look at colon-separated paths on the COMPREHENSIVE_THEME_DIRS env var."
),
)
@click.option(

View File

@@ -4,11 +4,11 @@
# Invoke from repo root as `npm run watch-sass`.
# By default, only watches default Sass.
# To watch themes too, provide colon-separated paths in the EDX_PLATFORM_THEME_DIRS environment variable.
# To watch themes too, provide colon-separated paths in the COMPREHENSIVE_THEME_DIRS environment variable.
# Each path will be treated as a "theme dir", which means that every immediate child directory is watchable as a theme.
# For example:
#
# EDX_PLATFORM_THEME_DIRS=/openedx/themes:./themes npm run watch-sass
# COMPREHENSIVE_THEME_DIRS=/openedx/themes:./themes npm run watch-sass
#
# would watch default Sass as well as /openedx/themes/indigo, /openedx/themes/mytheme, ./themes/red-theme, etc.