Module: GeolexicaServer

Defined in:
lib/geolexica_server/version.rb,
lib/geolexica_server.rb,
lib/geolexica_server/generator.rb,
lib/geolexica_server/generator/base.rb,
lib/geolexica_server/generator/metadata.rb,
lib/geolexica_server/generator/bibliography.rb

Overview

© Copyright 2020 Ribose Inc.

Defined Under Namespace

Modules: Generator

Constant Summary collapse

DEFAULT_CONFIG_FILE_PATH =
"./_config.yaml"
VERSION =
"0.0.1".freeze

Class Method Summary collapse

Class Method Details

.load_tasksObject

Loads Rake tasks which are provided in this gem.

In order to load these tasks, following lines should be added to given site’s Rakefile:

require "geolexica_server"
GeolexicaServer.load_tasks


17
18
19
20
# File 'lib/geolexica_server.rb', line 17

def self.load_tasks
  tasks_path = File.expand_path("../tasks", __dir__)
  Rake.add_rakelib(tasks_path)
end