Skip to content

Commit c08c0fe

Browse files
committed
Update all URLs for zig-index.github.io repository rename
1 parent 2d945d8 commit c08c0fe

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Create a new file in the appropriate directory:
7171

7272
For website improvements:
7373

74-
1. Fork https://github.com/Zig-Index/website
74+
1. Fork https://github.com/Zig-Index/zig-index.github.io
7575
2. Create a feature branch
7676
3. Make your changes
7777
4. Submit a Pull Request
@@ -80,8 +80,8 @@ For website improvements:
8080

8181
```bash
8282
# Clone with submodules
83-
git clone --recurse-submodules https://github.com/Zig-Index/website.git
84-
cd website
83+
git clone --recurse-submodules https://github.com/Zig-Index/zig-index.github.io.git
84+
cd zig-index.github.io
8585

8686
# Install dependencies
8787
npm install
@@ -113,7 +113,7 @@ Use existing topics when possible. Common ones include:
113113

114114
## Questions?
115115

116-
- Open an issue on [GitHub](https://github.com/Zig-Index/website/issues)
116+
- Open an issue on [GitHub](https://github.com/Zig-Index/zig-index.github.io/issues)
117117
- Check the [FAQ](https://zig-index.github.io/how-to-add)
118118

119119
Thank you for contributing to the Zig ecosystem! 🚀

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A curated registry for discovering Zig packages and applications.
1818

1919
This is the main website repository. The registry data is maintained separately:
2020

21-
- **Website**: https://github.com/Zig-Index/website (this repo)
21+
- **Website**: https://github.com/Zig-Index/zig-index.github.io (this repo)
2222
- **Registry**: https://github.com/Zig-Index/registry (submodule at `src/registry`)
2323

2424
## Add Your Project
@@ -56,8 +56,8 @@ See the [registry README](https://github.com/Zig-Index/registry) for details.
5656

5757
```bash
5858
# Clone with submodules
59-
git clone --recurse-submodules https://github.com/Zig-Index/website.git
60-
cd website
59+
git clone --recurse-submodules https://github.com/Zig-Index/zig-index.github.io.git
60+
cd zig-index.github.io
6161

6262
# Or if already cloned, initialize submodules
6363
git submodule update --init --recursive

astro.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import markdoc from '@astrojs/markdoc';
1010

1111
// https://astro.build/config
1212
export default defineConfig({
13-
site: 'https://zig-index.github.io/website',
14-
base: '/website',
13+
site: 'https://zig-index.github.io',
1514
output: 'static',
1615

1716
integrations: [

src/components/Footer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const footerLinks = {
1515
{ label: "Zig Forum", href: "https://ziggit.dev", external: true },
1616
],
1717
community: [
18-
{ label: "GitHub", href: "https://github.com/Zig-Index/website", external: true },
18+
{ label: "GitHub", href: "https://github.com/Zig-Index/zig-index.github.io", external: true },
1919
],
2020
};
2121

@@ -37,7 +37,7 @@ export function Footer() {
3737
</p>
3838
<div className="flex items-center gap-3">
3939
<a
40-
href="https://github.com/Zig-Index/website"
40+
href="https://github.com/Zig-Index/zig-index.github.io"
4141
target="_blank"
4242
rel="noopener noreferrer"
4343
className="text-muted-foreground hover:text-foreground transition-colors"
@@ -104,7 +104,7 @@ export function Footer() {
104104
<ul className="space-y-2">
105105
<li>
106106
<a
107-
href="https://github.com/Zig-Index/website"
107+
href="https://github.com/Zig-Index/zig-index.github.io"
108108
target="_blank"
109109
rel="noopener noreferrer"
110110
className="text-sm text-muted-foreground hover:text-foreground transition-colors"

src/components/Navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export function Navbar({ onSearch, searchValue, searchItems = [] }: NavbarProps)
260260

261261
<Button variant="ghost" size="icon" asChild className="hidden sm:flex" title="View Zig Index on GitHub">
262262
<a
263-
href="https://github.com/Zig-Index/website"
263+
href="https://github.com/Zig-Index/zig-index.github.io"
264264
target="_blank"
265265
rel="noopener noreferrer"
266266
aria-label="View Zig Index source code on GitHub"
@@ -334,7 +334,7 @@ export function Navbar({ onSearch, searchValue, searchItems = [] }: NavbarProps)
334334
</Button>
335335
<Button variant="outline" asChild title="View on GitHub">
336336
<a
337-
href="https://github.com/Zig-Index/website"
337+
href="https://github.com/Zig-Index/zig-index.github.io"
338338
target="_blank"
339339
rel="noopener noreferrer"
340340
>

src/pages/500.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const schema = {
5858
If the problem persists, please
5959
</p>
6060
<a
61-
href="https://github.com/Zig-Index/website/issues/new"
61+
href="https://github.com/Zig-Index/zig-index.github.io/issues/new"
6262
target="_blank"
6363
rel="noopener noreferrer"
6464
class="text-sm text-primary hover:underline"

0 commit comments

Comments
 (0)