-
Notifications
You must be signed in to change notification settings - Fork 2
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
17 changed files
with
2,506 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Deploy | ||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
concurrency: | ||
group: deploy-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
MISE_EXPERIMENTAL: 1 | ||
|
||
jobs: | ||
docs: | ||
name: Docs | ||
runs-on: ubuntu-latest | ||
env: | ||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
- uses: jdx/mise-action@v2 | ||
with: | ||
experimental: true | ||
- run: mise run install | ||
- run: mise run docs:deploy |
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,47 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
concurrency: | ||
group: docs-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
MISE_EXPERIMENTAL: 1 | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: 'ubuntu-latest' | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: jdx/mise-action@v2 | ||
- name: Install dependencies | ||
run: mise run install | ||
- name: Build | ||
run: mise run docs:build | ||
lint: | ||
name: Lint | ||
runs-on: 'ubuntu-latest' | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: jdx/mise-action@v2 | ||
- name: Restore Cache | ||
uses: actions/cache@v3 | ||
id: mix-cache | ||
with: | ||
path: | | ||
deps | ||
_build | ||
_site | ||
key: mix-${{ hashFiles('mix.lock') }} | ||
- name: Install dependencies | ||
run: mise run install | ||
- name: Run Credo | ||
run: mise run lint |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[tools] | ||
tuist = "4.23.0" | ||
"git-cliff" = "2.4.0" | ||
"git-cliff" = "2.4.0" | ||
"pnpm" = "9.7" | ||
"nodejs" = "22.6.0" |
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
pnpm run -C $MISE_PROJECT_ROOT/docs build |
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
pnpm run -C $MISE_PROJECT_ROOT/docs deploy |
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
pnpm run -C $MISE_PROJECT_ROOT/docs dev |
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
pnpm run -C $MISE_PROJECT_ROOT/docs preview |
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,61 @@ | ||
import { defineConfig } from 'vitepress' | ||
import { | ||
cubeOutlineIcon, | ||
cube02Icon, | ||
cube01Icon, | ||
barChartSquare02Icon, | ||
code02Icon, | ||
dataIcon, | ||
checkCircleIcon, | ||
tuistIcon, | ||
cloudBlank02Icon, | ||
server04Icon, | ||
} from "./icons.mjs"; | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "Apple Bundle Analyzer", | ||
titleTemplate: ':title | Apple Bundle Analyzer | Tuist', | ||
description: "Analyze Apple-generated bundles", | ||
themeConfig: { | ||
logo: "/logo.png", | ||
search: { | ||
provider: "local", | ||
}, | ||
nav: [ | ||
{ text: "Changelog", link: "https://github.com/tuist/AppleBundleAnalyzer/releases" } | ||
], | ||
editLink: { | ||
pattern: "https://github.com/tuist/AppleBundleAnalyzer/edit/main/docs/:path", | ||
}, | ||
sidebar: [ | ||
{ | ||
text: `<span style="display: flex; flex-direction: row; align-items: center; gap: 7px;">Quick start ${tuistIcon()}</span>`, | ||
items: [ | ||
{ text: 'Why Apple Bundle Analyzer?', link: '/' }, | ||
{ text: 'Add dependency', link: '/quick-start/add-dependency' }, | ||
] | ||
}, | ||
{ | ||
text: `<span style="display: flex; flex-direction: row; align-items: center; gap: 7px;">API ${cube01Icon()}</span>`, | ||
items: [ | ||
{ text: 'Schema', link: '/api/schema' }, | ||
] | ||
} | ||
], | ||
|
||
socialLinks: [ | ||
{ icon: "github", link: "https://github.com/tuist/tuist" }, | ||
{ icon: "x", link: "https://x.com/tuistio" }, | ||
{ icon: "mastodon", link: "https://fosstodon.org/@tuist" }, | ||
{ | ||
icon: "slack", | ||
link: "https://slack.tuist.io", | ||
}, | ||
], | ||
footer: { | ||
message: "Released under the MIT License.", | ||
copyright: "Copyright © 2024-present Tuist Inc.", | ||
}, | ||
} | ||
}) |
Oops, something went wrong.