Skip to content

Commit 308ec51

Browse files
Added version switcher
1 parent 098fd4e commit 308ec51

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ tests/ export-ignore
1111
.gitattributes export-ignore
1212
.gitignore export-ignore
1313

14-
package.json export-ignore
1514
phpunit.xml export-ignore

docs/cfg/buildprofiles.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
<!-- <analytics-head-script-file> -->
2222
<!-- analytics.html -->
2323
<!-- </analytics-head-script-file> -->
24+
<versions-switcher>
25+
https://raw.githubusercontent.com/TheDragonCode/laravel-deploy-operations/refs/heads/main/docs/versions.json
26+
</versions-switcher>
2427
</variables>
2528
<build-profile instance="do">
2629
<variables>

docs/versions.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[
2+
{
3+
"version": "7.x",
4+
"url": "https://deploy-operations.dragon-code.pro",
5+
"isCurrent": true
6+
},
7+
{
8+
"version": "6.x",
9+
"url": "https://github.com/TheDragonCode/laravel-deploy-operations/tree/6.x/docs",
10+
"isCurrent": false
11+
},
12+
{
13+
"version": "5.x",
14+
"url": "https://github.com/TheDragonCode/laravel-deploy-operations/tree/5.x/docs",
15+
"isCurrent": false
16+
},
17+
{
18+
"version": "4.x",
19+
"url": "https://github.com/TheDragonCode/laravel-deploy-operations/tree/4.x/docs",
20+
"isCurrent": false
21+
},
22+
{
23+
"version": "3.x",
24+
"url": "https://github.com/TheDragonCode/laravel-deploy-operations/tree/3.x/docs",
25+
"isCurrent": false
26+
}
27+
]

0 commit comments

Comments
 (0)