We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 903fac5 commit aafcac1Copy full SHA for aafcac1
lib/docs/scrapers/nextjs.rb
@@ -1,10 +1,20 @@
1
module Docs
2
class Nextjs < UrlScraper
3
- self.name = 'nextjs`'
+ self.name = 'nextjs'
4
self.type = 'simple'
5
self.release = 'v14.1.0'
6
self.base_url = 'https://nextjs.org/docs'
7
- self.initial_paths = %w(reference/)
8
- html_filters.push 'nextjs/entries', 'nextjs/clean_html'
+ self.initial_paths = %w(reference/)
+ self.links = {
9
+ home: 'https://www.nextjs.org/',
10
+ code: 'https://github.com/vercel/next.js'
11
+ }
12
+
13
+ html_filters.push 'nextjs/entries', 'nextjs/clean_html'
14
15
+ options[:attribution] = <<-HTML
16
+ © 2024 Vercel, Inc.
17
+ Licensed under the MIT License.
18
+ HTML
19
end
-end
20
+end
0 commit comments