mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add a 'mach rust-root' command.
This commit is contained in:
parent
3996a15adb
commit
516b608a2f
2 changed files with 12 additions and 3 deletions
|
@ -8,9 +8,12 @@ set -e
|
|||
|
||||
mkdir -p target/doc
|
||||
./mach bootstrap-rust
|
||||
cp -R rust/doc/* target/doc/
|
||||
# Ordered so that:
|
||||
# * etc/doc.servo.org/index.html overwrites $(mach rust-root)/doc/index.html
|
||||
# * ./mach doc overwrites $(mach rust-root)/doc/search-index.js
|
||||
cp -R $(./mach rust-root)/doc/* target/doc/
|
||||
cp etc/doc.servo.org/* target/doc/
|
||||
./mach doc # After copying rust/doc, so that the crate index is correct
|
||||
./mach doc
|
||||
|
||||
ghp-import -n target/doc
|
||||
git push -qf https://${TOKEN}@github.com/servo/doc.servo.org.git gh-pages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue