Skip to content

Docs: adds Docusaurus site #1113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5064ff1
docs:removing old framework
lukegalbraithrussell Jul 25, 2024
f92e690
docs:setting up docs files
lukegalbraithrussell Jul 25, 2024
ef39476
docs: now buildable
lukegalbraithrussell Jul 25, 2024
55e98c0
docs: adding temporary reference
lukegalbraithrussell Jul 26, 2024
fb6ac04
docs: remove temporary duplicated reference
lukegalbraithrussell Jul 26, 2024
ce7abbf
docs: renamed nested docs folder to content
lukegalbraithrussell Jul 26, 2024
45aabb5
docs: feedback from other pr
lukegalbraithrussell Jul 30, 2024
7ceb1fd
docs: broken link
lukegalbraithrussell Jul 30, 2024
624fe6c
docs: move reference folders over
lukegalbraithrussell Jul 30, 2024
55a5f16
docs: matching bolt-js
lukegalbraithrussell Jul 30, 2024
8080056
docs: package-lock refresh
lukegalbraithrussell Jul 30, 2024
7089a23
docs: change reference gen path
lukegalbraithrussell Jul 30, 2024
a64c7a8
Apply suggestions from eden
lukegalbraithrussell Jul 31, 2024
d642ba6
docs - feadback from zim
lukegalbraithrussell Jul 31, 2024
2e93c2b
docs - feedback from william regarding scripts
lukegalbraithrussell Jul 31, 2024
3ff3cc6
Update scripts/generate_api_docs.sh
lukegalbraithrussell Jul 31, 2024
cf451be
Update .github/maintainers_guide.md
lukegalbraithrussell Jul 31, 2024
528901b
docs - update path to reference
lukegalbraithrussell Jul 31, 2024
c5b1e2c
translated tutorials sidebar
lukegalbraithrussell Jul 31, 2024
c36b9be
docs - same redirect set up as bolt-js
lukegalbraithrussell Aug 1, 2024
7e10773
docs: remove dupe content
lukegalbraithrussell Aug 1, 2024
1f16536
Merge branch 'main' into luke-docs-overhaul
lukegalbraithrussell Aug 2, 2024
1353ce4
docs: matching bolt-js
lukegalbraithrussell Aug 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .github/maintainers_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ If you want to test the package locally you can.

### Releasing

#### Generate API documents
#### Generate API reference documents

```bash
./scripts/generate_api_docs.sh
Expand Down Expand Up @@ -230,6 +230,10 @@ with labels. An issue should have **one** of the following labels applied: `bug`
Issues are closed when a resolution has been reached. If for any reason a closed issue seems relevant once again,
reopening is great and better than creating a duplicate issue.

## Managing Documentation

See the [`/docs/README.md`](./docs/README.md) file for documentation instructions.

## Everything else

When in doubt, find the other maintainers and ask.
62 changes: 62 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Deploy to GitHub Pages

on:
pull_request:
branches:
- main
paths:
- 'docs/**'
push:
branches:
- main
paths:
- 'docs/**'
workflow_dispatch:

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: 20
cache: npm
cache-dependency-path: docs/package-lock.json

- name: Install dependencies
run: npm ci
working-directory: ./docs

- name: Build website
run: npm run build
working-directory: ./docs

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

deploy:
name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # verifies deployment is 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
11 changes: 3 additions & 8 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
_site
Gemfile.lock
.env
.jekyll-metadata
.vscode/
.bundle/
vendor/
.ruby-version
node_modules/
.docusaurus
build
198 changes: 0 additions & 198 deletions docs/.markdownlint.yml

This file was deleted.

4 changes: 0 additions & 4 deletions docs/Gemfile

This file was deleted.

Loading