-
-
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.
Merge pull request #24 from Imzxhir/main
Switch to Starlight
- Loading branch information
Showing
38 changed files
with
7,328 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
name: Deploy the Docs | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
deploy: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- uses: actions/cache@v3 | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v3 | ||
- name: Install, build, and upload your site | ||
uses: withastro/action@v1 | ||
with: | ||
key: ${{ github.ref }} | ||
path: .cache | ||
- run: pip install mkdocs-material | ||
- run: pip install mkdocs-glightbox | ||
- run: git pull | ||
- run: mkdocs gh-deploy -f config/en/mkdocs.yml | ||
node-version: 18 | ||
package-manager: pnpm@latest | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 |
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,49 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import starlight from '@astrojs/starlight'; | ||
|
||
export default defineConfig({ | ||
site: 'https://wiki.sidestore.io', | ||
integrations: [ | ||
starlight({ | ||
title: 'SideStore Docs', | ||
logo: { | ||
alt: 'SideStore Logo', | ||
src: '/src/assets/icons/sidestore-icon.png', | ||
replacesTitle: false, | ||
}, | ||
favicon: '/favicon.svg', | ||
social: { | ||
github: 'https://github.com/sidestore', | ||
discord: 'https://discord.gg/sidestore-949183273383395328', | ||
twitter: 'https://twitter.com/sidestore_io' | ||
}, | ||
customCss: [ | ||
'./src/styles/custom.css', | ||
], | ||
sidebar: [ | ||
{ | ||
label: 'FAQ', | ||
link: 'faq', | ||
}, | ||
{ | ||
label: 'Guides', | ||
items: [ | ||
{ label: 'Getting Started', link: '/guides/getting-started/' }, | ||
{ label: 'Create a Burner Apple ID', link: '/guides/burner-apple-id/' }, | ||
{ label: 'Troubleshooting', link: '/guides/troubleshooting/' }, | ||
{ label: 'Error Codes', link: '/guides/error-codes/' }, | ||
], | ||
}, | ||
{ | ||
label: 'Advanced', | ||
items: [ | ||
{ label: 'Custom Anisette Server', link: '/advanced/anisette-server/' }, | ||
{ label: 'App Sources', link: '/advanced/app-sources/' }, | ||
{ label: 'URL Schemes', link: '/advanced/url-schemes/' }, | ||
] | ||
|
||
}, | ||
], | ||
}), | ||
], | ||
}); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.