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.
pull/977/head
Andrew Morgan 2 years ago committed by Richard van der Hoff
parent 7e92964dc5
commit a8f7723fe5

2
.gitignore vendored

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

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -12,10 +12,6 @@ theme = ["docsy"]
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.en]
title = "Matrix Specification"

@ -22,9 +22,9 @@ python3 download_google_fonts_css.py \
Which would pop out a `Inter.css` file that should be `@import url("Inter.css")`d
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
font updates (not very often), or we want to change the font we're using. In that case,
remove the existing font files at `/static/fonts/*.woff2` and re-run the script with a
different URL.
different URL.

Loading…
Cancel
Save