Skip to content

Bring this repo back to life - #627

Open
OisinKyne wants to merge 1 commit into
mainfrom
oisin/back2life
Open

Bring this repo back to life#627
OisinKyne wants to merge 1 commit into
mainfrom
oisin/back2life

Conversation

@OisinKyne

Copy link
Copy Markdown
Contributor

Summary

We can save >$1500 per year by using a github pages docusaurus site vs gitbook, with AI, maintaining it should be pretty straightforward. This PR ports the current live docs, and we can consider swapping over.

@netlify

netlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploy Preview for obol-docs ready!

Name Link
🔨 Latest commit 6d33417
🔍 Latest deploy log https://app.netlify.com/projects/obol-docs/deploys/6a5a2ee6ee6adf0008477066
😎 Deploy Preview https://deploy-preview-627--obol-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

Comment on lines +9 to +28
name: Build and typecheck
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Checkout
uses: actions/checkout@v5

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- name: Test build
run: |
yarn install --frozen-lockfile
yarn build No newline at end of file

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Typecheck
run: yarn typecheck

- name: Build site
let t = seg.text;

// drop HTML comments (invalid in MDX, invisible in CommonMark anyway)
t = t.replace(/<!--[\s\S]*?-->/g, '');
? resolveAssetRef(src, ctx.docDir) ?? src
: src;
const cap = (caption ?? '').trim();
let md = `![${alt.replace(/([\[\]])/g, '\\$1')}](${encodeUrlForMd(url)})`;
const url = src.includes('.gitbook/assets/')
? resolveAssetRef(src, ctx.docDir) ?? src
: src;
return `![${alt.replace(/([\[\]])/g, '\\$1')}](${encodeUrlForMd(url)})`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants