1. 16 Apr, 2018 1 commit
    • Eric Putnam's avatar
      (PDOC-159) server urls fix · e63f1c31
      Eric Putnam authored
      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.