Skip to content

shipyardbuild/help-center

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local development

Before you are able to run this locally you need to have YARN and Hugo installed on your machine. If you already have Hugo installed, make sure you have the latest version.

  1. Install project dependencies

    make install
  2. Back in the root of the project, run

    make build
  3. And then run the project

    make serve
  4. In your browser navigate to localhost:1313 to view the project.

Staging vs Prod

Help center can be built for either staging or prod via:

Prod

 make build
 make serve

Staging

 make build_staging
 make serve_staging

Indexing Content

Included in this project is the hugo-algolia package, which crawls the /content folder of the site and indexes all the content. If you want to re-index the site and/or send new docs content to Algolia, you can use the following commands:

Index the site

This command indexes the whole site and puts content into a single array.

make index-site

Index the site and send content to Algolia account

This command indexes the whole site and sends the array to Algolia.

make index-and-send

You can index and send content to our staging indices via:

make index-and-send-staging

Releases

No releases published

Packages

No packages published

Languages

  • HTML 44.7%
  • CSS 27.1%
  • JavaScript 25.5%
  • Shell 1.1%
  • Makefile 1.0%
  • Dockerfile 0.4%
  • Python 0.2%