Giter Club home page Giter Club logo

astronotion's Introduction

Astronotion

⚠️ It is strongly recommended to upgrade to 0.0.7 (what has been fixed?)

npm install -D astronotion@latest (or other package managers' equivalent)

Make an Astro site with content from Notion

  • Add your Notion page ID(s), get conveniently massaged page content
  • Render the content with semantic, accessible, styleable components

Quick(er) Start

Use the starter site

Installation & Usage

Check out the documentation

astronotion's People

Contributors

ekafyi avatar

Stargazers

David Andreoletti avatar  avatar  avatar  avatar Bukit Sorrento avatar Nikola Hristov avatar Manuel Contreras avatar Mohau R avatar Théo avatar Alex Front avatar Maxime Alardo avatar Scott Rod avatar Brad Pillow avatar Seongjoo Brenden Song avatar Andi Pollok avatar Roman avatar  avatar Sam avatar Atsuya Nakata avatar Tijno  avatar Vitor Ayres avatar  avatar John Eatmon avatar Ben Johnston avatar Burner avatar Toan Ho avatar Chris W. Burke avatar hayley avatar Anima avatar Resi Respati avatar

Watchers

 avatar  avatar Seongjoo Brenden Song avatar  avatar

Forkers

mestreabraao

astronotion's Issues

Grandparents wrongly included when querying child pages

a.k.a. family gathering gone wrong

Exclude parent of getParentPage page from the childPages property.

Example:

.
└── Media
    ├── Music Reviews
    └── Book Reviews <--- DB/collection/"parent"
        ├── Book 1
        ├── Book 2
        └── Book 3

"Media" is a page that contain subpages, one of which is "Book Reviews". The latter is a "parent" page that contains tabular data of books (Book 1, 2, etc).

When querying the "Book Reviews" page data using getParentPage, we expect the childPages property to contain a list of "Book 1", "Book 2", etc BUT NOT "Media".

Why? 🤷🏽‍♀️ That's how notion-client works.

What to do: Find what indicates a non-child page and filter the data accordingly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.