Skip to content

Commit 8f01469

Browse files
committed
Update Spring Boot documentation (2.6.1)
1 parent 6bb9114 commit 8f01469

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
]

lib/docs/filters/spring_boot/clean_html.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

lib/docs/scrapers/spring_boot.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ class SpringBoot < UrlScraper
1414
options[:skip_patterns] = [/legal/]
1515

1616
options[:attribution] = <<-HTML
17-
Copyright &copy; 2002–2020 Pivotal, Inc. All Rights Reserved.
17+
Copyright &copy; 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)

0 commit comments

Comments
 (0)