Skip to content

Commit 85e9571

Browse files
Update docs links to point to minor version branches
Closes gh-9986
1 parent bb4faca commit 85e9571

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/guides/spring-security-docs-guides.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ asciidoctor {
55
baseDir = file('src/docs/asciidoc')
66
options eruby: 'erubis'
77

8-
def ghTag = snapshotBuild ? 'main' : project.version
9-
def ghSamplesUrl = "https://github.com/spring-projects/spring-security-samples/tree/$ghTag"
8+
def ghSamplesUrl = "https://github.com/spring-projects/spring-security-samples/tree/$samplesBranch"
109
attributes copycss : '',
1110
icons : 'font',
1211
'source-highlighter': 'prettify',

docs/manual/spring-security-docs-manual.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ asciidoctorj {
1818
def ghTag = snapshotBuild ? 'main' : project.version
1919
def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag"
2020
def ghOldSamplesUrl = "https://github.com/spring-projects/spring-security/tree/5.4.x/samples"
21-
def ghSamplesUrl = "https://github.com/spring-projects/spring-security-samples/tree/$ghTag"
21+
def ghSamplesUrl = "https://github.com/spring-projects/spring-security-samples/tree/$samplesBranch"
2222
def securityDocsUrl = "https://docs.spring.io/spring-security/site/docs/$docsTag"
2323
def oldSecurityApiUrl = "https://docs.spring.io/spring-security/site/docs/5.4.x/api/"
2424
def securityApiUrl = "$securityDocsUrl/api/"

0 commit comments

Comments
 (0)