diff --git a/CHANGELOG.md b/CHANGELOG.md index 8428700..770cd0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Many many times faster (x10-x20) for sites with thousands of pages - Add more Emacs temp file to the ignored patterns in `gutenberg serve` - Files starting with `.` are not considered pages anymore even if they end with `.md` +- `_processed_images` folder for image processing has been renamed `processed_images` to avoid issues with GitHub Pages ## 0.4.2 (2018-09-03) diff --git a/components/imageproc/src/lib.rs b/components/imageproc/src/lib.rs index 68a383a..60ed930 100644 --- a/components/imageproc/src/lib.rs +++ b/components/imageproc/src/lib.rs @@ -23,7 +23,7 @@ use utils::fs as ufs; use errors::{Result, ResultExt}; -static RESIZED_SUBDIR: &'static str = "_processed_images"; +static RESIZED_SUBDIR: &'static str = "processed_images"; lazy_static! { pub static ref RESIZED_FILENAME: Regex = Regex::new(r#"([0-9a-f]{16})([0-9a-f]{2})[.]jpg"#).unwrap(); diff --git a/docs/content/documentation/content/image-processing/index.md b/docs/content/documentation/content/image-processing/index.md index a5a37f5..e0246ad 100644 --- a/docs/content/documentation/content/image-processing/index.md +++ b/docs/content/documentation/content/image-processing/index.md @@ -26,7 +26,7 @@ resize_image(path, width, height, op, quality) Gutenberg performs image processing during the build process and places the resized images in a subdirectory in the static files directory: ``` -static/_processed_images/ +static/processed_images/ ``` Resized images are JPEGs. Filename of each resized image is a hash of the function arguments, diff --git a/docs/static/_processed_images/0478482c742970ac00.jpg b/docs/static/processed_images/0478482c742970ac00.jpg similarity index 100% rename from docs/static/_processed_images/0478482c742970ac00.jpg rename to docs/static/processed_images/0478482c742970ac00.jpg diff --git a/docs/static/_processed_images/2b6a3e5a28bab1f100.jpg b/docs/static/processed_images/2b6a3e5a28bab1f100.jpg similarity index 100% rename from docs/static/_processed_images/2b6a3e5a28bab1f100.jpg rename to docs/static/processed_images/2b6a3e5a28bab1f100.jpg diff --git a/docs/static/_processed_images/3dba59a146f3bc0900.jpg b/docs/static/processed_images/3dba59a146f3bc0900.jpg similarity index 100% rename from docs/static/_processed_images/3dba59a146f3bc0900.jpg rename to docs/static/processed_images/3dba59a146f3bc0900.jpg diff --git a/docs/static/_processed_images/5e399fa94c88057a00.jpg b/docs/static/processed_images/5e399fa94c88057a00.jpg similarity index 100% rename from docs/static/_processed_images/5e399fa94c88057a00.jpg rename to docs/static/processed_images/5e399fa94c88057a00.jpg diff --git a/docs/static/_processed_images/63d5c27341a9885c00.jpg b/docs/static/processed_images/63d5c27341a9885c00.jpg similarity index 100% rename from docs/static/_processed_images/63d5c27341a9885c00.jpg rename to docs/static/processed_images/63d5c27341a9885c00.jpg diff --git a/docs/static/_processed_images/63fe884d13fd318d00.jpg b/docs/static/processed_images/63fe884d13fd318d00.jpg similarity index 100% rename from docs/static/_processed_images/63fe884d13fd318d00.jpg rename to docs/static/processed_images/63fe884d13fd318d00.jpg diff --git a/docs/static/_processed_images/8b446e542d0b692d00.jpg b/docs/static/processed_images/8b446e542d0b692d00.jpg similarity index 100% rename from docs/static/_processed_images/8b446e542d0b692d00.jpg rename to docs/static/processed_images/8b446e542d0b692d00.jpg diff --git a/docs/static/_processed_images/ab39b603591b3e3300.jpg b/docs/static/processed_images/ab39b603591b3e3300.jpg similarity index 100% rename from docs/static/_processed_images/ab39b603591b3e3300.jpg rename to docs/static/processed_images/ab39b603591b3e3300.jpg diff --git a/docs/static/_processed_images/d91d0751df06edce00.jpg b/docs/static/processed_images/d91d0751df06edce00.jpg similarity index 100% rename from docs/static/_processed_images/d91d0751df06edce00.jpg rename to docs/static/processed_images/d91d0751df06edce00.jpg diff --git a/docs/static/_processed_images/e690cdfaf053bbd700.jpg b/docs/static/processed_images/e690cdfaf053bbd700.jpg similarity index 100% rename from docs/static/_processed_images/e690cdfaf053bbd700.jpg rename to docs/static/processed_images/e690cdfaf053bbd700.jpg