Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spring-session-docs/modules/ROOT/pages/guides/boot-jdbc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ If you use Maven, you must add the following dependencies:
<!-- ... -->

<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-jdbc</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-session-jdbc</artifactId>
</dependency>
</dependencies>
----
Expand Down Expand Up @@ -63,7 +63,7 @@ spring.session.jdbc.table-name=SPRING_SESSION # Name of the database table used
----
====

For more information, see the {docs-url}/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-session[Spring Session] portion of the Spring Boot documentation.
For more information, see the {spring-boot-docs}/reference/web/spring-session.html[Spring Session] portion of the Spring Boot documentation.

[[httpsession-jdbc-boot-configuration]]
== Configuring the `DataSource`
Expand Down
6 changes: 3 additions & 3 deletions spring-session-docs/modules/ROOT/pages/guides/boot-redis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ We assume you are working with a working Spring Boot web application.
<!-- ... -->

<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-session-data-redis</artifactId>
</dependency>
</dependencies>
----

.build.gradle
[source,groovy,role="secondary"]
----
implementation("org.springframework.session:spring-session-data-redis")
implementation("org.springframework.boot:spring-boot-starter-session-data-redis")
----
====

Expand Down
4 changes: 2 additions & 2 deletions spring-session-docs/spring-session-docs.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ def generateAttributes() {
def springFrameworkVersion = getLibVersion(libs.org.springframework.spring.framework.bom.get().version)
def ghTag = snapshotBuild ? 'main' : project.version
def docsUrl = 'https://docs.spring.io'
def springBootRefDocs = "${docsUrl}/spring-boot/docs/${springBootVersion}/reference/html"
def springBootDocs = "${docsUrl}/spring-boot/${springBootVersion}"
def springSecurityRefDocs = "${docsUrl}/spring-security/reference/${springSecurityVersion}"
def springFrameworkRefDocs = "${docsUrl}/spring-framework/reference/${springFrameworkVersion}"
return ['gh-tag':ghTag,
'spring-boot-version': springBootVersion,
'spring-boot-ref-docs': springBootRefDocs.toString(),
'spring-boot-docs': springBootDocs.toString(),
'spring-session-version': project.version,
'spring-security-ref-docs': springSecurityRefDocs.toString(),
'spring-framework-ref-docs': springFrameworkRefDocs.toString(),
Expand Down
Loading