module IsoDoc::Generic::Utils

def baselocation(loc)

def baselocation(loc)
  loc.nil? and return nil
  loc.empty? and return ""
  loc
end

def configuration

def configuration
  Metanorma::Generic.configuration
end

def fileloc(loc)

def fileloc(loc)
  File.join(File.dirname(__FILE__), loc)
end