You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit of a basic question but perhaps I'll write out my investigations so far as a logged issue to hopefully help others in future. I'm in the process of contributing to the serenity book but I want to be able to preview the book locally with my pre-committed changes, so I can check for formatting and errors.
I understand that the book uses antora to generate the book as a whole, as the book is written in Asciidoctor. So I think these were the installation steps I eventually needed:
Checked out the following git repos into my workspace as siblings to each other:
ran the command in the serenity-docs project as follows:
antora site.yml
But the content output to serenity-docs/build/site/theserenitybook/0.1.0 is still not the up to date content!
Please can you point out the error of my ways? Oddly enough my recent PRs #5 and #4 found their way successfully to the published output, so this is just a local build problem I'm having 😞
The text was updated successfully, but these errors were encountered:
This is a bit of a basic question but perhaps I'll write out my investigations so far as a logged issue to hopefully help others in future. I'm in the process of contributing to the serenity book but I want to be able to preview the book locally with my pre-committed changes, so I can check for formatting and errors.
I understand that the book uses antora to generate the book as a whole, as the book is written in Asciidoctor. So I think these were the installation steps I eventually needed:
nvm install 8
nvm use 8
brew install asciidoctor
npm i -g @antora/cli
the-serenity-book
git directory:npm i @antora/site-generator-default
serenity-docs
git directory:npm i @antora/site-generator-default
Then I set to work on the content by making adoc changes locally in
the-serenity-book
project:modules/ROOT/assets/images
modules/ROOT/pages/
modules/ROOT/examples/
Then I tried to build it locally:
the-serenity-book
directory to generate content into the build folder:asciidoctor modules/ROOT/pages/*.adoc -D build -a imagesdir=assets/images
url
property inserenity-docs
projectsite.yml
to point to my local project as follows:serenity-docs
project as follows:antora site.yml
But the content output to
serenity-docs/build/site/theserenitybook/0.1.0
is still not the up to date content!Please can you point out the error of my ways? Oddly enough my recent PRs #5 and #4 found their way successfully to the published output, so this is just a local build problem I'm having 😞
The text was updated successfully, but these errors were encountered: