rxjs: fix Observable link on root page

pull/1061/head
Jasper van Merle 6 years ago
parent 79acde09ed
commit d5f4a76fc2

@ -18,7 +18,7 @@ module Docs
options[:only_patterns] = [/guide\//, /api\//] options[:only_patterns] = [/guide\//, /api\//]
options[:skip_patterns] = [/api\/([^\/]+)\.json/] options[:skip_patterns] = [/api\/([^\/]+)\.json/]
options[:fix_urls_before_parse] = ->(url) do options[:fix_urls_before_parse] = ->(url) do
url.sub! %r{\Aguide/}, '/guide/' url.sub! %r{\A(\.\/)?guide/}, '/guide/'
url.sub! %r{\Aapi/}, '/api/' url.sub! %r{\Aapi/}, '/api/'
url.sub! %r{\Agenerated/}, '/generated/' url.sub! %r{\Agenerated/}, '/generated/'
url url

Loading…
Cancel
Save