Add an index.html page for geckolib docs

This commit is contained in:
Nazım Can Altınova 2017-06-12 03:27:50 +03:00
parent 03074f4b0e
commit 6da69f687b
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954
2 changed files with 9 additions and 2 deletions

View file

@ -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/

View file

@ -0,0 +1,6 @@
<!doctype html>
<title>Geckolib, a subset of Servos style system for Stylo project.</title>
<meta http-equiv=refresh content="0;url=geckoservo/index.html">
Documentation for Geckolib, a subset of Servos style system for Stylo project.
Start with <a href="geckoservo/index.html">the <code>geckoservo</code> crate</a>