Ms remove dist dir#1164
Conversation
| # | ||
| !dist/ | ||
| dist/ | ||
| dist-gem/ |
There was a problem hiding this comment.
Remove dist-gem/, as it has been removed and is no longer maintained. See 18F/us_web_design_standards_gem#15 (comment)
|
Nice work and good start! A few notes from my initial pass:
//cc @rogeruiz would be great to get your 👀 on this too! |
|
@juliaelman I'm not actually sure what would need to happen in your second point, |
|
@juliaelman @msecret I can see the confusion around the
🐣 : This would keep it inline with being a temporary directory. This would also affect where we store the I'm not sure if going the route of updating the name from All of the above taken into account, the The original intent around the Because so much of the pipeline is dependent on the |
|
@rogeruiz thanks for your thoughts on the directory structure! I spoke with @msecret about this to get a better understanding of the intended goals are for this pull request. Here are some of the answers:
Also, thanks all for touching base this morning too! Sounds like we are moving forward, adding some documentation via another PR and working on some fixes. |
910fde1 to
8fe2624
Compare
The src sass is not being copied over into the `docs` folder anymore. This was done by using the `load_paths` option in the jekyll config which allows to set a path outside of the docs dir. With this, one load path is set to src/stylesheets. The references in homepage.scss and styleguide.scss are both changes to "all" so they import directly from src. This means the website always consumes the version of the standards in the src directory. TODO: This doesn't use the WDS in a way that a user of them would as it's a bit of a hack around things.
This will let us ignore the whole docs/assets folder
This allows us to ignore the whole assets directory Also updates gitignore to reflect that change
This new flow is - Copy one js, all fonts and images from `dist` to `docs/assets`. - Copy all from `docs/docs_assets/` to `doc/assets`. - Run through rest of build, everything should exist now in `docs/assets/`.
8fe2624 to
b924ee8
Compare
|
💯 |
First draft of attempt to remove dist directory
docs/doc_assetsholds all js, css, img and font assets that are specific to the docs site and not WDS.distdirectory is build before doing anything with docs/website tasks.disttodocs/assets/docs/doc_assets/todocs/assetssrc/stylesheetsforscsspaths, andhomepage.scssandstyleguide.scss@importall.scssfrom this dir rather then a copied over file.docs/assets.docs/assetsanddist.