Also include the docs in the agb lib itself

This commit is contained in:
Gwilym Inzani 2024-02-03 20:22:06 +00:00
parent 03fb125d52
commit ade1ba5718

View file

@ -97,6 +97,15 @@
/// bg.show(); /// bg.show();
/// # } /// # }
/// ``` /// ```
///
/// Including from the out directory is supported through the `$OUT_DIR` token.
///
/// ```rust,ignore
/// # #![no_std]
/// # #![no_main]
/// # use agb::include_background_gfx;
/// include_background_gfx!(generated_background, "000000", DATA => "$OUT_DIR/generated_background.aseprite");
/// ```
pub use agb_image_converter::include_background_gfx; pub use agb_image_converter::include_background_gfx;
#[doc(hidden)] #[doc(hidden)]