chore: remove cross-crate doc comments
This commit is contained in:
1 parent
937eb1f0f0
commit
b254d9e761
5 files changed
+8
-17
No files matched your search
@@ -1,5 +1,4 @@
|
|||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
|
|
||||||
//! A tour of the rsx! macro
|
//! A tour of the rsx! macro
|
||||||
//! ------------------------
|
//! ------------------------
|
||||||
//!
|
//!
|
||||||
@@ -39,7 +38,7 @@
|
|||||||
//! - Accept a list of vnodes as children for a Fragment component
|
//! - Accept a list of vnodes as children for a Fragment component
|
||||||
//! - Allow keyed fragments in iterators
|
//! - Allow keyed fragments in iterators
|
||||||
//! - Allow top-level fragments
|
//! - Allow top-level fragments
|
||||||
//!
|
|
||||||
fn main() {
|
fn main() {
|
||||||
dioxus_desktop::launch(app);
|
dioxus_desktop::launch(app);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ proc-macro = true
|
|||||||
proc-macro2 = { version = "1.0" }
|
proc-macro2 = { version = "1.0" }
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0", features = ["full", "extra-traits"] }
|
syn = { version = "1.0", features = ["full", "extra-traits"] }
|
||||||
dioxus-rsx = { path = "../rsx" }
|
dioxus-rsx = { path = "../rsx", version = "0.0.1" }
|
||||||
|
|
||||||
# testing
|
# testing
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|||||||
@@ -26,11 +26,6 @@ pub fn derive_typed_builder(input: proc_macro::TokenStream) -> proc_macro::Token
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// The rsx! macro makes it easy for developers to write jsx-style markup in their components.
|
/// The rsx! macro makes it easy for developers to write jsx-style markup in their components.
|
||||||
///
|
|
||||||
/// ## Complete Reference Guide:
|
|
||||||
/// ```ignore
|
|
||||||
#[doc = include_str!("../../../examples/rsx_usage.rs")]
|
|
||||||
/// ```
|
|
||||||
#[proc_macro]
|
#[proc_macro]
|
||||||
pub fn rsx(s: TokenStream) -> TokenStream {
|
pub fn rsx(s: TokenStream) -> TokenStream {
|
||||||
match syn::parse::<rsx::CallBody>(s) {
|
match syn::parse::<rsx::CallBody>(s) {
|
||||||
@@ -42,11 +37,6 @@ pub fn rsx(s: TokenStream) -> TokenStream {
|
|||||||
/// The render! macro makes it easy for developers to write jsx-style markup in their components.
|
/// The render! macro makes it easy for developers to write jsx-style markup in their components.
|
||||||
///
|
///
|
||||||
/// The render macro automatically renders rsx - making it unhygenic.
|
/// The render macro automatically renders rsx - making it unhygenic.
|
||||||
///
|
|
||||||
/// ## Complete Reference Guide:
|
|
||||||
/// ```ignore
|
|
||||||
#[doc = include_str!("../../../examples/rsx_usage.rs")]
|
|
||||||
/// ```
|
|
||||||
#[proc_macro]
|
#[proc_macro]
|
||||||
pub fn render(s: TokenStream) -> TokenStream {
|
pub fn render(s: TokenStream) -> TokenStream {
|
||||||
match syn::parse::<rsx::CallBody>(s) {
|
match syn::parse::<rsx::CallBody>(s) {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#![doc = include_str!("../../../notes/README.md")]
|
|
||||||
|
|
||||||
pub use dioxus_core as core;
|
pub use dioxus_core as core;
|
||||||
|
|
||||||
#[cfg(feature = "hooks")]
|
#[cfg(feature = "hooks")]
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "dioxus-rsx"
|
name = "dioxus-rsx"
|
||||||
version = "0.0.0"
|
version = "0.0.1"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
|
description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
|
||||||
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
||||||
|
homepage = "https://dioxuslabs.com"
|
||||||
|
documentation = "https://docs.rs/dioxus-rsx"
|
||||||
|
keywords = ["dom", "ui", "gui", "react", "wasm"]
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@@ -10,5 +15,4 @@ license = "MIT/Apache-2.0"
|
|||||||
proc-macro2 = { version = "1.0", features = ["span-locations"] }
|
proc-macro2 = { version = "1.0", features = ["span-locations"] }
|
||||||
syn = { version = "1.0", features = ["full", "extra-traits"] }
|
syn = { version = "1.0", features = ["full", "extra-traits"] }
|
||||||
quote = { version = "1.0" }
|
quote = { version = "1.0" }
|
||||||
dioxus-core = { path = "../core", features = ["serialize"] }
|
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
Reference in new issue
Block a user