From 44fcf1066e59e1f6c784d9b208381fc858c10349 Mon Sep 17 00:00:00 2001 From: Otto Urpelainen Date: Jan 18 2022 07:21:01 +0000 Subject: Fix README - Command `antora-ui-test` does not exist, and seems not to be needed in that position - Subcommands of `antora-ui-builder` seem to have changed, changed to versions that actually exist. --- diff --git a/README.md b/README.md index 3e77467..135463c 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,12 @@ Go to your Antora UI project directory. For example: ``` $ git clone https://pagure.io/fedora-docs/fedora-docs-ui.git -$ antora-ui-test ``` Install the project dependencies: ``` -$ antora-ui-builder yarn install +$ antora-ui-builder install ``` You also need to make a slight change to the configuration of your project so it works in a container. Open the `gulpfile.js` and add one new line `host: "0.0.0.0",` right below `port: 5252,` as shown below: @@ -50,7 +49,7 @@ gulp.task('preview', ['build:preview'], () => Build a live preview: ``` -$ antora-ui-builder gulp preview +$ antora-ui-builder preview ``` Preview it on [localhost:5252](http://localhost:5252).