mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Have 'mach doc' copy Rust documentation.
This commit is contained in:
parent
873ca6cadd
commit
d25c66904e
2 changed files with 33 additions and 18 deletions
|
@ -8,14 +8,9 @@ set -e
|
|||
|
||||
cd "$(dirname $0)/../.."
|
||||
|
||||
mkdir -p components/servo/target/doc
|
||||
./mach bootstrap-rust
|
||||
# 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/* components/servo/target/doc/
|
||||
cp etc/doc.servo.org/* components/servo/target/doc/
|
||||
./mach doc
|
||||
# etc/doc.servo.org/index.html overwrites $(mach rust-root)/doc/index.html
|
||||
cp etc/doc.servo.org/* components/servo/target/doc/
|
||||
|
||||
ghp-import -n components/servo/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