Browse Source

Fix anchors in the search results (#623)

Svyatoslav Kryukov 4 years ago
parent
commit
38ac4c3399
3 changed files with 18 additions and 18 deletions
  1. 15 15
      docs/generating_the_url_advanced.md
  2. 2 2
      docs/image_formats_support.md
  3. 1 1
      docs/watermark.md

+ 15 - 15
docs/generating_the_url_advanced.md

@@ -64,7 +64,7 @@ Defines how imgproxy will resize the source image. Supported resizing types are:
 
 Default: `fit`
 
-#### Resizing algorithm<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Resizing algorithm<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=resizing-algorithm
 
 ```
 resizing_algorithm:%algorithm
@@ -266,7 +266,7 @@ With no arguments provided, disables any background manipulations.
 
 Default: disabled
 
-#### Background alpha<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Background alpha<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=background-alpha
 
 ```
 background_alpha:%alpha
@@ -277,7 +277,7 @@ Adds alpha channel to `background`. `alpha` is a positive floating point number
 
 Default: 1
 
-#### Adjust<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Adjust<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=adjust
 
 ```
 adjust:%brightness:%contrast:%saturation
@@ -286,7 +286,7 @@ a:%brightness:%contrast:%saturation
 
 Meta-option that defines the [brightness](#brightness), [contrast](#contrast), and [saturation](#saturation). All arguments are optional and can be omitted to use their default values.
 
-#### Brightness<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Brightness<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=brightness
 
 ```
 brightness:%brightness
@@ -297,7 +297,7 @@ When set, imgproxy will adjust brightness of the resulting image. `brightness` i
 
 Default: 0
 
-#### Contrast<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Contrast<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=contrast
 
 ```
 contrast:%contrast
@@ -308,7 +308,7 @@ When set, imgproxy will adjust contrast of the resulting image. `contrast` is a
 
 Default: 1
 
-#### Saturation<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Saturation<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=saturation
 
 ```
 saturation:%saturation
@@ -343,7 +343,7 @@ As an approximate guideline, use 0.5 sigma for 4 pixels/mm (display resolution),
 
 Default: disabled
 
-#### Pixelate<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Pixelate<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=pixelate
 
 ```
 pixelate:%size
@@ -354,7 +354,7 @@ When set, imgproxy will apply the pixelate filter to the resulting image. `size`
 
 Default: disabled
 
-#### Unsharpening<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Unsharpening<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=unsharpening
 
 ```
 unsharpening:%mode:%weight:%dividor
@@ -389,7 +389,7 @@ Puts watermark on the processed image.
 
 Default: disabled
 
-#### Watermark URL<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Watermark URL<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=watermark
 
 ```
 watermark_url:%url
@@ -400,7 +400,7 @@ When set, imgproxy will use the image from the specified URL as a watermark. `ur
 
 Default: blank
 
-#### Style<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Style<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=style
 
 ```
 style:%style
@@ -411,7 +411,7 @@ When set, imgproxy will prepend `<style>` node with provided content to the `<sv
 
 Default: blank
 
-#### JPEG options<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### JPEG options<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=jpeg-options
 
 ```
 jpeg_options:%progressive:%no_subsample:%trellis_quant:%overshoot_deringing:%optimize_scans:%quant_table
@@ -420,7 +420,7 @@ jpgo:%progressive:%no_subsample:%trellis_quant:%overshoot_deringing:%optimize_sc
 
 Allows redefining JPEG saving options. All arguments have the same meaning as [Advanced JPEG compression](configuration.md#advanced-jpeg-compression) configs. All arguments are optional and can be omitted.
 
-#### PNG options<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### PNG options<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=png-options
 
 ```
 png_options:%interlaced:%quantize:%quantization_colors
@@ -429,7 +429,7 @@ pngo:%interlaced:%quantize:%quantization_colors
 
 Allows redefining PNG saving options. All arguments have the same meaning as [Advanced PNG compression](configuration.md#advanced-png-compression) configs. All arguments are optional and can be omitted.
 
-#### GIF options<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### GIF options<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=gif-options
 
 ```
 gif_options:%optimize_frames:%optimize_transparency
@@ -438,7 +438,7 @@ gifo:%optimize_frames:%optimize_transparency
 
 Allows redefining GIF saving options. All arguments have the same meaning as [Advanced GIF compression](configuration.md#advanced-gif-compression) configs. All arguments are optional and can be omitted.
 
-#### Page<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Page<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=page
 
 ```
 page:%page
@@ -449,7 +449,7 @@ When source image supports pagination (PDF, TIFF) or animation (GIF, WebP), this
 
 Default: 0
 
-#### Video thumbnail second<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+#### Video thumbnail second<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=video-thumbnail-second
 
 ```
 video_thumbnail_second:%second

+ 2 - 2
docs/image_formats_support.md

@@ -58,13 +58,13 @@ Since processing of animated images is pretty heavy, only one frame is processed
 
 **📝Note:** imgproxy summarizes all frames resolutions while checking source image resolution.
 
-## Converting animated images to MP4<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+## Converting animated images to MP4<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=converting-animated-images-to-mp4
 
 Animated images results can be converted to MP4 by specifying `mp4` extension.
 
 Since MP4 requires usage of a `<video>` tag instead of `<img>`, automatic conversion to MP4 is not provided.
 
-## Video thumbnails<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+## Video thumbnails<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=video-thumbnails
 
 If you provide a video as a source, imgproxy takes its specific frame to create a thumbnail. Doing this imgproxy downloads only the amount of data required to reach the needed frame.
 

+ 1 - 1
docs/watermark.md

@@ -43,7 +43,7 @@ Where arguments are:
 * `x_offset`, `y_offset` - (optional) specify watermark offset by X and Y axes. Not applicable to `re` position;
 * `scale` - (optional) floating point number that defines watermark size relative to the resulting image size. When set to `0` or omitted, watermark size won't be changed.
 
-## Custom watermarks<img class='pro-badge' src='assets/pro.svg' alt='pro' />
+## Custom watermarks<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=custom-watermarks
 
 You can use a custom watermark specifying its URL with `watermark_url` processing option: