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
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 ], [
lib/docs/scrapers/flask.rb+7−2
@@ -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] = <<-HTML16 options[:attribution] = <<-HTML
17 &copy; 2007&ndash;2021 Pallets<br>17 &copy; 2007&ndash;2022 Pallets<br>
18 Licensed under the BSD 3-clause License.18 Licensed under the BSD 3-clause License.
19 HTML19 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' do26 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}/"

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