Merge pull request #282 from erickt/doc

Fix generating serde_{codegen,macros} documentation
This commit is contained in:
Erick Tryzelaar 2016-04-12 17:08:15 -07:00
commit 6b3958d5fc
4 changed files with 9 additions and 4 deletions

View File

@ -23,9 +23,12 @@ script:
(cd serde_macros && travis-cargo --only nightly test -- --features nightly-testing) &&
(cd serde_macros && travis-cargo --only nightly bench -- --features nightly-testing) &&
(cd serde && travis-cargo --only stable doc) &&
(cd serde_codegen && travis-cargo --only stable doc)
(cd serde_codegen && travis-cargo --only stable doc) &&
(cd serde_macros && travis-cargo --only nightly doc)
after_success:
- "(cd serde && travis-cargo --only stable doc-upload)"
- "(cd serde_codegen && travis-cargo --only stable doc-upload)"
- "(cd serde_macros && travis-cargo --only nightly doc-upload)"
- "(cd serde_tests && travis-cargo coveralls --no-sudo)"
env:
global:

View File

@ -15,6 +15,8 @@ the same speed as a hand written serializer for a specific type.
Documentation is available at:
* [serde](https://serde-rs.github.io/serde/serde/index.html)
* [serde_codegen](https://serde-rs.github.io/serde/serde_codegen/index.html)
* [serde_macros](https://serde-rs.github.io/serde/serde_macros/index.html)
Using Serde with Nightly Rust and serde\_macros
===============================================

View File

@ -5,9 +5,9 @@ authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework"
repository = "https://github.com/serde-rs/serde"
documentation = "https://github.com/serde-rs/serde"
build = "build.rs"
documentation = "https://serde-rs.github.io/serde/serde_codegen/index.html"
keywords = ["serde", "serialization"]
build = "build.rs"
[features]
default = ["with-syntex"]

View File

@ -5,7 +5,7 @@ authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework"
repository = "https://github.com/serde-rs/serde"
documentation = "https://github.com/serde-rs/serde"
documentation = "https://serde-rs.github.io/serde/serde_macros/index.html"
keywords = ["serde", "serialization"]
[lib]