Skip to content

Commit ff7d3cc

Browse files
Update deployment configuration and URLs
1 parent b05d49f commit ff7d3cc

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
# Trigger the workflow every time you push to the `main` branch
55
# Using a different branch name? Replace `main` with your branch’s name
66
push:
7-
branches: [ main ]
7+
branches: [main]
88
# Allows you to run this workflow manually from the Actions tab on GitHub.
99
workflow_dispatch:
1010

@@ -38,4 +38,4 @@ jobs:
3838
steps:
3939
- name: Deploy to GitHub Pages
4040
id: deployment
41-
uses: actions/deploy-pages@v1
41+
uses: actions/deploy-pages@v1

.yarnrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodeLinker: node-modules
1+
nodeLinker: node-modules

astro.config.mjs

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,21 @@ import starlight from "@astrojs/starlight";
33

44
// https://astro.build/config
55
export default defineConfig({
6-
site: "https://ihsenbouallegue.github.io",
7-
base: "/openipc-docs",
6+
site: "https://docs.openipc.org",
7+
base: "/",
88
integrations: [
99
starlight({
1010
title: "Documentation",
1111
social: {
12-
github: "https://github.com/withastro/starlight",
12+
github: "https://github.com/OpenIPC",
1313
},
1414
logo: {
1515
light: './src/assets/logo/OpenIPC__OPENIPC_logo_vertical.svg',
1616
dark: './src/assets/logo/OpenIPC__OPENIPC_logo_vertical_white.svg',
1717
},
18+
editLink: {
19+
baseUrl: 'https://github.com/OpenIPC/docs/edit/main/',
20+
},
1821
sidebar: [
1922
{
2023
label: "Getting Started",

public/CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs.openipc.org

src/content/docs/index.mdx

+5-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ import { Card, CardGrid } from "@astrojs/starlight/components";
2323

2424
<CardGrid stagger>
2525
<Card title="Explore Hardware Compatibility" icon="camera">
26-
Check [the Hardware section](/openipc-docs/hardware/supported-devices/). for compatible
27-
devices and setup instructions.
26+
Check [the Hardware section](/openipc-docs/hardware/supported-devices/). for
27+
compatible devices and setup instructions.
2828
</Card>
2929
<Card title="Configure Your Camera" icon="gear">
30-
Navigate to [the Software section](/openipc-docs/software/software-overview/). for
31-
software settings and customizations.
30+
Navigate to [the Software
31+
section](/openipc-docs/software/software-overview/). for software settings
32+
and customizations.
3233
</Card>
3334
<Card title="Join the Community" icon="group">
3435
Connect with other users in the OpenIPC community for support and

0 commit comments

Comments
 (0)