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 = [
908908 ' https://raw.githubusercontent.com/yiisoft/yii/master/LICENSE'
909909 ], [
910910 ' Spring Boot' ,
911- ' 2002-2020 Pivotal, Inc. All Rights Reserved.' ,
911+ ' 2002-2021 Pivotal, Inc. All Rights Reserved.' ,
912912 ' Apache License 2.0' ,
913913 ' https://raw.githubusercontent.com/spring-projects/spring-boot/master/LICENSE.txt'
914914 ]
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ module Docs
22 class SpringBoot
33 class CleanHtmlFilter < Filter
44 def call
5-
5+ at_css ( '#content' ) . prepend_child ( at_css ( 'h1' ) )
6+ @doc = at_css ( '#content' )
7+
68 css ( 'pre' ) . each do |node |
79 language = node . children . first [ 'data-lang' ] if node . children . first . name == 'code'
810 node [ 'data-language' ] = language
Original file line number Diff line number Diff line change @@ -14,13 +14,11 @@ class SpringBoot < UrlScraper
1414 options [ :skip_patterns ] = [ /legal/ ]
1515
1616 options [ :attribution ] = <<-HTML
17- Copyright © 2002–2020 Pivotal, Inc. All Rights Reserved.
17+ Copyright © 2002–2021 Pivotal, Inc. All Rights Reserved.
1818 HTML
1919
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/"
2422
2523 def get_latest_version ( opts )
2624 get_latest_github_release ( 'spring-projects' , 'spring-boot' , opts )
You can’t perform that action at this time.
0 commit comments