GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - evershopcommerce/docs: Document site

BranchesTags
Open more actions menu

Latest commit

 

History

288 Commits
288 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
blog
blog
 
 
docs
docs
 
 
netlify/functions
netlify/functions
 
 
scripts
scripts
 
 
src
src
 
 
static
static
 
 
.gitignore
.gitignore
 
 
0919e90b543640ef88ecf1e05998e658.txt
0919e90b543640ef88ecf1e05998e658.txt
 
 
README.md
README.md
 
 
_redirects
_redirects
 
 
babel.config.js
babel.config.js
 
 
docusaurus.config.js
docusaurus.config.js
 
 
netlify.toml
netlify.toml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
robots.txt
robots.txt
 
 
robots_acc.txt
robots_acc.txt
 
 
sidebars.js
sidebars.js
 
 
tailwind.config.js
tailwind.config.js
 
 

Repository files navigation

EverShop Documentation

Source of the EverShop documentation site, built with Docusaurus 3 and deployed by Netlify.

Requirements

  • Node.js 18 or newer
  • npm (the repo uses package-lock.json)

Local development

npm install
npm start

This starts the dev server with hot reload (http://localhost:3000 by default; use npm start -- --port 3100 if that port is taken). It first regenerates src/css/output.css from Tailwind.

Building

Command What it does
npm run buildlocal Production build into build/. Use this to test locally.
npm run serve Serves the build/ folder.
npm run build The deploy build. It also moves _redirects, robots.txt and the verification file out of the repo root into build/, so do not run it for local testing.
npm run buildacc Acceptance build (uses robots_acc.txt).
npm run check:sidebar After a build, checks that every hand-written link in the API sidebar points at a page and heading that exist.
npm run tailwind:build Regenerates src/css/output.css. Runs automatically before start and the builds.

Project layout

docs/
  development/   Getting started, knowledge base, module, theme, deployment guides
  api/           REST API reference
blog/            Release notes and articles
src/
  pages/         Custom pages (/documentation, /extensions, /contact-us, ...)
  theme/         Swizzled Docusaurus components (navbar, footer, doc cards, 404, ...)
  components/    Shared React components
  css/           custom.scss, fonts.css (self-hosted Inter), output.css (generated Tailwind)
static/          Files served as-is (images, robots files)
sidebars.js      docsSidebar (generated from docs/development) and apiSidebar (hand-written)
docusaurus.config.js  Site config, navbar and footer. Footer columns: themeConfig.footer.links; brand block and legal links: customFields.footer
_redirects       Netlify redirects (old URLs)

Writing conventions

  • American English (behavior, canceled, normalize, color).
  • Title Case for page titles and sidebar labels (Installation Guide).
  • Spell the product and technologies as: EverShop, ecommerce, Node.js, TypeScript, GraphQL, PostgreSQL, frontend.
  • One h1 per page, and do not skip heading levels.
  • Give every page a description in the front matter (about 70 to 160 characters). Without one, Docusaurus uses the first heading.
  • Use HTML tables (<table className="table-auto not-prose">) rather than Markdown tables.
  • If you rename a page, add a redirect to _redirects.
  • If you rename a heading that the API sidebar links to, update sidebars.js and run npm run check:sidebar.

About

Document site

Resources

Readme
Activity
Custom properties

Stars

5 stars

Watchers

2 watching

Forks

25 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.