File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
assets/javascripts/templates/pages Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -908,7 +908,7 @@ credits = [
908
908
' https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE'
909
909
], [
910
910
' Spring Boot' ,
911
- ' 2002-2020 Pivotal, Inc. All Rights Reserved.' ,
911
+ ' 2002-2021 Pivotal, Inc. All Rights Reserved.' ,
912
912
' Apache License 2.0' ,
913
913
' https://raw.githubusercontent.com/spring-projects/spring-boot/master/LICENSE.txt'
914
914
]
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ module Docs
2
2
class SpringBoot
3
3
class CleanHtmlFilter < Filter
4
4
def call
5
-
5
+ at_css ( '#content' ) . prepend_child ( at_css ( 'h1' ) )
6
+ @doc = at_css ( '#content' )
7
+
6
8
css ( 'pre' ) . each do |node |
7
9
language = node . children . first [ 'data-lang' ] if node . children . first . name == 'code'
8
10
node [ 'data-language' ] = language
Original file line number Diff line number Diff line change @@ -14,13 +14,11 @@ class SpringBoot < UrlScraper
14
14
options [ :skip_patterns ] = [ /legal/ ]
15
15
16
16
options [ :attribution ] = <<-HTML
17
- Copyright © 2002–2020 Pivotal, Inc. All Rights Reserved.
17
+ Copyright © 2002–2021 Pivotal, Inc. All Rights Reserved.
18
18
HTML
19
19
20
- version do
21
- self . release = '2.4.0'
22
- self . base_url = "https://docs.spring.io/spring-boot/docs/#{ release } /reference/html/"
23
- end
20
+ self . release = '2.6.1'
21
+ self . base_url = "https://docs.spring.io/spring-boot/docs/#{ release } /reference/html/"
24
22
25
23
def get_latest_version ( opts )
26
24
get_latest_github_release ( 'spring-projects' , 'spring-boot' , opts )
You can’t perform that action at this time.
0 commit comments