Sha256: 8f1968634cb39c149270c86201bdf593f9b880ce603ca04de3a549188293830a

Contents?: true

Size: 275 Bytes

Versions: 9

Compression:

Stored size: 275 Bytes

Contents

module Doc
  class RootMerger < Merger
    def doc_dir
      documentor.public_dir
    end

    def run
      super
      if succeeded?
        (doc_dir / documentor.docs_dir.basename).make_symlink(documentor.docs_dir.relative_path_from(doc_dir))
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
doc-0.2.6 lib/doc/root_merger.rb
doc-0.2.5 lib/doc/root_merger.rb
doc-0.2.4 lib/doc/root_merger.rb
doc-0.2.3 lib/doc/root_merger.rb
doc-0.2.2 lib/doc/root_merger.rb
doc-0.2.1 lib/doc/root_merger.rb
doc-0.2.0 lib/doc/root_merger.rb
doc-0.1.0 lib/doc/root_merger.rb
doc-0.0.1 lib/doc/root_merger.rb