BigGillyStyle/documentation

Documentation for Harper

โ˜… 0Forks 0GitHub โ†—Compare

Project website โ†—

README

Harper Documentation

Documentation website for Harper, a fullstack, serverful Node.js application platform.

Powered by Docusaurus.

Contributing

This documentation site is open source!

If you notice something out-of-place or have suggestions for improvement, please feel free to submit an issue and/or a pull request. Make sure to follow the relevant bug report and content/feature request templates.

For more information on contributing, follow the contribution guide.

๐Ÿš€ Quick Start

# Install dependencies
npm install

# Start development server
npm start
# Opens at http://localhost:3000

# Build for production
npm run build

# Serve production build locally
npm run serve

๐Ÿ“ Directory Structure

โ”œโ”€โ”€ docs/                # Main documentation content
โ”œโ”€โ”€ static/              # Static assets
โ”‚   โ”œโ”€โ”€ img/             # Site images and logos (versioned)
โ”‚   โ””โ”€โ”€ js/              # JavaScript files
โ”œโ”€โ”€ src/                 # React components and custom pages
โ”‚   โ”œโ”€โ”€ css/             # Custom styles
โ”‚   โ””โ”€โ”€ pages/           # Custom pages
โ”œโ”€โ”€ versioned_docs/      # Documentation for previous versions
โ”œโ”€โ”€ versioned_sidebars/  # Sidebar configurations for versions
โ”œโ”€โ”€ docusaurus.config.ts # Main Docusaurus configuration
โ”œโ”€โ”€ sidebars.ts          # Sidebar navigation structure
โ”œโ”€โ”€ redirects.ts         # URL redirects configuration
โ””โ”€โ”€ versions.json        # Version configuration

๐Ÿ› ๏ธ Development

Running Locally

# Start the development server with hot reload
npm start

# Clear cache if you encounter issues
npm run clear

The development server runs at http://localhost:3000 and automatically reloads when you make changes.

Other Commands

# Type checking
npm run typecheck

# Format code
npm run format

# Clean all generated files and caches
npm run clear

๐Ÿ“‹ Cutting a New Version

When releasing a new version of Harper documentation:

# Cut a new version (e.g., 4.7)
npm run version

This will:

  1. Copy current docs to versioned_docs/version-4.7
  2. Copy current sidebars to versioned_sidebars
  3. Update versions.json

After cutting a version, update docusaurus.config.ts to set the new lastVersion.

Contributors

kriszypheskewDavidCockerillterraHDBjcohen-hdbEthan-Arrowoodcap10morgandeliciousmonsterbaileydunningDevin-HollandnenharperkylebernhardyBboyAkersfoundlinga-ronjohnsondaniel-harperdbhdbjeffdillardm89kristajgcb1kenobidawsontothkevashcraftvasil9viwanagamaurice-harperKeyologyamanshu-katariac-o-l-i-nharper-josephjjohnson-hdb

Issues