https://github.com/iansinnott/gatsby-notion
https://github.com/iansinnott/gatsby-notion
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iansinnott/gatsby-notion
- Owner: iansinnott
- Created: 2020-04-26T03:16:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T04:25:55.000Z (over 3 years ago)
- Last Synced: 2025-03-20T03:58:55.327Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 3.25 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 54
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gatsby Notion
This is a project for using a Notion database (collection) as a CMS. As of this writing there are two things here:
- [gatsby-source-notion-collection](packages/gatsby-source-notion-collection)
- The core of this project at present. This gatsby plugin will pull data from a notion table and transform any row contents into HTML.
- [gatsby-notion-example](packages/gatsby-notion-example)
- An example using the gatsby plugin above.
You can also see a real example of this project by viewing the source of my blog:
- Source: https://github.com/iansinnott/iansinnott.github.io/tree/source
- Live blog: https://blog.iansinnott.com
## Dev
* Go into the collection project and `yarn build` after adding a debugger or
changing some code. The TS needs to be compiled to be picked up as changed.
* Go into the example project and `yarn inspect`
That's pretty much it. Breakpoints should get picked up.
## Publishing
After making changes simply `lerna publish`. No need to push to github or manage
versions beforehand. That command takes care of it.