Currently the docs include Bootstrap's built CSS via css-copy
task, duplicating the dist/css/
directory into site/static/docs/4.3/dist/css/
. This task is currently busted in master
for some reason, but it reminded me that there's likely a simpler way.
We already import the functions, variables, and mixins into docs.scss
—so why not simply include all of Bootstrap? That's what this PR suggests. We're still generating the dist files, but this reduces the number of stylesheets in our docs and saves some npm tasks.
Any concerns about doing it this way? I'm not 100% sure yet, but doing this might mean I'm currently missing some tasks that get run on the dist
copy but not the docs
copy? And what about dist/js/
—can we make the same improvements somehow?