Skip to content

Commit 33fcbd8

Browse files
Merge pull request #59 from Azure-Samples/mirza/fe/rename-repo-fix
Update repository references from postgres-appdev-hub to postgres-hub
2 parents 3c91622 + ee11b8d commit 33fcbd8

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

ONBOARDING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The **Application Developer Hub for Azure PostgreSQL** is a curated, filterable
4545
- Videos and blog posts
4646
- Learning paths for structured skill-building
4747

48-
**Live site:** `https://azure-samples.github.io/postgres-appdev-hub/`
48+
**Live site:** `https://azure-samples.github.io/postgres-hub/`
4949

5050
**Tech stack at a glance:**
5151

@@ -311,8 +311,8 @@ customFields: {
311311

312312
```bash
313313
# 1. Clone the repository
314-
git clone https://github.com/Azure-Samples/postgres-appdev-hub.git
315-
cd postgres-appdev-hub
314+
git clone https://github.com/Azure-Samples/postgres-hub.git
315+
cd postgres-hub
316316

317317
# 2. Install dependencies
318318
npm install
@@ -321,7 +321,7 @@ npm install
321321
npm start
322322
```
323323

324-
The site opens automatically at `http://localhost:3000/postgres-appdev-hub/`.
324+
The site opens automatically at `http://localhost:3000/postgres-hub/`.
325325

326326
**Hot reload** is enabled — most changes to `.tsx`, `.ts`, `.css`, or `.json` files are reflected immediately in the browser without a restart.
327327

@@ -344,7 +344,7 @@ Output goes to `build/`. If this exits with code 0, the build is clean.
344344
### 4.1 Project Layout
345345

346346
```
347-
postgres-appdev-hub/
347+
postgres-hub/
348348
349349
├── docusaurus.config.js ← Site-wide config, Quick Links, Learning Paths, Community section
350350
├── constants.js ← Shared constants (cookie label/id)
@@ -596,7 +596,7 @@ Steps:
596596
7. Deploy to GitHub Pages via `actions/deploy-pages`
597597

598598
The deployment target is the `gh-pages` branch. The live URL is:
599-
`https://azure-samples.github.io/postgres-appdev-hub/`
599+
`https://azure-samples.github.io/postgres-hub/`
600600

601601
---
602602

@@ -690,7 +690,7 @@ export const PARENT_CHILD_MAP = {
690690
- Read [Contributing.md](./Contributing.md) before submitting a PR.
691691
- Use the GitHub issue templates: go to **Issues → New Issue** and choose the **Feedback** template.
692692
- The floating "Share Feedback" button on the live site opens a pre-filled GitHub issue at:
693-
`https://github.com/Azure-Samples/postgres-appdev-hub/issues/new?template=feedback.md`
693+
`https://github.com/Azure-Samples/postgres-hub/issues/new?template=feedback.md`
694694
- Questions? Email: `AskAzurePostgreSQL@microsoft.com`
695695

696696
### PR checklist

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ const config = {
208208
title: "Application Developer Hub",
209209
tagline: "Discover - Create - Contribute",
210210
url: "https://azure-samples.github.io",
211-
baseUrl: "/postgres-appdev-hub/",
211+
baseUrl: "/postgres-hub/",
212212
favicon: "img/logo.png",
213213
organizationName: "Azure-Samples",
214-
projectName: "postgres-appdev-hub",
214+
projectName: "postgres-hub",
215215
deploymentBranch: "gh-pages",
216216
onBrokenLinks: "throw",
217217
onBrokenMarkdownLinks: "warn",

src/theme/Root.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function Root({ children }) {
1717
) {
1818
window.addEventListener('load', () => {
1919
navigator.serviceWorker
20-
.register('/postgres-appdev-hub/sw.js')
20+
.register('/postgres-hub/sw.js')
2121
.then((registration) => {
2222
console.log('SW registered:', registration);
2323

src/utils/githubUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
export const openGitHubNewIssue = (issuesUrl?: string): void => {
66
const defaultUrl =
7-
"https://github.com/Azure-Samples/postgres-appdev-hub/issues/new?template=feedback.md";
7+
"https://github.com/Azure-Samples/postgres-hub/issues/new?template=feedback.md";
88
window.open(issuesUrl || defaultUrl, "_blank");
99
};
1010

src/utils/serviceWorkerRegistration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
export function register(): void {
77
if (typeof window !== 'undefined' && 'serviceWorker' in navigator) {
88
window.addEventListener('load', () => {
9-
const swUrl = '/postgres-appdev-hub/service-worker.js';
9+
const swUrl = '/postgres-hub/service-worker.js';
1010

1111
navigator.serviceWorker
1212
.register(swUrl)

static/service-worker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const MAX_CACHE_AGE = 7 * 24 * 60 * 60 * 1000; // 7 days
1313

1414
// Resources to cache immediately on install
1515
const PRECACHE_URLS = [
16-
'/postgres-appdev-hub/',
17-
'/postgres-appdev-hub/index.html',
16+
'/postgres-hub/',
17+
'/postgres-hub/index.html',
1818
];
1919

2020
// Install event - precache essential resources
@@ -147,7 +147,7 @@ self.addEventListener('fetch', (event) => {
147147
return networkResponse;
148148
}).catch(() => {
149149
return caches.match(request).then((cachedResponse) => {
150-
return cachedResponse || caches.match('/postgres-appdev-hub/index.html');
150+
return cachedResponse || caches.match('/postgres-hub/index.html');
151151
});
152152
})
153153
);

static/sw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const IMAGE_CACHE_NAME = 'postgres-gallery-images-v1';
88

99
// Cache static assets immediately
1010
const STATIC_ASSETS = [
11-
'/postgres-appdev-hub/',
12-
'/postgres-appdev-hub/index.html',
11+
'/postgres-hub/',
12+
'/postgres-hub/index.html',
1313
];
1414

1515
// Install event - cache static assets

0 commit comments

Comments
 (0)