Skip to content

InfuseAI/primehub-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimeHub Doc

The primehub docs is located at https://docs.primehub.io/

The site is hosted on the github pages of the primehub-site repository

Prepare the Development Environment

  1. Clone the repo

    git clone [email protected]:InfuseAI/primehub-site.git
    
  2. Checkout the master

    git checkout master
    
  3. Install the dependency

    cd website
    npm install
    
  4. Run the site locally

    npm start
    

Start Editing

  1. This site is based on docusaurus
  2. Edit the content in docs/
  3. Add document entries in website/sidebars.json
  4. For more information, please see docusaurus documentation

Publish

Single command to publish

GIT_USER=USERNAME CURRENT_BRANCH=master USE_SSH=true npm run publish-gh-pages

Please see publish the site document in docusaurus for detail