mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Add rustdoc flag to sort modules by XEP number
`--sort-modules-by-appearance` needs to be passed to rustdoc for this to happen. I haven't found a way to make it so that we don't have to add this flag manually each time we build locally. This config option should at least fix it for docs.rs. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
637c3eadd7
commit
a076221c9a
1 changed files with 3 additions and 0 deletions
|
@ -30,3 +30,6 @@ try_from = "0.3.2"
|
||||||
component = []
|
component = []
|
||||||
# Disable validation of unknown attributes.
|
# Disable validation of unknown attributes.
|
||||||
disable-validation = []
|
disable-validation = []
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
rustdoc-args = [ "--sort-modules-by-appearance", "-Z unstable-options" ]
|
||||||
|
|
Loading…
Reference in a new issue