Update React Router documentation (6.4.1)

pull/1824/head
Simon Legner 2 years ago
parent 378ce59ce5
commit d19bb432ca

@ -1,6 +1,14 @@
module Docs
class ReactRouter
class EntriesFilter < Docs::EntriesFilter
def get_name
at_css('.markdown h1').content
end
def get_type
slug.split('/').first.capitalize
end
def additional_entries
entries = []
css('h2[id], h3[id]').each do |node|

@ -3,15 +3,17 @@ module Docs
self.name = 'React Router'
self.slug = 'react_router'
self.type = 'simple'
self.release = '6.3.0'
self.base_url = 'https://reactrouterdotcom.fly.dev/docs/en/v6/api'
self.release = '6.4.1'
self.base_url = 'https://reactrouterdotcom.fly.dev/docs/en/v6'
self.links = {
home: 'https://reactrouterdotcom.fly.dev/',
code: 'https://github.com/remix-run/react-router'
}
html_filters.push 'react_router/entries', 'react_router/clean_html', 'title'
html_filters.push 'react_router/entries', 'react_router/clean_html'
options[:skip_patterns] = [/upgrading/]
options[:attribution] = <<-HTML
&copy; React Training 2015-2019<br>

Loading…
Cancel
Save