Skip to content

docs: ✏️ add docs site#334

Merged
streamich merged 3 commits into
masterfrom
docs-site
Feb 16, 2026
Merged

docs: ✏️ add docs site#334
streamich merged 3 commits into
masterfrom
docs-site

Conversation

@streamich
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 16, 2026 01:01
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

This pull request adds a comprehensive documentation website for the nano-css library using Next.js 15, Nextra 4, and React 19. The site provides a modern, professionally designed documentation experience with extensive coverage of all nano-css features, addons, and usage patterns.

Changes:

  • Added a complete Next.js-based documentation site in the site/ directory with Nextra theme
  • Created extensive MDX documentation covering getting started, core API, styling components, addons, and advanced features
  • Configured GitHub Actions workflow to build and deploy the site to GitHub Pages
  • Added custom styling with a professional theme and landing page

Reviewed changes

Copilot reviewed 62 out of 66 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
site/package.json Defines Next.js 15, Nextra 4, and React 19 dependencies for the docs site
site/next.config.mjs Configures Next.js for static export with GitHub Pages support
site/mdx-components.js Sets up MDX component integration with Nextra theme
site/app/layout.jsx Main layout component with navbar, footer, and page metadata
site/app/globals.css Custom CSS theme with professional styling for landing page and features
site/content/*.mdx Comprehensive documentation covering all aspects of nano-css
.github/workflows/gh-pages.yml Updated workflow to build and deploy the documentation site
.gitignore Added site build artifacts to ignore list

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

Comment thread site/app/layout.jsx Outdated
nano-css
</span>
}
projectLink="https://github.com/nicknisi/nano-css"
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The GitHub repository URL should be "https://github.com/streamich/nano-css" not "https://github.com/nicknisi/nano-css". The package.json at the root shows the official repository is "streamich/nano-css".

Copilot uses AI. Check for mistakes.
Comment thread site/app/layout.jsx Outdated
<Layout
navbar={navbar}
pageMap={await getPageMap()}
docsRepositoryBase="https://github.com/nicknisi/nano-css/tree/master/website"
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The docsRepositoryBase path should point to "site" directory, not "website". The documentation files are located in the "site/" directory, but this path references a non-existent "website/" directory.

Suggested change
docsRepositoryBase="https://github.com/nicknisi/nano-css/tree/master/website"
docsRepositoryBase="https://github.com/nicknisi/nano-css/tree/master/site"

Copilot uses AI. Check for mistakes.
Comment thread site/content/_meta.js Outdated
},
github_link: {
title: 'GitHub',
href: 'https://github.com/nicknisi/nano-css',
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The GitHub repository URL should be "https://github.com/streamich/nano-css" not "https://github.com/nicknisi/nano-css". The package.json at the root shows the official repository is "streamich/nano-css".

Suggested change
href: 'https://github.com/nicknisi/nano-css',
href: 'https://github.com/streamich/nano-css',

Copilot uses AI. Check for mistakes.
Comment thread site/app/layout.jsx Outdated
const footer = (
<Footer>
<span style={{ fontSize: '0.85rem', color: '#888' }}>
MIT {new Date().getFullYear()} © nano-css contributors
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The footer displays "MIT" as the license, but the project's LICENSE file and package.json indicate it uses the "Unlicense" license (public domain). The footer should match the actual project license.

Suggested change
MIT {new Date().getFullYear()} © nano-css contributors
Unlicense {new Date().getFullYear()} © nano-css contributors

Copilot uses AI. Check for mistakes.
@streamich streamich merged commit 2396304 into master Feb 16, 2026
2 checks passed
@streamich streamich deleted the docs-site branch February 16, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants