Skip to content

Commit

Permalink
Merge pull request #49 from tulilirockz/docusaurus
Browse files Browse the repository at this point in the history
feat: move to Docusaurus!
  • Loading branch information
castrojo authored Dec 9, 2024
2 parents 5d07bc2 + 4d218ff commit c7013c8
Show file tree
Hide file tree
Showing 143 changed files with 19,288 additions and 40,070 deletions.
4 changes: 0 additions & 4 deletions .circleci/circle_urls.sh

This file was deleted.

50 changes: 0 additions & 50 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [castrojo, tulilirockz]
49 changes: 49 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main

jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: build

deploy:
name: Deploy to GitHub Pages
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
22 changes: 22 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check syntax

on:
push:

jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22

- name: Install dependencies
run: sudo npm install -g prettier

- name: Check syntax with prettier
run: /usr/local/bin/prettier --check .
25 changes: 25 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Validate Renovate

on:
pull_request:
paths:
- "**/renovate.json"
- "**/renovate.json5"

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: latest

- name: Install dependencies
run: npm install -g renovate

- name: Validate Renovate config
run: renovate-config-validator --strict
6 changes: 3 additions & 3 deletions .github/workflows/main.yml → .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ inputs.fedora_version }}
cancel-in-progress: true
Expand All @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- name: Check for typos
uses: crate-ci/typos@592b36d23c62cb378f6097a292bc902ee73f93ef # version 1.0.4
with:
files: ./README.md ./_docs ./pages ./_posts
with:
files: ./README.md ./docs ./pages
24 changes: 20 additions & 4 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
vendor
_site
Gemfile.lock
node_modules/
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
11 changes: 0 additions & 11 deletions .prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

10 changes: 0 additions & 10 deletions 404.md

This file was deleted.

1 change: 0 additions & 1 deletion CNAME

This file was deleted.

29 changes: 0 additions & 29 deletions Gemfile

This file was deleted.

3 changes: 0 additions & 3 deletions Justfile

This file was deleted.

16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,21 @@ These docs are pretty sparse on purpose as Bluefin's intended to be invisible. I

You've made some changes and want to see how they look?

You can install jekyll and run it:
You can install node and run it:

```
brew install ruby
gem install bundler
bundle install
jekyll serve
npm run i
npm run start
```

Then make sure to format all your files with Prettier!
Alternatively, you can run the container:

```
just format
docker compose up
```

Alternatively, you can run the container:
Then make sure to format all your files with Prettier!

```
docker compose up
npm run prettier
```
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

87 changes: 0 additions & 87 deletions _config.yml

This file was deleted.

6 changes: 0 additions & 6 deletions _data/navigation.yml

This file was deleted.

Loading

0 comments on commit c7013c8

Please sign in to comment.