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
Copy file name to clipboardExpand all lines: docs/_spec/README.md
+11
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,22 @@ We aim to track the configuration GitHub Pages uses but differences may arise as
16
16
17
17
## Building
18
18
19
+
<!-- TODO: change url to correct one -->
19
20
Travis CI builds the spec automatically after every merged pull release and publishes to https://www.scala-lang.org/files/archive/spec/2.13/.
20
21
22
+
<!-- TODO: Check nothing else is needed -->
23
+
To preview locally, run the following commands in the docs/_spec subfolder:
24
+
25
+
```
26
+
env UID="$(id -u)" GID="$(id -g)" docker-compose up
27
+
```
28
+
29
+
and open http://0.0.0.0:4000/files/archive/spec/2.13/ to view the spec. Jekyll will rebuild as you edit the markdown, but make sure to restart it when you change `_config.yml`.
30
+
<!--
21
31
To preview locally, run the following commands in the root of your checkout scala/scala:
22
32
`bundle install` to install Jekyll and `bundle exec jekyll serve -d build/spec/ -s spec/ -w --baseurl=""` to start it,
23
33
and open http://0.0.0.0:4000/ to view the spec. Jekyll will rebuild as you edit the markdown, but make sure to restart it when you change `_config.yml`.
0 commit comments