Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
# frozen_string_literal: true
module Documentation
# Single place for the "repo file/folder name → human label" rule
# ("getting-started" → "Getting Started"). Used by the sync job (page-title
# fallback when a page has no H1) and the navigation tree (folder labels +
# defensive page-label fallback) — change the rule here and every derived
# label changes with it.
module Naming
module_function
def humanize(name)
name.to_s.tr('-_', ' ').strip.titleize
end
end
end