Skip to main content

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Repository layout

All documentation content lives at the repository root. Key files:

Development commands

Run these from the repository root:

Page format

Every page is an .mdx file with YAML frontmatter:
Pages use Mintlify MDX components (<Card>, <CardGroup>, <Steps>, <Step>, <Tabs>, <Tab>, <Accordion>, etc.). Refer to the Mintlify docs for the full component reference. To install the Mintlify skill for AI-assisted writing:
The site has two audience tabs declared in docs.jsonnavigation.tabs:
  • Employees — end-user guides (login, profile, social, redeeming points, recognising peers)
  • Admin — Super Admin / admin guides (programs, billing, surveys, AI, integrations, SSO, security)
Each tab contains named groups, and groups can be nested (e.g. Socials → Groups has its own icon and child pages). The folder structure maps directly to tabs: files under employees/ go in the Employees tab, files under admin/ go in the Admin tab, and files under demo-library/ go in the Demo Library tab. When adding a page, place its .mdx file in the matching directory and add its path to docs.json. To add a new page:
  1. Create the .mdx file in the appropriate directory.
  2. Add its path (without extension) to the correct group under the correct tab in docs.json.
Pages not listed in docs.json will not appear in the sidebar.

Product terminology

This is the Empuls Help Center — a product by Xoxoday. Use these terms consistently:
  • Empuls — the product name (never “empuls” lowercase)
  • Super Admin — the highest admin role (capitalised as shown)
  • reward points — currency employees earn and redeem
  • awards — the recognition mechanism (spot, approval-based, jury, incentive)
  • nominations — the submission step in approval/jury award flows

Writing style

Taken from AGENTS.md and CONTRIBUTING.md:
  • Active voice, second person (“you”)
  • One idea per sentence; lead with the goal
  • Sentence case for headings
  • Bold for UI element labels: Click Settings
  • Code formatting for file names, commands, paths, and inline code references
  • Don’t alternate between synonyms for the same concept — pick one term and stick with it

Files excluded from the build

Mintlify auto-ignores .git, .github, .claude, .agents, .idea, node_modules, and top-level README.md / LICENSE.md / CHANGELOG.md / CONTRIBUTING.md. Project-specific excludes in .mintignore:
  • drafts/ — work-in-progress pages
  • *.draft.mdx — any file with the draft extension, anywhere in the tree
  • articles/ — legacy .md files with raw HTML; excluded to prevent MDX parse errors
  • admins/ — old folder superseded by admin/; excluded to avoid orphaned-page warnings
Use drafts/ or the *.draft.mdx pattern for in-progress content rather than leaving it in docs.json-listed paths.

Publishing

Push to the default branch (main) — the Mintlify GitHub app auto-deploys to production. No build step is required locally beyond mint dev for preview.