Skip to content

Commit dbbf275

Browse files
authored
Merge pull request #317 from thephpleague/docs
Update docs menu and default version.
2 parents 55f0538 + f6641d4 commit dbbf275

File tree

2 files changed

+45
-18
lines changed

2 files changed

+45
-18
lines changed

docs/_data/menu.yml

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
1-
'0.3':
1+
'2.0':
22
Getting Started:
3-
Introduction: '/0.3/'
4-
Changelog: '/0.3/changelog/'
5-
Installation: '/0.3/installation/'
6-
Simple example: '/0.3/simple-example/'
3+
Introduction: '/'
4+
Changelog: '/2.0/changelog/'
5+
Installation: '/2.0/installation/'
6+
Simple example: '/2.0/simple-example/'
77
Configuration:
8-
The server: '/0.3/config/the-server/'
9-
Basic usage: '/0.3/config/basic-usage/'
10-
Source & cache: '/0.3/config/source-and-cache/'
11-
Base URL: '/0.3/config/base-url/'
12-
Image driver: '/0.3/config/image-driver/'
13-
Secure images: '/0.3/config/secure-images/'
14-
Max image size: '/0.3/config/max-image-size/'
8+
Setup: '/2.0/config/setup/'
9+
Source & cache: '/2.0/config/source-and-cache/'
10+
Security: '/2.0/config/security/'
11+
Responses: '/2.0/config/responses/'
12+
Image driver: '/2.0/config/image-driver/'
13+
Defaults & presets: '/2.0/config/defaults-and-presets/'
14+
Advanced usage: '/2.0/config/advanced-usage/'
1515
Image API:
16-
Size: '/0.3/api/size/'
17-
Adjustments: '/0.3/api/adjustments/'
18-
Effects: '/0.3/api/effects/'
19-
Output: '/0.3/api/output/'
16+
Quick reference: '/2.0/api/quick-reference/'
17+
Orientation: '/2.0/api/orientation/'
18+
Flip: '/2.0/api/flip/'
19+
Crop: '/2.0/api/crop/'
20+
Size: '/2.0/api/size/'
21+
Pixel density: '/2.0/api/pixel-density/'
22+
Adjustments: '/2.0/api/adjustments/'
23+
Effects: '/2.0/api/effects/'
24+
Watermarks: '/2.0/api/watermarks/'
25+
Background: '/2.0/api/background/'
26+
Border: '/2.0/api/border/'
27+
Encode: '/2.0/api/encode/'
2028
'1.0':
2129
Getting Started:
22-
Introduction: '/'
30+
Introduction: /1.0/'
2331
Changelog: '/1.0/changelog/'
2432
Installation: '/1.0/installation/'
2533
Simple example: '/1.0/simple-example/'
@@ -44,3 +52,22 @@
4452
Background: '/1.0/api/background/'
4553
Border: '/1.0/api/border/'
4654
Encode: '/1.0/api/encode/'
55+
'0.3':
56+
Getting Started:
57+
Introduction: '/0.3/'
58+
Changelog: '/0.3/changelog/'
59+
Installation: '/0.3/installation/'
60+
Simple example: '/0.3/simple-example/'
61+
Configuration:
62+
The server: '/0.3/config/the-server/'
63+
Basic usage: '/0.3/config/basic-usage/'
64+
Source & cache: '/0.3/config/source-and-cache/'
65+
Base URL: '/0.3/config/base-url/'
66+
Image driver: '/0.3/config/image-driver/'
67+
Secure images: '/0.3/config/secure-images/'
68+
Max image size: '/0.3/config/max-image-size/'
69+
Image API:
70+
Size: '/0.3/api/size/'
71+
Adjustments: '/0.3/api/adjustments/'
72+
Effects: '/0.3/api/effects/'
73+
Output: '/0.3/api/output/'

docs/_data/project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ title: Glide
22
tagline: HTTP based image manipulations
33
description: Wonderfully easy on-demand image manipulation library with an HTTP based API.
44
google_analytics_tracking_id: UA-46050814-13
5-
default_version: "1.0"
5+
default_version: "2.0"

0 commit comments

Comments
 (0)