Method: Fdoc::BasePresenter#index_path

Defined in:
lib/fdoc/presenters/base_presenter.rb

#index_path(subdirectory = "") ⇒ Object



43
44
45
46
47
48
49
50
# File 'lib/fdoc/presenters/base_presenter.rb', line 43

def index_path(subdirectory = "")
  html_path = File.join(html_directory, subdirectory)
  if options[:static_html]
    File.join(html_path, 'index.html')
  else
    html_path
  end
end