From 2162d06e7c8bca58a326b051c51d1eab7c0a2a79 Mon Sep 17 00:00:00 2001 From: synicalsyntax <15116870+synicalsyntax@users.noreply.github.com> Date: Wed, 23 Jan 2019 16:15:29 -0800 Subject: [PATCH] docs: Document custom icon webfont subsystem in Frontend build processes. --- docs/subsystems/front-end-build-process.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/subsystems/front-end-build-process.md b/docs/subsystems/front-end-build-process.md index a9610d56df..ae465ab171 100644 --- a/docs/subsystems/front-end-build-process.md +++ b/docs/subsystems/front-end-build-process.md @@ -45,9 +45,15 @@ add it to the appropriate place under `static/`. `static/third/`. Tag the commit with "[third]" when adding or modifying a third-party package. Our goal is to the extent possible to eliminate patched third-party code from the project. - - Our own JavaScript lives under `static/js`; Typescript files live under - static/ts; CSS lives under `static/styles`. Portico JavaScript ("portico" means - for logged-out pages) lives under `static/js/portico`. +- Our own JavaScript lives under `static/js`. +- Typescript files live under `static/ts`. +- CSS lives under `static/styles`. +- Portico JavaScript ("portico" means for logged-out pages) lives under + `static/js/portico`. +- Custom SVG graphics living under `static/assets/icons` are compiled into + custom icon webfonts that live under `static/generated/icons/fonts` by + `tools/setup/generate-custom-icon-webfont` according to the + `static/icons/fonts/template.hbs` template. After you add a new JavaScript file, it needs to be imported by another file or specified in the `entries` dictionary defined in