-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,866 additions
and
1,790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,41 @@ | ||
import { defineConfig } from 'vitepress' | ||
import { defineConfig } from "vitepress"; | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
locales: { | ||
root: { | ||
label: 'English', | ||
lang: 'en', | ||
link: '/en' | ||
base: "/docs", | ||
locales: { | ||
root: { | ||
label: "English", | ||
lang: "en", | ||
link: "/en", | ||
}, | ||
nl: { | ||
label: "Nederlands", | ||
lang: "nl", | ||
link: "/nl", | ||
}, | ||
}, | ||
nl: { | ||
label: 'Nederlands', | ||
lang: 'nl', | ||
link: '/nl' | ||
} | ||
}, | ||
title: "Ypovoli", | ||
description: "A ugent site", | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: [ | ||
// { text: 'Home', link: '/en/' }, | ||
// { text: 'Examples', link: '/markdown-examples' } | ||
], | ||
title: "Ypovoli", | ||
description: "A ugent site", | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: [ | ||
// { text: 'Home', link: '/en/' }, | ||
// { text: 'Examples', link: '/markdown-examples' } | ||
], | ||
|
||
sidebar: [ | ||
{ | ||
text: 'Algemeen', | ||
items: [ | ||
// { text: 'Markdown Examples', link: '/markdown-examples' }, | ||
// { text: 'Runtime API Examples', link: '/api-examples' } | ||
] | ||
} | ||
], | ||
sidebar: [ | ||
{ | ||
text: "Algemeen", | ||
items: [ | ||
// { text: 'Markdown Examples', link: '/markdown-examples' }, | ||
// { text: 'Runtime API Examples', link: '/api-examples' } | ||
], | ||
}, | ||
], | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/SELab-2/UGent-7' } | ||
] | ||
} | ||
}) | ||
socialLinks: [ | ||
{ icon: "github", link: "https://github.com/SELab-2/UGent-7" }, | ||
], | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM node:18.17.1-alpine3.17 | ||
|
||
WORKDIR /docs | ||
|
||
COPY package*.json ./ | ||
|
||
RUN npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM node:18.17.1-alpine3.17 as build-stage | ||
WORKDIR /docs | ||
COPY package*.json ./ | ||
RUN npm install | ||
COPY ./ . | ||
RUN npm run build | ||
|
||
FROM nginx:alpine-slim as production-stage | ||
EXPOSE 3000 | ||
RUN mkdir /docs | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
COPY --from=build-stage /docs/.vitepress/dist /docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
server { | ||
listen 3000; | ||
|
||
location / { | ||
root /docs; | ||
index index.html index.htm; | ||
try_files $uri $uri/ /index.html; | ||
} | ||
} |
Oops, something went wrong.