chore: fix links in API document and add document link to README.md (#118)

* chore: fix links in API document and add document link to README.md

* Update README.md
This commit is contained in:
Linda_pp 2023-09-07 23:40:49 +09:00 committed by GitHub
parent 4a41e5231e
commit f3b7d54224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,8 @@
muda is a Menu Utilities library for Desktop Applications. ### muda
Menu Utilities library for Desktop Applications.
[![Documentation](https://img.shields.io/docsrs/muda)](https://docs.rs/muda/latest/muda/)
## Platforms supported: ## Platforms supported:

View file

@ -79,7 +79,7 @@ impl AboutMetadata {
/// - [`AboutMetadata::authors`] (from `CARGO_PKG_AUTHORS`) /// - [`AboutMetadata::authors`] (from `CARGO_PKG_AUTHORS`)
/// - [`AboutMetadata::comments`] (from `CARGO_PKG_DESCRIPTION`) /// - [`AboutMetadata::comments`] (from `CARGO_PKG_DESCRIPTION`)
/// - [`AboutMetadata::license`] (from `CARGO_PKG_LICENSE`) /// - [`AboutMetadata::license`] (from `CARGO_PKG_LICENSE`)
/// - [`AboutMetadata::homepage`] (from `CARGO_PKG_HOMEPAGE`) /// - [`AboutMetadata::website`] (from `CARGO_PKG_HOMEPAGE`)
/// ///
/// [cargo]: https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates /// [cargo]: https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates
pub fn from_cargo_metadata() -> Self { pub fn from_cargo_metadata() -> Self {

View file

@ -16,7 +16,7 @@
//! //!
//! - On Windows, accelerators don't work unless the win32 message loop calls //! - On Windows, accelerators don't work unless the win32 message loop calls
//! [`TranslateAcceleratorW`](https://docs.rs/windows-sys/latest/windows_sys/Win32/UI/WindowsAndMessaging/fn.TranslateAcceleratorW.html). //! [`TranslateAcceleratorW`](https://docs.rs/windows-sys/latest/windows_sys/Win32/UI/WindowsAndMessaging/fn.TranslateAcceleratorW.html).
//! See [`Menu::init_for_hwnd`](https://docs.rs/muda/latest/muda/struct.Menu.html#method.init_for_hwnd) for more details //! See [`Menu::init_for_hwnd`](https://docs.rs/muda/latest/x86_64-pc-windows-msvc/muda/struct.Menu.html#method.init_for_hwnd) for more details
//! //!
//! # Dependencies (Linux Only) //! # Dependencies (Linux Only)
//! //!