Skip to content

Commit fd7f788

Browse files
committed
🎉 Initial commit
1 parent 71773ed commit fd7f788

File tree

19 files changed

+32711
-1
lines changed

19 files changed

+32711
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# Trigger the workflow every time you push to the `main` branch
5+
push:
6+
branches: [main]
7+
# Allows you to run this workflow manually from the Actions tab on GitHub.
8+
workflow_dispatch:
9+
10+
# Allow this job to clone the repo and create a page deployment
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout your repository using git
21+
uses: actions/checkout@v4
22+
- name: Install, build, and upload your site
23+
uses: withastro/action@v3
24+
# with:
25+
# path: . # The root location of your Astro project inside the repository. (optional)
26+
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
27+
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
28+
29+
deploy:
30+
needs: build
31+
runs-on: ubuntu-latest
32+
environment:
33+
name: github-pages
34+
url: ${{ steps.deployment.outputs.page_url }}
35+
steps:
36+
- name: Deploy to GitHub Pages
37+
id: deployment
38+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store

.prettierrc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-FileCopyrightText: Simon Schneegans <[email protected]>
2+
# SPDX-License-Identifier: CC0-1.0
3+
4+
trailingComma: 'es5'
5+
printWidth: 90
6+
semi: true
7+
singleQuote: true
8+
bracketSameLine: true
9+
singleAttributePerLine: false
10+
useTabs: false
11+
tabWidth: 2

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
# cosmoscout.github.io
1+
# The Homepage of [CosmoScout VR](https://github.com/cosmoscout/cosmoscout-vr)
2+
3+
> [!IMPORTANT]
4+
> This page is currently under construction! It will receive more content and major updates.
5+
6+
Feel free to improve the documentation by submitting a pull request to this repository.
7+
If you want to preview your changes locally, you only need to clone your fork and run the following commands:
8+
9+
```bash
10+
npm install
11+
npm run dev
12+
```
13+
14+
This will start a local development server at http://localhost:4321.
15+
16+
## Documentation
17+
18+
This page uses the [Starlight](https://starlight.astro.build/getting-started/) theme for the [Astro](https://docs.astro.build/en/getting-started/) framework to generate static HTML files.
19+
You can find some documentation about the frameworks by using these links.

astro.config.mjs

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
// @ts-check
2+
import starlight from '@astrojs/starlight';
3+
import icon from 'astro-icon';
4+
import { defineConfig } from 'astro/config';
5+
6+
// https://astro.build/config
7+
export default defineConfig({
8+
site: 'https://cosmoscout.github.io',
9+
integrations: [
10+
icon(),
11+
starlight({
12+
title: 'CosmoScout VR',
13+
logo: {
14+
src: './src/assets/cosmoscout.svg',
15+
alt: 'CosmoScout VR Logo',
16+
},
17+
editLink: {
18+
baseUrl: 'https://github.com/cosmoscout/cosmoscout.github.io/edit/main/',
19+
},
20+
social: {
21+
github: 'https://github.com/cosmoscout/cosmoscout-vr',
22+
},
23+
sidebar: [
24+
{
25+
label: 'Getting Started',
26+
autogenerate: { directory: 'getting-started' },
27+
},
28+
{
29+
label: 'Getting Involved',
30+
autogenerate: { directory: 'getting-involved' },
31+
},
32+
{
33+
label: 'Plugins',
34+
autogenerate: { directory: 'plugins' },
35+
},
36+
{
37+
label: 'Issue Tracker 🗗',
38+
link: 'https://github.com/cosmoscout/cosmoscout-vr/issues',
39+
attrs: { target: '_blank' },
40+
},
41+
{
42+
label: 'Changelog 🗗',
43+
link: 'https://github.com/cosmoscout/cosmoscout-vr/blob/main/docs/changelog.md',
44+
attrs: { target: '_blank' },
45+
},
46+
{
47+
label: 'Code of Conduct 🗗',
48+
link: 'https://github.com/cosmoscout/cosmoscout-vr/blob/main/docs/code_of_conduct.md',
49+
attrs: { target: '_blank' },
50+
},
51+
],
52+
lastUpdated: true,
53+
customCss: ['./src/styles/custom.css'],
54+
components: {
55+
Footer: './src/components/Footer.astro',
56+
},
57+
}),
58+
],
59+
});

0 commit comments

Comments
 (0)