Pārlūkot izejas kodu

Update Dart (2.18.5)

ClasherKasten 3 gadi atpakaļ
vecāks
revīzija
d344c117a6

+ 2 - 2
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -238,8 +238,8 @@ credits = [
   ], [
     'Dart',
     '2012 the Dart project authors',
-    'CC BY-SA',
-    'https://creativecommons.org/licenses/by-sa/4.0/'
+    'BSD 3-Clause "New" or "Revised" License',
+    'https://raw.githubusercontent.com/dart-lang/sdk/main/LICENSE'
   ], [
     'date-fns',
     '2021 Sasha Koss and Lesha Koss',

+ 1 - 1
docs/file-scrapers.md

@@ -23,7 +23,7 @@ and put it in `/path/to/devdocs/docs/`
 Or run the following commands in your terminal:
 
 ```sh
-curl https://storage.googleapis.com/dart-archive/channels/stable/release/$RELEASE/api-docs/dartdocs-gen-api-zip > dartApi.zip; \
+curl https://storage.googleapis.com/dart-archive/channels/stable/release/$RELEASE/api-docs/dartdocs-gen-api.zip > dartApi.zip; \
 unzip dartApi.zip; mv gen-dartdocs docs/dart~$VERSION
 ```
 

+ 2 - 2
lib/docs/scrapers/dart.rb

@@ -17,11 +17,11 @@ module Docs
 
     options[:attribution] = <<-HTML
       &copy; 2012 the Dart project authors<br>
-      Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
+      Licensed under the BSD 3-Clause "New" or "Revised" License.
     HTML
 
     version '2' do
-      self.release = '2.17.0'
+      self.release = '2.18.5'
       self.base_url = "https://api.dart.dev/stable/#{release}/"
     end