Skip to content

Commit 2370b07

Browse files
committed
feat: Update site domain to pmba.cca.it.com and configure VitePress to use index.md as the primary homepage by excluding all README.md files.
1 parent d5a5bd5 commit 2370b07

5 files changed

Lines changed: 14 additions & 6 deletions

File tree

.vitepress/config.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from "vitepress";
22
import { withMermaid } from "vitepress-plugin-mermaid";
33

44
// SEO and Branding Configuration
5-
const SITE_URL = "https://pmba.cca.lk";
5+
const SITE_URL = "https://pmba.cca.it.com";
66
const SITE_TITLE = "PM & BA Lifecycle";
77
const SITE_DESCRIPTION =
88
"Complete Learning Resource for Product Management and Business Analysis by Codezela Career Accelerator";
@@ -16,8 +16,9 @@ export default withMermaid(
1616
// Custom domain - no base path needed
1717
base: "/",
1818

19-
// Exclude root README.md only (inner folder READMEs are section overviews)
20-
srcExclude: ["README.md", "CONTRIBUTING.md"],
19+
// Exclude ALL READMEs to strictly avoid duplicate page conflicts
20+
// We already updated navigation to point to specific files instead of folder roots
21+
srcExclude: ["**/README.md", "**/CONTRIBUTING.md"],
2122

2223
// Clean URLs
2324
cleanUrls: true,

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
# This file is for GitHub repository display only
3+
# VitePress uses index.md as the homepage
4+
search: false
5+
outline: false
6+
---
7+
18
# 🎓 PM & BA Lifecycle: Professional Training Program
29

310
> **A comprehensive, end-to-end framework for modern Product Management and Business Analysis**

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: doc
33
title: PM & BA Lifecycle
44
---
55

6-
# PM & BA Lifecycle
6+
# PM & BA Lifecycle Documentation
77

88
**Complete Learning Resource for Product Management and Business Analysis**
99

public/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pmba.cca.lk
1+
pmba.cca.it.com

public/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ User-agent: *
66
Allow: /
77

88
# Sitemap location
9-
Sitemap: https://pmba.cca.lk/sitemap.xml
9+
Sitemap: https://pmba.cca.it.com/sitemap.xml
1010

1111
# Crawl delay (optional, for politeness)
1212
Crawl-delay: 1

0 commit comments

Comments
 (0)