Rename more typed-html references

This also fixes the documentation links from axohtml_macros to axohtml.
This commit is contained in:
Adrian Heine 2023-03-14 13:28:47 +01:00
parent ee6743b559
commit 46a2794a87
4 changed files with 9 additions and 9 deletions

View File

@ -6,8 +6,8 @@ authors = ["Axo Developer Co <hello@axo.dev>", "Bodil Stokke <bodil@bodil.org>"]
build = "build.rs"
license = "MPL-2.0+"
description = "Type checked JSX for Rust (proc_macro crate)"
repository = "https://github.com/bodil/typed-html"
documentation = "http://docs.rs/typed-html/"
repository = "https://github.com/axodotdev/axohtml"
documentation = "http://docs.rs/axohtml/"
readme = "../README.md"
categories = ["template-engine", "web-programming"]
keywords = ["jsx", "html"]

View File

@ -17,9 +17,9 @@ mod span;
/// Construct a DOM tree.
///
/// See the crate documentation for [`typed_html`][typed_html].
/// See the crate documentation for [`axohtml`][axohtml].
///
/// [typed_html]: ../typed_html/index.html
/// [axohtml]: https://docs.rs/axohtml/
#[proc_macro]
pub fn html(input: TokenStream) -> TokenStream {
let stream = lexer::unroll_stream(input.into(), false);
@ -35,9 +35,9 @@ pub fn html(input: TokenStream) -> TokenStream {
/// Construct a Dodrio node.
///
/// See the crate documentation for [`typed_html`][typed_html].
/// See the crate documentation for [`axohtml`][axohtml].
///
/// [typed_html]: ../typed_html/index.html
/// [axohtml]: https://docs.rs/axohtml/
#[cfg(feature = "dodrio")]
#[proc_macro]
pub fn dodrio(input: TokenStream) -> TokenStream {
@ -53,7 +53,7 @@ pub fn dodrio(input: TokenStream) -> TokenStream {
})
}
/// This macro is used by `typed_html` internally to generate types and
/// This macro is used by `axohtml` internally to generate types and
/// implementations for HTML elements.
#[proc_macro]
pub fn declare_elements(input: TokenStream) -> TokenStream {

View File

@ -6,7 +6,7 @@ authors = ["Bodil Stokke <bodil@bodil.org>"]
publish = false
[[bin]]
name = "typed-html-tests"
name = "axohtml-tests"
path = "main.rs"
[dev-dependencies]

View File

@ -154,7 +154,7 @@ pub struct UnsafeTextNode<T: OutputType + Send>(String, PhantomData<T>);
///
/// This macro is useful for creating text macros inside code blocks that contain HTML
/// that you do not want to be escaped. For example, if some other process renders Markdown
/// to an HTML string and you want embed that HTML string in a typed-html template,
/// to an HTML string and you want embed that HTML string in an axohtml template,
/// you may want to avoid escaping the tags in that HTML string.
///
/// # Examples