From 17de3c9a977c2f8efcefa13f491ccd5541870199 Mon Sep 17 00:00:00 2001 From: Vojtech Kral Date: Sun, 24 Jun 2018 22:21:33 +0200 Subject: [PATCH] imageproc: Rename `_resized_images` as `_processed_images` --- components/imageproc/src/lib.rs | 2 +- .../documentation/content/image-resizing/index.md | 2 +- .../09c08ee3f954d0c100.jpg | Bin .../28c11b70e6d31a8400.jpg | Bin .../42758a649ef513b600.jpg | Bin .../4df81a7c614e5cc000.jpg | Bin .../6320cb783d4be30e00.jpg | Bin .../6e0991f475d665df00.jpg | Bin .../72d0be8c5e35e50f00.jpg | Bin .../78e4b442f0b0cbf700.jpg | Bin .../792676f9505fb47700.jpg | Bin .../b12c7fc72d2815e700.jpg | Bin 12 files changed, 2 insertions(+), 2 deletions(-) rename docs/static/{_resized_images => _processed_images}/09c08ee3f954d0c100.jpg (100%) rename docs/static/{_resized_images => _processed_images}/28c11b70e6d31a8400.jpg (100%) rename docs/static/{_resized_images => _processed_images}/42758a649ef513b600.jpg (100%) rename docs/static/{_resized_images => _processed_images}/4df81a7c614e5cc000.jpg (100%) rename docs/static/{_resized_images => _processed_images}/6320cb783d4be30e00.jpg (100%) rename docs/static/{_resized_images => _processed_images}/6e0991f475d665df00.jpg (100%) rename docs/static/{_resized_images => _processed_images}/72d0be8c5e35e50f00.jpg (100%) rename docs/static/{_resized_images => _processed_images}/78e4b442f0b0cbf700.jpg (100%) rename docs/static/{_resized_images => _processed_images}/792676f9505fb47700.jpg (100%) rename docs/static/{_resized_images => _processed_images}/b12c7fc72d2815e700.jpg (100%) diff --git a/components/imageproc/src/lib.rs b/components/imageproc/src/lib.rs index 09941e7..9a08c8f 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 = "_resized_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-resizing/index.md b/docs/content/documentation/content/image-resizing/index.md index d444216..8e0d326 100644 --- a/docs/content/documentation/content/image-resizing/index.md +++ b/docs/content/documentation/content/image-resizing/index.md @@ -26,7 +26,7 @@ The function usage is as follows: Gutenberg performs image processing during the build process and places the resized images in a subdirectory in the static files directory: - static/_resized_images/ + static/_processed_images/ Resized images are JPEGs. Filename of each resized image is a hash of the function arguments, which means that once an image is resized in a certain way, it will be stored in the above directory and will not diff --git a/docs/static/_resized_images/09c08ee3f954d0c100.jpg b/docs/static/_processed_images/09c08ee3f954d0c100.jpg similarity index 100% rename from docs/static/_resized_images/09c08ee3f954d0c100.jpg rename to docs/static/_processed_images/09c08ee3f954d0c100.jpg diff --git a/docs/static/_resized_images/28c11b70e6d31a8400.jpg b/docs/static/_processed_images/28c11b70e6d31a8400.jpg similarity index 100% rename from docs/static/_resized_images/28c11b70e6d31a8400.jpg rename to docs/static/_processed_images/28c11b70e6d31a8400.jpg diff --git a/docs/static/_resized_images/42758a649ef513b600.jpg b/docs/static/_processed_images/42758a649ef513b600.jpg similarity index 100% rename from docs/static/_resized_images/42758a649ef513b600.jpg rename to docs/static/_processed_images/42758a649ef513b600.jpg diff --git a/docs/static/_resized_images/4df81a7c614e5cc000.jpg b/docs/static/_processed_images/4df81a7c614e5cc000.jpg similarity index 100% rename from docs/static/_resized_images/4df81a7c614e5cc000.jpg rename to docs/static/_processed_images/4df81a7c614e5cc000.jpg diff --git a/docs/static/_resized_images/6320cb783d4be30e00.jpg b/docs/static/_processed_images/6320cb783d4be30e00.jpg similarity index 100% rename from docs/static/_resized_images/6320cb783d4be30e00.jpg rename to docs/static/_processed_images/6320cb783d4be30e00.jpg diff --git a/docs/static/_resized_images/6e0991f475d665df00.jpg b/docs/static/_processed_images/6e0991f475d665df00.jpg similarity index 100% rename from docs/static/_resized_images/6e0991f475d665df00.jpg rename to docs/static/_processed_images/6e0991f475d665df00.jpg diff --git a/docs/static/_resized_images/72d0be8c5e35e50f00.jpg b/docs/static/_processed_images/72d0be8c5e35e50f00.jpg similarity index 100% rename from docs/static/_resized_images/72d0be8c5e35e50f00.jpg rename to docs/static/_processed_images/72d0be8c5e35e50f00.jpg diff --git a/docs/static/_resized_images/78e4b442f0b0cbf700.jpg b/docs/static/_processed_images/78e4b442f0b0cbf700.jpg similarity index 100% rename from docs/static/_resized_images/78e4b442f0b0cbf700.jpg rename to docs/static/_processed_images/78e4b442f0b0cbf700.jpg diff --git a/docs/static/_resized_images/792676f9505fb47700.jpg b/docs/static/_processed_images/792676f9505fb47700.jpg similarity index 100% rename from docs/static/_resized_images/792676f9505fb47700.jpg rename to docs/static/_processed_images/792676f9505fb47700.jpg diff --git a/docs/static/_resized_images/b12c7fc72d2815e700.jpg b/docs/static/_processed_images/b12c7fc72d2815e700.jpg similarity index 100% rename from docs/static/_resized_images/b12c7fc72d2815e700.jpg rename to docs/static/_processed_images/b12c7fc72d2815e700.jpg