Skip to content

Commit 688c125

Browse files
committed
Initial commit
0 parents  commit 688c125

54 files changed

Lines changed: 6191 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v6
24+
25+
- name: Install, build, and upload site
26+
uses: withastro/action@v6
27+
with:
28+
node-version: 24
29+
package-manager: yarn
30+
31+
deploy:
32+
needs: build
33+
runs-on: ubuntu-latest
34+
environment:
35+
name: github-pages
36+
url: ${{ steps.deployment.outputs.page_url }}
37+
steps:
38+
- name: Deploy to GitHub Pages
39+
id: deployment
40+
uses: actions/deploy-pages@v5

.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

CLAUDE.md

Lines changed: 5 additions & 0 deletions

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 20 additions & 0 deletions

astro.config.mjs

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
import starlight from '@astrojs/starlight';
4+
import starlightLinksValidator from 'starlight-links-validator';
5+
6+
import tailwindcss from '@tailwindcss/vite';
7+
8+
// https://astro.build/config
9+
export default defineConfig({
10+
site: 'https://docs.activistchecklist.org',
11+
integrations: [
12+
starlight({
13+
plugins: [starlightLinksValidator()],
14+
title: 'Activist Checklist Contributor Guide',
15+
favicon: '/favicon-32x32.png',
16+
customCss: ['./src/styles/global.css'],
17+
social: [
18+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/ActivistChecklist/docs.activistchecklist.org' },
19+
{ icon: 'blueSky', label: 'Bluesky', href: 'https://bsky.app/profile/activistchecklist.org' },
20+
],
21+
sidebar: [
22+
{ label: 'Get started', slug: '' },
23+
{
24+
label: 'Writing Guides',
25+
items: [
26+
{ label: 'Start writing', slug: 'writing/start-writing' },
27+
{ label: 'Drafting workflow', slug: 'writing/workflow' },
28+
{ label: 'Style guide', slug: 'writing/style' },
29+
{ label: 'Page structure & formatting', slug: 'writing/structure' },
30+
{ label: 'Using the visual editor', slug: 'writing/visual-editor' },
31+
],
32+
},
33+
{
34+
label: 'Translating',
35+
items: [
36+
{ label: 'Start translating', slug: 'translating/start-translating' },
37+
{ label: 'Translation style guide', slug: 'translating/translation-style' },
38+
],
39+
},
40+
{
41+
label: 'Coding',
42+
items: [
43+
{ label: 'Start coding', slug: 'coding/getting-started' },
44+
{ label: 'Anonymous commits', slug: 'coding/anonymous-commits' },
45+
],
46+
},
47+
{
48+
label: 'Reference',
49+
items: [
50+
{ label: 'Create an anonymous GitHub account', slug: 'reference/anonymous-github' },
51+
],
52+
},
53+
],
54+
}),
55+
],
56+
57+
vite: {
58+
plugins: [tailwindcss()],
59+
},
60+
});

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "docs-activistchecklist-org",
3+
"type": "module",
4+
"version": "0.0.1",
5+
"scripts": {
6+
"dev": "astro dev",
7+
"start": "astro dev",
8+
"build": "astro build",
9+
"preview": "astro preview",
10+
"astro": "astro"
11+
},
12+
"dependencies": {
13+
"@astrojs/check": "^0.9.8",
14+
"@astrojs/starlight": "^0.38.3",
15+
"@astrojs/starlight-tailwind": "^5.0.0",
16+
"@tailwindcss/vite": "^4.2.2",
17+
"astro": "^6.0.1",
18+
"sharp": "^0.34.2",
19+
"starlight-links-validator": "^0.23.0",
20+
"tailwindcss": "^4.2.2",
21+
"typescript": "^6.0.2"
22+
}
23+
}

public/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs.activistchecklist.org

public/favicon-32x32.png

1.17 KB
183 KB
Binary file not shown.

0 commit comments

Comments
 (0)