MCPcopy Create free account
hub / github.com/OffchainLabs/arbitrum-docs / convertMetadataToFrontmatter

Function convertMetadataToFrontmatter

scripts/sync-stylus-content.js:287–304  ·  view source on GitHub ↗

* Transforms Next.js metadata export to Docusaurus frontmatter * @param {string} content - File content with metadata export * @returns {string} Content with frontmatter instead of metadata export

(content)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

transformContentFunction · 0.85

Calls 3

safeEvalObjectLiteralFunction · 0.85
convertMetadataToYamlFunction · 0.85
logFunction · 0.85

Tested by

no test coverage detected