Replacing the render pipeline (or duplicating it outside of contentlayer.dev so we can remove contentlayer.dev)
Acceptance
[x] Analyse what is involved comprehensive notes in the PR #483; most relevant parts also in Notes below
[x] Flag things we want to deprecate e.g. importing components in markdown (strictly this comes from the pipeline work)
[x] Replace to markdowndb
[x] Replace the pipeline
Notes
Deprecated features
document types and hence:
type frontmatter field and importing all files of a given type
frontmatter fields validation
auto-extracting title (TBC can't remember why)
page "getters"
contentInclude and contentExclude config fields for including/excluding content folders
import and export statements in markdown documents
hover-over tooltips (didn't have time to fix them + probably would be nice to implement them in a better way anyway)
Changes required/suggested to @flowershow/markdowndb
implement document types in @flowershow/markdowndb with specific computed fields, helper methods (e.g. BlogType.getAuthors()) and frontmatter validation
support importing all documents of a given type (e.g. mddb.getFiles({ type: "Blog" }))
config file for @flowershow/markdowndbpackage with e.g. contentExclude and contentInclude contentlayer's counterparts
Note that replacing contentlayer.dev involves ...
Acceptance
Notes
Deprecated features
type
frontmatter field and importing all files of a given typecontentInclude
andcontentExclude
config fields for including/excluding content foldersimport
andexport
statements in markdown documentsChanges required/suggested to @flowershow/markdowndb
@flowershow/markdowndb
with specific computed fields, helper methods (e.g.BlogType.getAuthors()
) and frontmatter validation@flowershow/markdowndb
package with e.g.contentExclude
andcontentInclude
contentlayer's counterparts