Module: Identizer::Docs

Defined in:
lib/identizer/docs.rb

Overview

Registry of the bundled, read-only documentation pages shown under /docs. Each slug maps to a web/views/docs/<slug>.html.erb template.

Constant Summary collapse

PAGES =
[
  { slug: "getting-started", title: "Getting started" },
  { slug: "oidc", title: "OIDC integration" },
  { slug: "cognito", title: "AWS Cognito broker" },
  { slug: "broker-app", title: "Cheatsheet: Cognito-brokered app" },
  { slug: "saml", title: "SAML" },
  { slug: "ldap", title: "LDAP listener" },
  { slug: "tls", title: "TLS & mkcert" },
  { slug: "troubleshooting", title: "Troubleshooting" }
].freeze

Class Method Summary collapse

Class Method Details

.find(slug) ⇒ Object



18
19
20
# File 'lib/identizer/docs.rb', line 18

def self.find(slug)
  PAGES.find { |page| page[:slug] == slug }
end