Merge pull request #2078 from freeCodeCamp/flask

Update Flask documentation (3.0.x)
This commit is contained in:
Simon Legner 2023-10-09 21:29:40 +02:00 committed by GitHub
commit 17909c7eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -14,10 +14,15 @@ module Docs
options[:skip_patterns] = [/\Atutorial\//]
options[:attribution] = <<-HTML
&copy; 2007&ndash;2022 Pallets<br>
&copy; 2010 Pallets<br>
Licensed under the BSD 3-clause License.
HTML
version '3.0' do
self.release = '3.0.x'
self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"
end
version '2.3' do
self.release = '2.3.x'
self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"

View file

@ -13,10 +13,15 @@ module Docs
options[:skip] = %w(changes/)
options[:attribution] = <<-HTML
&copy; 2007&ndash;2022 Pallets<br>
&copy; 2007 Pallets<br>
Licensed under the BSD 3-clause License.
HTML
version '3.0' do
self.release = '3.0.x'
self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"
end
version '2.3' do
self.release = '2.3.x'
self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"