docs
docs copied to clipboard
[Do not merge] Testing PR for contributors: Remove generated images folder from source control
Testing directions for contributors
- Navigate to your local docs repository on your computer in your terminal.
- Pull down this PR:
git fetch upstream && git checkout --track upstream/remove-resources-contributor-test
- Remove your locally-generated images from the docs repo:
rm -rf resources/_gen/images/
- Try building Hugo. If successful, this will take longer than Hugo builds in the past, probably between 5-10 minutes. This is because it is regenerating images into the
resources/_gen/images/
directory. Subsequent builds of Hugo will not take as long, because the images cache will still exist on your computer.hugo
- If Hugo produces a fatal build error (for example, a time-out error), please copy that and report it to Andy and/or paste it as a comment on this PR.
Thank you!
About this PR
This branch removes the generated resources directory from version control.
As a result of this change, Hugo will take longer to build on your computer the first time it is run because it will need to rebuild the image cache. On subsequent builds, Hugo should take less time to run because the cache will be present on your computer. The repo should also be faster to clone when you first download it.
This branch can be pulled down by contributors to test whether or not there are any problems with building Hugo for them without the generated images folder.
✔️ Deploy Preview for nostalgic-ptolemy-b01ab8 ready!
🔨 Explore the source changes: 4de87ebe8b6f39bfda16c45e68425e6740696d95
🔍 Inspect the deploy log: https://app.netlify.com/sites/nostalgic-ptolemy-b01ab8/deploys/62224689b26ece0007920d26
😎 Browse the preview: https://deploy-preview-5245--nostalgic-ptolemy-b01ab8.netlify.app