Skip to content

chore: remove website#625

Open
avivkeller wants to merge 1 commit into
nodejs:mainfrom
avivkeller:remove-site
Open

chore: remove website#625
avivkeller wants to merge 1 commit into
nodejs:mainfrom
avivkeller:remove-site

Conversation

@avivkeller
Copy link
Copy Markdown
Member

See: nodejs.org/learn

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the legacy Gatsby-based documentation website from the repository (per nodejs.org/learn), deleting the site’s build configuration, React/Gatsby source code, and the Markdown content it rendered.

Changes:

  • Deleted the entire website/ Gatsby project configuration and build/deploy scaffolding (e.g., gatsby-config.js, gatsby-node.js, website/package.json).
  • Removed all website UI/components/layouts/utils used to render the docs site.
  • Removed the website’s documentation content (website/docs/**) and associated static assets.

Reviewed changes

Copilot reviewed 91 out of 96 changed files in this pull request and generated no comments.

Show a summary per file
File Description
website/src/utils/types.ts Removed website TypeScript utility types.
website/src/utils/renderAst.tsx Removed markdown AST → React rendering utility.
website/src/utils/helpers.ts Removed website helper utilities (theme spacing/color, page lookup, active link helper).
website/src/typings.d.ts Removed website-specific TS module shims (images/CSS modules, etc.).
website/src/templates/page.tsx Removed Gatsby page template used for documentation pages.
website/src/templates/home.tsx Removed Gatsby template used for the site home page.
website/src/pages/404.tsx Removed Gatsby 404 page implementation.
website/src/layouts/index.tsx Removed website layout wrapper (StaticQuery + navigation shell).
website/src/interfaces/nodes.ts Removed Gatsby/JSON menu node typings used by the website.
website/src/interfaces/gatsby.ts Removed website SiteMetadata typings used by GraphQL queries.
website/src/components/ui/Pagination/index.ts Removed pagination barrel export.
website/src/components/ui/Pagination/Pagination.tsx Removed pagination UI component.
website/src/components/page/Markdown/index.ts Removed Markdown component barrel export.
website/src/components/page/Markdown/MarkdownContent.tsx Removed Markdown content wrapper component and styles.
website/src/components/page/Markdown/MarkdownComponents.tsx Removed Markdown element render components (h1/h2/…/table).
website/src/components/layout/Page/index.ts Removed Page/NotFoundWrapper barrel exports.
website/src/components/layout/Page/Page.tsx Removed Page layout component.
website/src/components/layout/Page/NotFoundWrapper.tsx Removed NotFoundWrapper layout component.
website/src/components/layout/Overlay/index.ts Removed overlay barrel export.
website/src/components/layout/Overlay/Overlay.tsx Removed navigation overlay component.
website/src/components/layout/Navigation/index.ts Removed navigation barrel exports.
website/src/components/layout/Navigation/NavigationMenu.tsx Removed navigation menu component.
website/src/components/layout/Navigation/NavigationContext.tsx Removed navigation context/reducer implementation.
website/src/components/layout/Navigation/Navigation.tsx Removed navigation container component.
website/src/components/layout/Navigation/NavButton.tsx Removed nav toggle button component.
website/src/components/layout/LayoutRoot/index.tsx Removed LayoutRoot barrel export.
website/src/components/layout/LayoutRoot/LayoutRoot.tsx Removed root layout component (theme reset, skip-nav, etc.).
website/src/components/layout/LayoutMain/index.tsx Removed LayoutMain barrel export.
website/src/components/layout/LayoutMain/LayoutMain.tsx Removed main content layout component.
website/src/components/layout/Header/index.ts Removed header barrel exports.
website/src/components/layout/Header/HeaderInner.tsx Removed header inner layout component.
website/src/components/layout/Header/Header.tsx Removed header component.
website/src/components/layout/Footer/index.ts Removed footer barrel exports.
website/src/components/layout/Footer/FooterWrapper.tsx Removed footer wrapper component.
website/src/components/layout/Footer/Footer.tsx Removed footer component.
website/src/components/layout/Container/index.ts Removed container barrel export.
website/src/components/layout/Container/Container.tsx Removed container layout component.
website/src/components/foundations/variables.ts Removed website design tokens (colors/space/breakpoints/etc.).
website/src/components/foundations/typography/utils/index.ts Removed typography utils barrel export.
website/src/components/foundations/typography/utils/determineFontDimensions.tsx Removed font dimension helper.
website/src/components/foundations/typography/index.ts Removed typography exports.
website/src/components/foundations/typography/components/Typography.tsx Removed base typography component.
website/src/components/foundations/typography/components/Text.tsx Removed Text component.
website/src/components/foundations/typography/components/Paragraph.tsx Removed Paragraph component.
website/src/components/foundations/typography/components/Link.tsx Removed styled Link component.
website/src/components/foundations/typography/components/Heading.tsx Removed Heading component.
website/src/components/foundations/reset/styles/reboot.ts Removed global reboot CSS (Bootstrap reboot derivative) used by the site.
website/src/components/foundations/reset/styles/code.ts Removed code highlighting global CSS.
website/src/components/foundations/reset/styles/base.ts Removed website global base styles.
website/src/components/foundations/reset/index.ts Removed reset module exports.
website/src/components/foundations/reset/components/ThemeReset.tsx Removed ThemeReset wrapper component.
website/src/components/foundations/reset/components/GlobalStyles.ts Removed global style injection component.
website/src/components/foundations/index.ts Removed foundations barrel exports.
website/src/components/foundations/box/index.ts Removed box exports barrel.
website/src/components/foundations/box/components/index.ts Removed box components barrel.
website/src/components/foundations/box/components/Box.tsx Removed Box component.
website/src/components/foundations/box/components/BorderBox.tsx Removed BorderBox component.
website/src/components/foundations/Theme.tsx Removed styled-components ThemeProvider wrapper and theme typings.
website/src/components/docs/TableOfContents/index.ts Removed ToC barrel exports.
website/src/components/docs/TableOfContents/TocWrapper.tsx Removed ToC wrapper component.
website/src/components/docs/TableOfContents/TocFloatingButton.tsx Removed ToC floating button component.
website/src/components/docs/DocsWrapper/index.ts Removed DocsWrapper barrel export.
website/src/components/docs/DocsWrapper/DocsWrapper.tsx Removed docs page wrapper component.
website/src/components/docs/DocsHeader/index.ts Removed DocsHeader barrel export.
website/src/components/docs/DocsHeader/DocsHeader.tsx Removed docs header component.
website/package.json Removed website-specific package manifest/dependencies/scripts.
website/gatsby-node.js Removed Gatsby node hooks (slug/layout fields, createPages).
website/gatsby-config.js Removed Gatsby config (metadata + plugins).
website/docs/toc.json Removed website ToC data.
website/docs/menu.json Removed header menu configuration JSON.
website/docs/index.md Removed website home content.
website/docs/about/what.md Removed website “About Node-API” content.
website/docs/about/uses.md Removed website “Uses for Node-API” content.
website/docs/getting-started/prerequisites.md Removed getting-started content.
website/docs/getting-started/tools.md Removed getting-started content.
website/docs/getting-started/first.md Removed getting-started content.
website/docs/getting-started/objectwrap.md Removed getting-started content.
website/docs/getting-started/migration.md Removed getting-started content.
website/docs/getting-started/helloworld.md Removed unused/legacy getting-started content.
website/docs/build-tools/node-gyp.md Removed build-tools content.
website/docs/build-tools/cmake-js.md Removed build-tools content.
website/docs/build-tools/node-pre-gyp.md Removed build-tools content.
website/docs/build-tools/prebuild.md Removed build-tools content.
website/docs/special-topics/object-function-refs.md Removed special-topics content.
website/docs/special-topics/asyncworker.md Removed special-topics content.
website/docs/special-topics/thread-safe-functions.md Removed special-topics content.
website/docs/special-topics/context-awareness.md Removed special-topics content.
website/README.md Removed website contributor/build documentation.
website/LICENSE Removed website-specific MIT license file.
website/.gitignore Removed website-specific ignore rules.
website/.gitattributes Removed website-specific attributes configuration.
website/.editorconfig Removed website-specific EditorConfig.
Comments suppressed due to low confidence (1)

website/package.json:1

  • This PR removes the website/ Gatsby project, but the repo still has GitHub Actions workflows that run npm install/gatsby build with working-directory: ./website (e.g. .github/workflows/test-website.yml and .github/workflows/website.yml). With website/ gone, CI and the deploy workflow will fail. Please delete or update those workflows as part of this PR (and remove any remaining deploy-to-gh-pages automation if the website is no longer maintained).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@legendecas
Copy link
Copy Markdown
Member

@legendecas legendecas moved this from Need Triage to In Progress in Node-API Team Project May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants