File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,16 @@ inside a Docker container like this:
6262
6363[source]
6464----
65- $ docker run --rm -t -v $(pwd):/build/site antora/antora:3.1.10 --fetch /docs/antora-playbook.yml
65+ $ cd docs.rubocop.org
66+ $ docker run -u $(id -u) -v $PWD:/antora:Z --rm -t antora/antora --cache-dir=./.cache/antora antora-playbook.yml
6667----
6768
69+ Note that despite the message saying `Open file:///antora/build/site/index.html in a browser to view your site.`, you
70+ you should actually look for `build/site/index.html` in the current directory. (that's because we've mounted the
71+ current directory as `/antora` in the container)
72+
73+ TIP: You can read more about running Antora in a container in the https://docs.antora.org/antora/latest/antora-container/[official docs].
74+
6875== Updating the Playbook
6976
7077When cutting new releases you'll have to updated `antora-playbook.yml` to mention
You can’t perform that action at this time.
0 commit comments