Unverified Commit e63f1c31 authored by
(PDOC-159) server urls fix
When using `puppet strings server`, resources with names containing '::' end up 404ing from the left bar. This is because strings namespaces these objects but YARD does not when building URLs. e.g. foo::bar's url should be /doc/foo/puppet_classes/foo/bar.html but ends up instead being doc/foo/puppet_classes/foo_3A_3A_bar.html because of YARD's url encoding. This is a monkey patch, courtesy @domcleal, that decodes the urls back so that they are namespaced correctly.
Showing with 12 additions and 0 deletions