This repository contains Antora playbooks for building what will be developer.finbourne.com.
First, install the project dependencies:
npm install
The npm install command will install Antora CLI, which is used to build the content defined in the Antora Playbooks (*.yml
files in the project root).
This is only the repository for the Antora scaffolding, the actual documentation will leave elsewhere. For example, the LUSID documentation is available at github.com/finbourne/lusid-docs.
This repository is referenced under content.sources
of antora-playbook.yml
.
If you’re editing content locally, you can change this section of the file.
It might then look like this:
content:
sources:
- url: .
branches: HEAD
start_path: developer
- url: /path/to/local/lusid-docs
branches: HEAD
# - url: git@github.com:finbourne/lusid-docs.git
# branches: HEAD
/path/to/local/lusid-docs
must be a Git repository as well, otherwise Antora will complain when you try to build the project.
You can re-build the content by running the following:
npm run build && npm run start
You can then navigate to http://localhost:8000, where you will see a local version of the generated website.