diff options
-rwxr-xr-x | etc/ci/upload_docs.sh | 5 | ||||
-rw-r--r-- | etc/doc.servo.org/geckolib/index.html | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/ci/upload_docs.sh b/etc/ci/upload_docs.sh index 837c7d2c0cf..2b5e236c104 100755 --- a/etc/ci/upload_docs.sh +++ b/etc/ci/upload_docs.sh @@ -16,10 +16,11 @@ cd "$(dirname ${0})/../.." ./mach doc # etc/doc.servo.org/index.html overwrites $(mach rust-root)/doc/index.html -cp etc/doc.servo.org/* target/doc/ +# Use recursive copy here to avoid `cp` returning an error code +# when it encounters directories. +cp -r etc/doc.servo.org/* target/doc/ ./mach cargo-geckolib doc -mkdir target/doc/geckolib # Use recursive copy here to avoid `cp` returning an error code # when it encounters directories. cp -r target/geckolib/doc/* target/doc/geckolib/ diff --git a/etc/doc.servo.org/geckolib/index.html b/etc/doc.servo.org/geckolib/index.html new file mode 100644 index 00000000000..66bcaff167b --- /dev/null +++ b/etc/doc.servo.org/geckolib/index.html @@ -0,0 +1,6 @@ +<!doctype html> +<title>Geckolib, a subset of Servo’s style system for Stylo project.</title> +<meta http-equiv=refresh content="0;url=geckoservo/index.html"> + +Documentation for Geckolib, a subset of Servo’s style system for Stylo project. +Start with <a href="geckoservo/index.html">the <code>geckoservo</code> crate</a> |