Skip to content

Commit

Permalink
initial public commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Jun 26, 2024
0 parents commit 05b8619
Show file tree
Hide file tree
Showing 409 changed files with 41,250 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
5 changes: 5 additions & 0 deletions .changeset/cold-guests-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Updated dedicated-cloud and self-hosted icons
5 changes: 5 additions & 0 deletions .changeset/cold-spies-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Increased max-width for h3 and smaller to look better in combination with balanced text styles
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/curly-teachers-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Increase margin for section children
5 changes: 5 additions & 0 deletions .changeset/curvy-toys-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Use dvh height calculations for mobile sidebars to ensure mobile UI elements won't cause the sidebar to be cutoff at the bottom of the screen
5 changes: 5 additions & 0 deletions .changeset/eleven-owls-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Add link styles & hover state inside table cells
5 changes: 5 additions & 0 deletions .changeset/friendly-walls-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Added options to hide all and free filters for extension grids
5 changes: 5 additions & 0 deletions .changeset/gentle-news-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Fix for the mobile navigation dropdown showing an invalid active item when the pathname is empty
5 changes: 5 additions & 0 deletions .changeset/grumpy-rules-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Added images to the Schema objects
5 changes: 5 additions & 0 deletions .changeset/nice-doors-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Fixed the favicon path to load with the full page domain
25 changes: 25 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"tiptap-docs": "1.0.0-beta.0"
},
"changesets": [
"cold-guests-remain",
"cold-spies-heal",
"curly-teachers-film",
"curvy-toys-refuse",
"eleven-owls-refuse",
"gentle-news-mix",
"grumpy-rules-change",
"nice-doors-eat",
"silly-boats-smell",
"slow-feet-hammer",
"sour-boxes-invite",
"sweet-keys-switch",
"tidy-hotels-learn",
"weak-moose-peel",
"wild-crabs-lick",
"witty-rocks-sneeze"
]
}
5 changes: 5 additions & 0 deletions .changeset/silly-boats-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Added new icon set for home page
5 changes: 5 additions & 0 deletions .changeset/slow-feet-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Fixed issues with basepath URLs in footer links
5 changes: 5 additions & 0 deletions .changeset/sour-boxes-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Fixed page tracking via adding an initial mount check
5 changes: 5 additions & 0 deletions .changeset/sweet-keys-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': minor
---

Added changesets for versioning & changelog generation
5 changes: 5 additions & 0 deletions .changeset/tidy-hotels-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Added Hocuspocus links to footer
5 changes: 5 additions & 0 deletions .changeset/weak-moose-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Adjust code in anchor styles removing the bottom border & adding a highlight style for the code
5 changes: 5 additions & 0 deletions .changeset/wild-crabs-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Added missing extension pages
5 changes: 5 additions & 0 deletions .changeset/witty-rocks-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': patch
---

Decrease font size in mdx table cells
5 changes: 5 additions & 0 deletions .changeset/yellow-planes-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tiptap-docs': major
---

**We're happy to announce that we finally released our new Tiptap documentation!** - Welcome to the official documentation for all Tiptap products! Here, you'll find comprehensive guides, detailed examples, and in-depth documentation covering everything you need to know about working with Tiptap products.
16 changes: 16 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
NEXT_PUBLIC_REPO="ueberdosis/tiptap-docs-v2"
NEXT_PUBLIC_REPO_BASE="/src/app/"
NEXT_PUBLIC_DOCSEARCH_API_KEY=""
NEXT_PUBLIC_DOCSEARCH_HOST=""
NEXT_PUBLIC_DOCSEARCH_INDEX=""
NEXT_PUBLIC_DOCSEARCH_PORT=""
NEXT_PUBLIC_DOCSEARCH_PROTOCOL=""
NEXT_PUBLIC_COOKIEBOT_ID=""
NEXT_PUBLIC_DEMO_URL="https://embed.tiptap.dev/preview"
NEXT_PUBLIC_DEMO_URL_PRO="https://embed-pro.tiptap.dev/preview"
NEXT_PUBLIC_BASE_PATH=""
NEXT_PUBLIC_DOMAIN=""
NEXT_PUBLIC_GTM_ID=""

NEXT_DOMAIN=""
BASE_PATH=""
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": ["next/core-web-vitals", "plugin:prettier/recommended", "plugin:mdx/recommended"],
"rules": {
"no-tabs": "error",
"comma-dangle": ["error", "always-multiline"],
"eol-last": ["error", "always"],
"no-unused-vars": "warn",
"prefer-template": "error",
"import/order": "error"
}
}
29 changes: 29 additions & 0 deletions .github/workflows/docsearch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Automate, customize, and execute your software development workflows right in your repository with GitHub Actions.
# Documentation: https://docs.github.com/en/actions

name: docsearch

on:
deployment_status:
workflow_dispatch:
schedule:
- cron: '5 0 * * *'

jobs:

docsearch:
if: github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Run DocSearch Scraper
shell: bash
run: |
docker run \
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
-e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \
-e TYPESENSE_PORT="${{ secrets.TYPESENSE_PORT }}" \
-e TYPESENSE_PROTOCOL="${{ secrets.TYPESENSE_PROTOCOL }}" \
-e CONFIG="$(cat docsearch.config.json | jq -r tostring)" \
typesense/docsearch-scraper
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
*.env
.env

public/sitemap.xml

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/tiptap-docs-v2.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tailwindCSS.rootFontSize": 16,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"[mdx]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# tiptap-docs

## 1.0.0-beta.3

### Patch Changes

- 0a65fa9: Updated dedicated-cloud and self-hosted icons
- a82b249: Increased max-width for h3 and smaller to look better in combination with balanced text styles
- 6f08ede: Increase margin for section children
- a58865c: Add link styles & hover state inside table cells
- f8b1bb8: Adjust code in anchor styles removing the bottom border & adding a highlight style for the code
- 8d4e575: Decrease font size in mdx table cells

## 1.0.0-beta.2

### Patch Changes

- Use dvh height calculations for mobile sidebars to ensure mobile UI elements won't cause the sidebar to be cutoff at the bottom of the screen
- Fix for the mobile navigation dropdown showing an invalid active item when the pathname is empty
- Added images to the Schema objects
- Fixed the favicon path to load with the full page domain
- Added new icon set for home page
- Fixed issues with basepath URLs in footer links
- Fixed page tracking via adding an initial mount check
- Added Hocuspocus links to footer
- Added missing extension pages

## 1.0.0-beta.1

### Minor Changes

- a15824e: Added changesets for versioning & changelog generation
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contribution Guidelines

Thank you for your interest in contributing to the Tiptap documentation. We welcome contributions from everyone and appreciate your help in making our documentation even better.

## How to Contribute

To contribute, please follow these steps:

1. **Fork the Repository**: Start by forking the repository and cloning it to your local machine.
2. **Create a New Branch**: Create a new branch for your changes to keep your work organized and separate from the main branch.
3. **Make Your Changes**: Implement your changes or additions to the documentation.
4. **Test Your Changes**: Ensure your changes work correctly and do not introduce any issues.
5. **Create a Changeset**: Run `npx changeset` to create a new changeset. Select the appropriate change type (patch, minor, or major) and write a meaningful message describing your changes.
6. **Commit Your Changes**: Commit your changes with a clear and descriptive commit message.
7. **Push to Your Fork**: Push your changes to your fork on GitHub.
8. **Create a Pull Request**: Open a pull request to the `main` branch of the original repository. Provide a detailed description of your changes in the pull request.
9. **Review and Merge**: Wait for a maintainer to review your changes. Once approved, your changes will be merged.

## Creating Versions

We use [changesets](https://github.com/changesets/changesets) for versioning. To create a new version, run `npx changeset version` in your terminal. This command will process all changesets (if the branch is not on a pre-release), create a new version, and update the `CHANGELOG.md` file accordingly.

## License

By contributing, you agree that your contributions will be licensed under the same license as the project. For more details, please refer to the [LICENSE.md](LICENSE) file.

Thank you for helping us improve Tiptap's documentation!
Loading

0 comments on commit 05b8619

Please sign in to comment.