Skip to content

Commit 97f84de

Browse files
Add JSDoc for static pages, Mustache initialization, and accessibility test helpers
1 parent 12cca55 commit 97f84de

12 files changed

Lines changed: 62 additions & 0 deletions

File tree

‎app/about/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const metadata = { title: 'About - RefactorFirst' };
22

3+
/** Renders the RefactorFirst project overview. */
34
export default function AboutPage() {
45
return (
56
<section className="content-page">

‎app/api/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const metadata = { title: 'API - RefactorFirst' };
22

3+
/** Renders the API and integration reference page. */
34
export default function ApiPage() {
45
return (
56
<section className="content-page">

‎app/documentation/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Link from 'next/link';
22

33
export const metadata = { title: 'Documentation - RefactorFirst' };
44

5+
/** Renders the RefactorFirst documentation overview. */
56
export default function DocumentationPage() {
67
return (
78
<section className="content-page">

‎app/examples/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Link from 'next/link';
22

33
export const metadata = { title: 'Example Reports - RefactorFirst' };
44

5+
/** Renders links and guidance for example reports. */
56
export default function ExamplesPage() {
67
return (
78
<section className="content-page">

‎app/faq/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Link from 'next/link';
22

33
export const metadata = { title: 'FAQ - RefactorFirst' };
44

5+
/** Renders answers to frequently asked questions. */
56
export default function FaqPage() {
67
return (
78
<section className="content-page">

‎app/feedback/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const metadata = { title: 'Feedback - RefactorFirst' };
22

3+
/** Renders feedback and support links. */
34
export default function FeedbackPage() {
45
return (
56
<section className="content-page">

‎app/getting-started/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import WorkflowSample from '../../components/workflow-sample';
33

44
export const metadata = { title: 'Getting Started - RefactorFirst' };
55

6+
/** Renders the repository setup walkthrough. */
67
export default function GettingStartedPage() {
78
return (
89
<section className="content-page">

‎app/privacy-policy/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const metadata = { title: 'Privacy Policy - RefactorFirst' };
22

3+
/** Renders the RefactorFirst privacy policy. */
34
export default function PrivacyPolicyPage() {
45
return (
56
<section className="content-page">

‎app/terms-of-service/page.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const metadata = { title: 'Terms of Service - RefactorFirst' };
22

3+
/** Renders the RefactorFirst terms of service. */
34
export default function TermsOfServicePage() {
45
return (
56
<section className="content-page">

‎lib/renderer.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ import DOMPurify from 'dompurify';
88

99
let mustacheInstance = null;
1010

11+
/**
12+
* Returns the shared Mustache renderer instance.
13+
*
14+
* @returns {typeof Mustache} The initialized Mustache module.
15+
*/
1116
export function initializeMustache() {
1217
if (!mustacheInstance) {
1318
mustacheInstance = Mustache;

0 commit comments

Comments
 (0)