History

Update Flask documentation (2.1.x)

Simon Legner committed 4 years ago

Commit bbab9d51 parent 64af5452 files · +8 −3Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/flask.rb +7 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -324,7 +324,7 @@ credits = [ · 323 unmodified lines
324324 'https://fishshell.com/docs/current/license.html'
325325 ], [
326326 'Flask',
327− '2007-2021 Pallets',
327+ '2007-2022 Pallets',
328328 'BSD',
329329 'https://github.com/pallets/flask/blob/master/LICENSE.rst'
330330 ], [
lib/docs/scrapers/flask.rb+7−2
@@ -9,15 +9,20 @@ module Docs · 8 unmodified lines
99
1010 html_filters.push 'flask/entries', 'sphinx/clean_html'
1111
12− options[:container] = '.body > .section'
12+ options[:container] = '.body > section'
1313 options[:skip] = %w(extensiondev/ styleguide/ upgrading/ changelog/ license/ contributing/)
1414 options[:skip_patterns] = [/\Atutorial\//]
1515
1616 options[:attribution] = <<-HTML
17− &copy; 2007&ndash;2021 Pallets<br>
17+ &copy; 2007&ndash;2022 Pallets<br>
1818 Licensed under the BSD 3-clause License.
1919 HTML
2020
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+
2126 version '2.0' do
2227 self.release = '2.0.x'
2328 self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t