From 46e655e1ba0f107525e449051631cd4488cca558 Mon Sep 17 00:00:00 2001 From: DarthSim Date: Fri, 18 Jun 2021 19:13:56 +0600 Subject: [PATCH] Netlify docs --- CHANGELOG.md | 24 ++++++++++++------------ docs/index.html | 1 + netlify.toml | 9 +++++++++ 3 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 netlify.toml diff --git a/CHANGELOG.md b/CHANGELOG.md index f8ba3eea..d51e7fa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,11 +30,11 @@ ### Added - AVIF support. - Azure Blob Storage support. -- `IMGPROXY_STRIP_COLOR_PROFILE` config and [strip_color_profile](https://docs.imgproxy.net/#/generating_the_url_advanced?id=strip-color-profile) processing option. +- `IMGPROXY_STRIP_COLOR_PROFILE` config and [strip_color_profile](https://docs.imgproxy.net/generating_the_url_advanced?id=strip-color-profile) processing option. - `IMGPROXY_FORMAT_QUALITY` config. -- `IMGPROXY_AUTO_ROTATE` config and [auto_rotate](https://docs.imgproxy.net/#/generating_the_url_advanced?id=auto-rotate) processing option. -- [rotate](https://docs.imgproxy.net/#/generating_the_url_advanced?id=rotate) processing option. -- `width` and `height` arguments of the [crop](https://docs.imgproxy.net/#/generating_the_url_advanced?id=crop) processing option can be less than `1` that is treated by imgproxy as a relative value (a.k.a. crop by percentage). +- `IMGPROXY_AUTO_ROTATE` config and [auto_rotate](https://docs.imgproxy.net/generating_the_url_advanced?id=auto-rotate) processing option. +- [rotate](https://docs.imgproxy.net/generating_the_url_advanced?id=rotate) processing option. +- `width` and `height` arguments of the [crop](https://docs.imgproxy.net/generating_the_url_advanced?id=crop) processing option can be less than `1` that is treated by imgproxy as a relative value (a.k.a. crop by percentage). - (pro) Remove Adobe Illustrator garbage from SVGs. - (pro) Add IPTC tags to the `/info` response. @@ -53,11 +53,11 @@ ## [2.15.0] - 2020-09-03 ### Added -- Ability to skip processing of some formats. See [Skip processing](https://docs.imgproxy.net/#/configuration?id=skip-processing). +- Ability to skip processing of some formats. See [Skip processing](https://docs.imgproxy.net/configuration?id=skip-processing). - (pro) PDF support. -- (pro) [video_thumbnail_second](https://docs.imgproxy.net/#/generating_the_url_advanced?id=video-thumbnail-second) processing option. -- (pro) [page](https://docs.imgproxy.net/#/generating_the_url_advanced?id=page) processing option. -- (pro) [background_alpha](https://docs.imgproxy.net/#/generating_the_url_advanced?id=background-alpha) processing option. +- (pro) [video_thumbnail_second](https://docs.imgproxy.net/generating_the_url_advanced?id=video-thumbnail-second) processing option. +- (pro) [page](https://docs.imgproxy.net/generating_the_url_advanced?id=page) processing option. +- (pro) [background_alpha](https://docs.imgproxy.net/generating_the_url_advanced?id=background-alpha) processing option. - (pro) `IMGPROXY_VIDEO_THUMBNAIL_PROBE_SIZE` and `IMGPROXY_VIDEO_THUMBNAIL_MAX_ANALYZE_DURATION` configs. ### Changed @@ -75,8 +75,8 @@ ## [2.14.0] - 2020-07-17 ### Added - `IMGPROXY_PROMETHEUS_NAMESPACE` config. -- [strip_metadata](https://docs.imgproxy.net/#/generating_the_url_advanced?id=strip-metadata) processing option. -- (pro) Configurable unsharpening. See [Unsharpening](https://docs.imgproxy.net/#/configuration?id=unsharpening) configs and [unsharpening](https://docs.imgproxy.net/#/generating_the_url_advanced?id=unsharpening) processing option. +- [strip_metadata](https://docs.imgproxy.net/generating_the_url_advanced?id=strip-metadata) processing option. +- (pro) Configurable unsharpening. See [Unsharpening](https://docs.imgproxy.net/configuration?id=unsharpening) configs and [unsharpening](https://docs.imgproxy.net/generating_the_url_advanced?id=unsharpening) processing option. ### Changed - Better for libvips memory metrics for Prometheus. @@ -98,7 +98,7 @@ ## [2.13.0] - 2020-04-22 ### Added - Fallback images. -- [padding](https://docs.imgproxy.net/#/generating_the_url_advanced?id=padding) processing option. +- [padding](https://docs.imgproxy.net/generating_the_url_advanced?id=padding) processing option. ### Changed - Optimized memory usage. Especially when dealing with animated images. @@ -110,7 +110,7 @@ ### Addded - `IMGPROXY_PATH_PREFIX` config. - (pro) Video thumbnails. -- (pro) [Getting the image info](https://docs.imgproxy.net/#/getting_the_image_info). +- (pro) [Getting the image info](https://docs.imgproxy.net/getting_the_image_info). ### Changed - Improved `trim` processing option. diff --git a/docs/index.html b/docs/index.html index 028bc0bd..645be663 100644 --- a/docs/index.html +++ b/docs/index.html @@ -51,6 +51,7 @@ loadSidebar: true, subMaxLevel: 2, auto2top: true, + routerMode: window.DOCSIFY_ROUTER_MODE || "hash", search: { namespace: 'docs-imgproxy', depth: 6 diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..6f6a8518 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,9 @@ +[build] + base="docs" + publish="/" + command="" + +[[redirects]] + from = "/*" + to = "/index.html" + status = 200