INNER CODE UNIT · JavaScript

withoutDiffDecoration

graphiti-api/graphiti · website/docusaurus.config.js:16

const withoutDiffDecoration = (theme) => ({
  ...theme,
  styles: theme.styles.map(({types, style}) =>
    types.some((type) => type === 'inserted' || type === 'deleted')
      ? {types, style: {...style, textDecorationLine: undefined}}
      : {types, style}
  ),
});

/** @type {import('@docusaurus/types').Config} */
const config = {
  title: 'Graphiti',
  tagline: 'Stylish Graph APIs',
  favicon: 'img/favicon.ico',

  // Apex, matching the CNAME. This feeds canonical tags and sitemap.xml, so it
  // has to agree with the host actually serving the site or the two split
  // search ranking between them.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…