mirror of https://github.com/freeCodeCamp/devdocs
parent
5e973d8c0f
commit
75cce72b3f
@ -0,0 +1,11 @@
|
||||
module Docs
|
||||
class React
|
||||
class CleanHtmlReactDevFilter < Filter
|
||||
def call
|
||||
@doc = at_css('article')
|
||||
|
||||
doc
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
@ -0,0 +1,13 @@
|
||||
module Docs
|
||||
class React
|
||||
class EntriesReactDevFilter < Docs::EntriesFilter
|
||||
def get_name
|
||||
at_css('article h1').content
|
||||
end
|
||||
|
||||
def get_type
|
||||
return 'TODO add types'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue