Rename assets-hugo directory to assets (#3259)

Now that we've dropped the old build pipeline (and an assets directory does not exist in the repo any longer, we can rename the hugo version of the assets (assets-hugo) created during the build tools migration back to simply assets.
This commit is contained in:
Andrew Morgan 2022-01-06 10:34:56 +00:00 committed by Richard van der Hoff
parent 7e92964dc5
commit a8f7723fe5
6 changed files with 2 additions and 8 deletions

2
.gitignore vendored
View file

@ -1,6 +1,4 @@
node_modules node_modules
/assets
/assets.tar.gz
/data/msc /data/msc
/env* /env*
/resources /resources

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

View file

@ -12,10 +12,6 @@ theme = ["docsy"]
disableKinds = ["taxonomy", "taxonomyTerm"] disableKinds = ["taxonomy", "taxonomyTerm"]
# Change the default for assets, because the old Python toolchain uses "assets" for build output.
# When the old toolchain is retired we can switch back to the default here.
assetDir = "assets-hugo"
[languages] [languages]
[languages.en] [languages.en]
title = "Matrix Specification" title = "Matrix Specification"

View file

@ -22,7 +22,7 @@ python3 download_google_fonts_css.py \
Which would pop out a `Inter.css` file that should be `@import url("Inter.css")`d Which would pop out a `Inter.css` file that should be `@import url("Inter.css")`d
somewhere in the site's SCSS (currently in somewhere in the site's SCSS (currently in
[/assets-hugo/scss/_variables_project.scss](/assets-hugo/scss/_variables_project.scss)). [/assets/scss/_variables_project.scss](/assets/scss/_variables_project.scss)).
Re-running the script and committing any new files is only necessary when a desired Re-running the script and committing any new files is only necessary when a desired
font updates (not very often), or we want to change the font we're using. In that case, font updates (not very often), or we want to change the font we're using. In that case,