• 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.
    e63f1c31
Name
Last commit
Last update
lib Loading commit data...
spec Loading commit data...
.gitignore Loading commit data...
.rubocop.yml Loading commit data...
.travis.yml Loading commit data...
.yardopts Loading commit data...
CHANGELOG.md Loading commit data...
COMMITTERS.md Loading commit data...
CONTRIBUTING.md Loading commit data...
Gemfile Loading commit data...
JSON.md Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
codecov.yml Loading commit data...
puppet-strings.gemspec Loading commit data...