GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Consider removing the distinction between document and nested types · Issue #225 · contentlayerdev/contentlayer

Consider removing the distinction between document and nested types #225

New issue
Copy link
New issue
Copy link
Open
Open
Consider removing the distinction between document and nested types#225
Copy link
Labels
meta: feedback-wantedmeta: never-stale
Milestone
Pre-1.0

Description

@seancdavis
seancdavis
opened on May 17, 2022
Issue body actions

From the beginning, we've separated the idea of documents and nested types. The primary difference between these types is that:

  • Document types define the shape of built content files
  • Nested types define shapes of content used within built content files

We may be able to simplify the API by considering every type definition as just that — a type definition. We already have to define documentTypes when calling makeSource. Could this be the way in which documents are defined, while every other type is just a type.

#226 contains a way we could adjust terminology if making this change to help with the language we're using.

Reacted by Fuxing Loh

Activity

  1. schickling
    added
    meta: never-stale
    meta: feedback-wanted
    on May 17, 2022
  2. schickling
    added this to the Pre-1.0 milestone on May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta: feedback-wantedmeta: never-stale

    Type

    No type

    Projects

    No projects

      Milestone

      • Pre-1.0No due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.