GithubHelp home page GithubHelp logo

helloprimihub / primihub-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from primihub/primihub-docs

0.0 0.0 0.0 12.45 MB

PrimiHub document website

Home Page: https://docs.primihub.com/

JavaScript 32.89% CSS 66.29% Dockerfile 0.82%

primihub-docs's Introduction

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

USE_SSH=true yarn deploy

Not using SSH:

GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Contribution

Please feel free to help us to improve all the documents.

Docs

Create a Markdown file in a approprate directory under i18n/xxx/docusaurus-plugin-content-docs.

Considering we have multilingua in this repository, you could find the right directory base on different language:

Language Directory
English en
Chinese zh-cn

Beside the content, please don't forget adding the following metadata at the header of a Markdown file:

keywords: [case1, case2]
description: This is a brief introduction to the content

The metadata will make the search engine index our content easily.

Blog

Please feel free to post your articles here. It should be related to data computation protection, even not related to PrimiHub.

Please be aware of the following convention:

  • Put your articles under the blog directory in Markdown format
  • Make sure your Markdown file name starts with the date format
  • Add the necessary front metadata in your Markdown file
    • The metadata could contain slug, title, authors, and tags
  • Put all images under the images directory, and give them a readable name
  • Please put the author's information into authors.yml if there is a new author

Menu

Please update sidebars.js if you want to add a new menu item.

Localization

Please put translation items into the following JSON file if you want to add a translation for English:

i18n/en/docusaurus-plugin-content-docs/current.json

You could start it with a particular language with the following command:

yarn start --locale en

primihub-docs's People

Contributors

fuxingbit avatar lzw9560 avatar xuefeng-xu avatar hobo0cn avatar zjj614 avatar leiyannan avatar linuxsuren avatar soraallen avatar yankaili2006 avatar yongganhangxing avatar calmdownandcarryon000 avatar phoenix20162016 avatar keepmoving-zxy avatar lcxixixi avatar xujiangyu avatar nijianlong2008 avatar ppppbamzy avatar wholeworld-timothy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.