-
-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update github repository and readmes (#138)
* chore: update github repository and readmes * small fixes to docs
- Loading branch information
Showing
12 changed files
with
92 additions
and
46 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,31 @@ | ||
# Contributing | ||
|
||
Directory structure: | ||
|
||
``` | ||
blocknote | ||
├── packages/core - The core of the editor | ||
├── packages/react - The main library for use in React apps | ||
├── examples/editor - Example React app that embeds the editor | ||
├── examples/vanilla - An advanced example if you don't want to use React or want to build your own UI components | ||
└── tests - Playwright end to end tests | ||
``` | ||
|
||
An introduction into the BlockNote Prosemirror schema can be found in [packages/core/ARCHITECTURE.md](https://github.com/TypeCellOS/BlockNote/blob/main/packages/core/ARCHITECTURE.md). | ||
|
||
## Running | ||
|
||
To run the project, open the command line in the project's root directory and enter the following commands: | ||
|
||
# Install all required npm modules for lerna, and bootstrap lerna packages | ||
npm install | ||
npm run bootstrap | ||
|
||
# Start the example project | ||
npm start | ||
|
||
## Adding packages | ||
|
||
- Add the dependency to the relevant `package.json` file (packages/xxx/package.json) | ||
- run `npm run install-new-packages` | ||
- Double check `package-lock.json` to make sure only the relevant packages have been affected |
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
{ | ||
"cleanUrls": true | ||
"cleanUrls": true, | ||
"redirects": [ | ||
{ | ||
"source": "/docs", | ||
"destination": "https://www.blocknotejs.org/docs/introduction", | ||
"permanent": true | ||
} | ||
] | ||
} |