File tree 1 file changed +8
-1
lines changed
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:
62
62
63
63
[source]
64
64
----
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
66
67
----
67
68
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
+
68
75
== Updating the Playbook
69
76
70
77
When 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