2
0
Fork 0
mirror of https://github.com/rehlds/rehlds.github.io.git synced 2025-09-19 03:39:48 +03:00
A documentation site for the ReHLDS organization built with Docusaurus. This site features a clean and attractive landing page, comprehensive documentation for core projects, and a blog for community updates and best practices. https://rehlds.github.io
Find a file
2024-10-29 23:42:08 +03:00
.github/workflows CI: enable deploy to gh-pages 2024-10-27 21:56:16 +03:00
blog Add blog annoucement for Community Managers Team recuirtment 2024-10-29 23:42:08 +03:00
docs Add rehlds, regamedll, metamod-r basic info and documentation start page 2024-10-27 21:53:59 +03:00
scripts Update CI: repos updater use only top 3 2024-10-25 12:41:08 +03:00
src fix docs link 2024-10-27 21:53:28 +03:00
static Update static/repositories.json 2024-10-25 09:43:25 +00:00
.gitignore Init Docusaurus () 2024-10-24 16:37:49 +03:00
babel.config.js Init Docusaurus () 2024-10-24 16:37:49 +03:00
docusaurus.config.ts Add blog annoucement for Community Managers Team recuirtment 2024-10-29 23:42:08 +03:00
package-lock.json Init Docusaurus () 2024-10-24 16:37:49 +03:00
package.json Init Docusaurus () 2024-10-24 16:37:49 +03:00
README.md update readme 2024-10-25 08:28:56 +03:00
sidebars.ts Init Docusaurus () 2024-10-24 16:37:49 +03:00
tsconfig.json Init Docusaurus () 2024-10-24 16:37:49 +03:00

📚 ReHLDS Documentation

This repository contains the documentation for the ReHLDS project, built using Docusaurus.

Prerequisites

  • Node.js version 18 or higher
  • NPM (comes with Node.js)

Getting Started

  1. Clone the repository

  2. Install the dependencies

    npm install
  1. Start the local development server
    npm run start

This will launch the documentation at http://localhost:3000 with hot reloading enabled. Any changes made to the content will automatically refresh the browser.

Available Scripts

  • docusaurus: Runs the Docusaurus CLI.
  • start: Starts the development server.
  • build: Builds the static website for production.
  • swizzle: Customizes the Docusaurus theme.
  • deploy: Deploys the website (requires configuration).
  • clear: Cleans up the cached data and files.
  • serve: Serves the production build locally.
  • write-translations: Prepares translation files.
  • write-heading-ids: Generates heading IDs for markdown.
  • typecheck: Runs TypeScript type checking.

Building for Production

To create a production build of the documentation:

    npm run build

The output will be in the build directory, which can be served by any static site hosting service.

Deployment

To deploy the documentation site, make sure to configure the deployment settings in docusaurus.config.js and run:

    npm run deploy

Type Checking

To check for TypeScript errors, run:

    npm run typecheck

This will ensure that all TypeScript code adheres to type definitions.

Browser Support

This project follows the browserslist specification to support modern browsers in production and the last few versions of major browsers in development.

Contributing

Feel free to contribute to the documentation by submitting pull requests. Please follow the contribution guidelines and ensure that your changes pass all checks before submitting.