-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: re-organise into tabs with upgraded fern and pr previews (#354)
* docs: re-organise into tabs & add a PR preview for docs * update slack support status * fix 500 error on fern previews & update redirects * fix api reference link * update ci workflow * fix production docs url
- Loading branch information
1 parent
376bdb2
commit 9f8de9b
Showing
43 changed files
with
127 additions
and
71 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
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,28 @@ | ||
name: preview-docs | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
generate-preview-docs: | ||
name: Generate Documentation Preview | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Install Fern | ||
run: npm install -g fern-api | ||
|
||
- name: Generate Documentation Preview with Fern | ||
env: | ||
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | ||
run: fern generate --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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,78 @@ | ||
title: Revert | API Docs | ||
instances: | ||
- url: revert.docs.buildwithfern.com | ||
custom-domain: docs.revert.dev | ||
tabs: | ||
help: | ||
display-name: Overview | ||
icon: 'fa-solid fa-globe' | ||
api: | ||
display-name: API Reference | ||
icon: 'fa-solid fa-code' | ||
navigation: | ||
- tab: help | ||
layout: | ||
- section: Introduction | ||
contents: | ||
- page: Getting Started | ||
path: ./docs/contents/intro.mdx | ||
- section: Quick Start | ||
contents: | ||
- page: Quick Start | ||
path: ./docs/contents/quick-start.mdx | ||
- section: Use Cases | ||
contents: | ||
- page: Use Cases | ||
path: ./docs/contents/usecases.mdx | ||
- section: How it works | ||
contents: | ||
- page: How it works | ||
path: ./docs/contents/how-it-works.mdx | ||
- section: Rate Limits | ||
contents: | ||
- page: Rate limits | ||
path: ./docs/contents/rate-limits.mdx | ||
- section: Pagination | ||
contents: | ||
- page: Pagination | ||
path: ./docs/contents/pagination.mdx | ||
- section: API Versioning | ||
contents: | ||
- page: API Versioning | ||
path: ./docs/contents/versioning.mdx | ||
- section: Webhooks | ||
contents: | ||
- page: Webhooks | ||
path: ./docs/contents/webhooks.mdx | ||
- section: Developer Guide | ||
contents: | ||
- page: Developer Guide | ||
path: ./docs/contents/developer-guides.mdx | ||
- section: CRM Support | ||
contents: | ||
- page: CRM Support | ||
path: ./docs/contents/crm-supported.mdx | ||
- section: Messaging tools Support | ||
contents: | ||
- page: Messaging tools Support | ||
path: ./docs/contents/messaging-supported.mdx | ||
- tab: api | ||
layout: | ||
- api: API Reference | ||
colors: | ||
accentPrimary: '#ffffff' | ||
logo: | ||
dark: ./docs/assets/logo.png | ||
light: ./docs/assets/logo.png | ||
href: https://revert.dev | ||
favicon: ./docs/assets/favicon.ico | ||
navbar-links: | ||
- type: secondary | ||
text: Star us on Github ⭐ | ||
url: https://github.com/revertinc/Revert | ||
- type: secondary | ||
text: Join our discord | ||
url: https://discord.gg/q5K5cRhymW | ||
- type: primary | ||
text: Book a demo | ||
url: https://calendly.com/jatin-revert-dev/30min |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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,4 +1,4 @@ | ||
{ | ||
"organization": "revert", | ||
"version": "0.12.0" | ||
"version": "0.15.0-rc70" | ||
} |
File renamed without changes.
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 |
---|---|---|
|
@@ -15,6 +15,10 @@ | |
}, | ||
"scripts": { | ||
"fern": "fern generate --log-level debug --group local", | ||
"fern-check": "fern check", | ||
"fern-format": "fern format", | ||
"fern-upgrade": "fern upgrade --rc", | ||
"fern-docs:preview": "fern generate --docs --preview", | ||
"fern-docs": "fern generate --group external", | ||
"build": "yarn workspaces foreach run build", | ||
"prepare": "husky install", | ||
|
@@ -26,4 +30,4 @@ | |
"seed": "ts-node --transpile-only ./packages/backend/prisma/seed.ts" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
9f8de9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
revert-client – ./
revert-client-git-main-revertdev.vercel.app
revert-client-revertdev.vercel.app
app.revert.dev