File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ docker is installed and the service is running.
56
56
``` sh
57
57
git clone https://github.com/rust-lang/docs.rs.git docs.rs
58
58
cd docs.rs
59
+ git submodule update --init
59
60
# Configure the default settings for external services
60
61
cp .env.sample .env
61
62
# Create the DOCSRS_PREFIX directory
Original file line number Diff line number Diff line change @@ -79,7 +79,12 @@ fn main() -> Result<()> {
79
79
write_git_version ( out_dir) ?;
80
80
compile_sass ( out_dir) ?;
81
81
write_known_targets ( out_dir) ?;
82
- compile_syntax ( out_dir) ?;
82
+ compile_syntax ( out_dir) . context (
83
+ "\
84
+ could not compile syntax files\n \n \
85
+ Note: you may need to run `git submodule update --init`\
86
+ ",
87
+ ) ?;
83
88
Ok ( ( ) )
84
89
}
85
90
You can’t perform that action at this time.
0 commit comments