mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Fix http://doc.servo.org/ to redirect to /servo/index.html again...
... rather than being the Rust documentation index. The order of `cp` command determines which `target/doc/index.html` file overwrites the other.
This commit is contained in:
parent
5e5f77a354
commit
f24af67207
1 changed files with 1 additions and 1 deletions
|
@ -37,8 +37,8 @@ for t in "${tasks[@]}"; do
|
||||||
if [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]
|
if [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]
|
||||||
then
|
then
|
||||||
mkdir -p target/doc
|
mkdir -p target/doc
|
||||||
cp etc/doc.servo.org/* target/doc/
|
|
||||||
cp -R rust/doc/* target/doc/
|
cp -R rust/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 # After copying rust/doc, so that the crate index is correct.
|
||||||
sudo pip install ghp-import
|
sudo pip install ghp-import
|
||||||
ghp-import -n target/doc
|
ghp-import -n target/doc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue