Unified · Split
| @@ -324,7 +324,7 @@ credits = [ · 323 unmodified lines | |||
| 324 | 'https://fishshell.com/docs/current/license.html' | 324 | 'https://fishshell.com/docs/current/license.html' |
| 325 | ], [ | 325 | ], [ |
| 326 | 'Flask', | 326 | 'Flask', |
| 327 | '2007-2021 Pallets', | 327 | '2007-2022 Pallets', |
| 328 | 'BSD', | 328 | 'BSD', |
| 329 | 'https://github.com/pallets/flask/blob/master/LICENSE.rst' | 329 | 'https://github.com/pallets/flask/blob/master/LICENSE.rst' |
| 330 | ], [ | 330 | ], [ |
| @@ -9,15 +9,20 @@ module Docs · 8 unmodified lines | |||
| 9 | 9 | ||
| 10 | html_filters.push 'flask/entries', 'sphinx/clean_html' | 10 | html_filters.push 'flask/entries', 'sphinx/clean_html' |
| 11 | 11 | ||
| 12 | options[:container] = '.body > .section' | 12 | options[:container] = '.body > section' |
| 13 | options[:skip] = %w(extensiondev/ styleguide/ upgrading/ changelog/ license/ contributing/) | 13 | options[:skip] = %w(extensiondev/ styleguide/ upgrading/ changelog/ license/ contributing/) |
| 14 | options[:skip_patterns] = [/\Atutorial\//] | 14 | options[:skip_patterns] = [/\Atutorial\//] |
| 15 | 15 | ||
| 16 | options[:attribution] = <<-HTML | 16 | options[:attribution] = <<-HTML |
| 17 | © 2007–2021 Pallets<br> | 17 | © 2007–2022 Pallets<br> |
| 18 | Licensed under the BSD 3-clause License. | 18 | Licensed under the BSD 3-clause License. |
| 19 | HTML | 19 | HTML |
| 20 | 20 | ||
| 21 | version '2.1' do | ||
| 22 | self.release = '2.1.x' | ||
| 23 | self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/" | ||
| 24 | end | ||
| 25 | |||
| 21 | version '2.0' do | 26 | version '2.0' do |
| 22 | self.release = '2.0.x' | 27 | self.release = '2.0.x' |
| 23 | self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/" | 28 | self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/" |