|
|
@@ -3,7 +3,7 @@ module Docs
|
|
|
self.name = 'CodeceptJS'
|
|
|
self.type = 'simple'
|
|
|
self.root_path = 'index.html'
|
|
|
- self.release = '1.4.4'
|
|
|
+ self.release = '3.0.2'
|
|
|
self.base_url = 'https://codecept.io/'
|
|
|
self.links = {
|
|
|
home: 'https://codecept.io/',
|
|
|
@@ -17,6 +17,14 @@ module Docs
|
|
|
options[:skip_links] = ->(filter) { !filter.root_page? }
|
|
|
options[:skip_patterns] = [/changelog/, /quickstart\z/]
|
|
|
|
|
|
+ options[:fix_urls] = -> (url) do
|
|
|
+ url.sub! %r{\.html\z}, ''
|
|
|
+ url.sub! %r{custom-helpers\z}, 'helpers'
|
|
|
+ url
|
|
|
+ end
|
|
|
+
|
|
|
+ options[:trailing_slash] = true
|
|
|
+
|
|
|
options[:attribution] = <<-HTML
|
|
|
© 2015 DavertMik <davert@codegyre.com> (http://codegyre.com)<br>
|
|
|
Licensed under the MIT License.
|