// devela::_doc
//
//! Extra documentation about the library.
#![doc = crate::_doc!(br+hr)] // gives way to the first root module
//
#![cfg(any(doc, test))]
#![cfg_attr(nightly_doc, doc(cfg(any(doc, test))))]

#[doc(hidden)] // TEMP
#[cfg(feature = "std")]
#[path = "../../build/main/mod.rs"]
pub mod build; // Build-time configuration and code generation.

#[cfg(feature = "_docs_examples")]
pub mod examples; // Documented examples

pub mod macros;

#[cfg(doc)]
crate::items! {
    // pub mod api {
    //     //! Library API design.
    //     #![doc = include_str!("./api.md")]
    // }
    pub mod features {
        //! Library features.
        #![cfg_attr(not(feature = "all"), allow(rustdoc::private_intra_doc_links))]
        #![doc = include_str!("./features.md")]
    }
    pub mod nightly {
        //! Nightly features.
        #![doc = include_str!("../../docs/nightly.md")]
    }
    /// Vendored work.
    pub mod vendored;
}
