|
|
@ -4,7 +4,7 @@ module Docs
|
|
|
|
def call
|
|
|
|
def call
|
|
|
|
return "<h1>Vitest</h1><p>A Vite-native unit test framework. It's fast!</p>" if root_page? && current_url.host == 'vitest.dev'
|
|
|
|
return "<h1>Vitest</h1><p>A Vite-native unit test framework. It's fast!</p>" if root_page? && current_url.host == 'vitest.dev'
|
|
|
|
return "<h1>VueUse</h1><p>Collection of Vue Composition Utilities</p>" if root_page? && current_url.host == 'vueuse.org'
|
|
|
|
return "<h1>VueUse</h1><p>Collection of Vue Composition Utilities</p>" if root_page? && current_url.host == 'vueuse.org'
|
|
|
|
return '<h1>Vite</h1>' if root_page?
|
|
|
|
return '<h1>Vite</h1><p>Next Generation Frontend Tooling</p>' if root_page?
|
|
|
|
@doc = at_css('main h1').parent
|
|
|
|
@doc = at_css('main h1').parent
|
|
|
|
|
|
|
|
|
|
|
|
css('.demo', '.guide-links', '.footer', '#ad').remove
|
|
|
|
css('.demo', '.guide-links', '.footer', '#ad').remove
|
|
|
|