Sha256: 1b9941886de2934c68c9b5a7a524a649ae48817953022314c908380992712adc
Contents?: true
Size: 1.25 KB
Versions: 3
Compression:
Stored size: 1.25 KB
Contents
# frozen_string_literal: true require_relative 'docs/configuration' require_relative 'docs/helper/tree' require_relative 'docs/harvester' require_relative 'docs/harvester/file' require_relative 'docs/harvester/markdown' require_relative 'docs/operations/content' require_relative 'docs/operations/collection' require_relative 'docs/operations/meta' require_relative 'docs/operations/sitemap' require_relative 'docs/version' # NOTE: Load app and engine last require_relative 'docs/app' require_relative 'docs/engine' module Trifle module Docs class Error < StandardError; end def self.default @default ||= Configuration.new end def self.configure yield(default) default end def self.content(url:, config: nil) Trifle::Docs::Operations::Content.new( url: url, config: config ).perform end def self.meta(url:, config: nil) Trifle::Docs::Operations::Meta.new( url: url, config: config ).perform end def self.collection(url:, config: nil) Trifle::Docs::Operations::Collection.new( url: url, config: config ).perform end def self.sitemap(config: nil) Trifle::Docs::Operations::Sitemap.new( config: config ).perform end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
trifle-docs-0.3.1 | lib/trifle/docs.rb |
trifle-docs-0.3.0 | lib/trifle/docs.rb |
trifle-docs-0.2.0 | lib/trifle/docs.rb |