Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.16 KB

readme.adoc

File metadata and controls

41 lines (33 loc) · 1.16 KB

TigerGraph Documentation Site Build

This repository contains the Antora playbook used to build the TigerGraph documentation site.

Install dependencies

To install dependencies, run:

npm install

Build site locally

To build the site locally, run:

npm run build

The build will be available in the build/ folder in the root directory.

Build from your local content source repository

To have Anotora build site from your local content source repository, change the corresponding content source in the file antora-playbook.yml to point to your local git repository.

See Use local content repositories on Antora’s documentation.

Run a local server to view the build

To open the build:

$ npm i -g http-server
$ http-server build/site -c-1

Upon launching the command, the local address of the web server will be displayed in your terminal. You should see the following output in your terminal:

Starting up http-server, serving build/site
Available on:
  http://127.0.0.1:8080
  http://192.168.1.8:8080
Hit CTRL-C to stop the server