The blog for Boot.dev, which can be found at https://blog.boot.dev.
You can read the license here. In short, we made this repo public to give students transparent visibility into our code for educational purposes. We do not allow you to distribute this code or content for your own purposes or for use in your own projects, and we retain the copyright to the code regardless of any contributions made.
Make sure you have yarn
and the latest version of hugo installed on your local machine.
yarn install
yarn serve
- Spellchecker by Michael Vernier
- Markdown All in One by Yu Zhang
- Eslint by Microsoft
In one terminal start the server on localhost:1313
yarn serve
Then run the check in another terminal:
make buildscripts && ./bin/linkcheck
It will print any issues.
Use the following scripts to manage global shortcodes.
make buildscripts
./bin/addshorts SHORTCODE SECTION_NUMBER
./bin/rmshorts SHORTCODE
./bin/rmshorts cta1
./bin/rmshorts cta2
./bin/rmshorts cta3
./bin/addshorts cta1 2
./bin/addshorts cta2 4
./bin/addshorts cta3 8
Place original images go in the raw/
directory.
Create a directory static/img/X
where X
is the max width of the new images.
yarn image-min
This resizes all the images and places them in the new folder.
Delete the raw images.
Add .docx
file to docx/
directory.
./scripts/docxmd.sh path_to_docx