Browse Source

Fix Link that is Code Styling

Closes gh-8038
Rob Winch 5 years ago
parent
commit
bc16f1a526

+ 9 - 0
docs/manual/spring-security-docs-manual.gradle

@@ -4,6 +4,15 @@ apply plugin: 'io.spring.convention.dependency-set'
 apply plugin: 'io.spring.convention.repository'
 apply plugin: 'java'
 
+asciidoctor {
+	attributes([stylesheet: 'css/style.css'])
+	resources {
+		from(sourceDir) {
+			include "css/**"
+		}
+	}
+}
+
 asciidoctorj {
 	def ghTag = snapshotBuild ? 'master' : project.version
 	def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag"

+ 5 - 0
docs/manual/src/docs/asciidoc/css/style.css

@@ -0,0 +1,5 @@
+@import 'spring.css';
+
+a code {
+	color: #097dff;
+}