Browse Source

Fix missing attribute in reference documentation

This commit adds the missing `spring-framework-main-code` asciidoctor
attribute in the reference documentation.

Fixes gh-27041
pull/27042/head
Brian Clozel 5 years ago
parent
commit
c7c35aff42
  1. 3
      gradle/docs.gradle
  2. 5
      src/docs/asciidoc/index.adoc

3
gradle/docs.gradle

@ -143,7 +143,8 @@ asciidoctorj { @@ -143,7 +143,8 @@ asciidoctorj {
'highlightjs-theme': 'googlecode',
stylesdir: 'css/',
stylesheet: 'stylesheet.css',
'spring-version': project.version
'spring-version': project.version,
'spring-framework-main-code': 'https://github.com/spring-projects/spring-framework/tree/main'
])
}

5
src/docs/asciidoc/index.adoc

@ -1,9 +1,4 @@ @@ -1,9 +1,4 @@
= Spring Framework Documentation
:doc-root: https://docs.spring.io
:github-repo: spring-projects/spring-framework
:api-spring-framework: {doc-root}/spring-framework/docs/{spring-version}/javadoc-api/org/springframework
:spring-framework-main-code: https://github.com/{github-repo}/tree/main
****
_What's New_, _Upgrade Notes_, _Supported Versions_, and other topics,

Loading…
Cancel
Save