diff --git a/.changeset/beige-clouds-yell.md b/.changeset/beige-clouds-yell.md new file mode 100644 index 00000000..e2efc290 --- /dev/null +++ b/.changeset/beige-clouds-yell.md @@ -0,0 +1,5 @@ +--- +"@kinobi-so/renderers-rust": patch +--- + +Make rust docs kinobi link clickable diff --git a/packages/renderers-rust/e2e/memo/src/generated/errors/mod.rs b/packages/renderers-rust/e2e/memo/src/generated/errors/mod.rs index 15b1856b..f5f0ca11 100644 --- a/packages/renderers-rust/e2e/memo/src/generated/errors/mod.rs +++ b/packages/renderers-rust/e2e/memo/src/generated/errors/mod.rs @@ -2,5 +2,5 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! diff --git a/packages/renderers-rust/e2e/memo/src/generated/instructions/add_memo.rs b/packages/renderers-rust/e2e/memo/src/generated/instructions/add_memo.rs index 412a92a9..89b4e483 100644 --- a/packages/renderers-rust/e2e/memo/src/generated/instructions/add_memo.rs +++ b/packages/renderers-rust/e2e/memo/src/generated/instructions/add_memo.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/memo/src/generated/instructions/mod.rs b/packages/renderers-rust/e2e/memo/src/generated/instructions/mod.rs index 4631d971..6c14f66d 100644 --- a/packages/renderers-rust/e2e/memo/src/generated/instructions/mod.rs +++ b/packages/renderers-rust/e2e/memo/src/generated/instructions/mod.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! pub(crate) mod r#add_memo; diff --git a/packages/renderers-rust/e2e/memo/src/generated/mod.rs b/packages/renderers-rust/e2e/memo/src/generated/mod.rs index 176cd900..50d52c49 100644 --- a/packages/renderers-rust/e2e/memo/src/generated/mod.rs +++ b/packages/renderers-rust/e2e/memo/src/generated/mod.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! pub mod errors; diff --git a/packages/renderers-rust/e2e/memo/src/generated/programs.rs b/packages/renderers-rust/e2e/memo/src/generated/programs.rs index 3da7f52f..da589204 100644 --- a/packages/renderers-rust/e2e/memo/src/generated/programs.rs +++ b/packages/renderers-rust/e2e/memo/src/generated/programs.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use solana_program::{pubkey, pubkey::Pubkey}; diff --git a/packages/renderers-rust/e2e/system/src/generated/accounts/mod.rs b/packages/renderers-rust/e2e/system/src/generated/accounts/mod.rs index 5cb22ec4..b5b9ae31 100644 --- a/packages/renderers-rust/e2e/system/src/generated/accounts/mod.rs +++ b/packages/renderers-rust/e2e/system/src/generated/accounts/mod.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! pub(crate) mod r#nonce; diff --git a/packages/renderers-rust/e2e/system/src/generated/accounts/nonce.rs b/packages/renderers-rust/e2e/system/src/generated/accounts/nonce.rs index 44b974e1..dc07b1c4 100644 --- a/packages/renderers-rust/e2e/system/src/generated/accounts/nonce.rs +++ b/packages/renderers-rust/e2e/system/src/generated/accounts/nonce.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use crate::generated::types::NonceState; diff --git a/packages/renderers-rust/e2e/system/src/generated/errors/mod.rs b/packages/renderers-rust/e2e/system/src/generated/errors/mod.rs index f55faa46..2c649c34 100644 --- a/packages/renderers-rust/e2e/system/src/generated/errors/mod.rs +++ b/packages/renderers-rust/e2e/system/src/generated/errors/mod.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! pub(crate) mod system; diff --git a/packages/renderers-rust/e2e/system/src/generated/errors/system.rs b/packages/renderers-rust/e2e/system/src/generated/errors/system.rs index a4e11e9b..f9c33a21 100644 --- a/packages/renderers-rust/e2e/system/src/generated/errors/system.rs +++ b/packages/renderers-rust/e2e/system/src/generated/errors/system.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use num_derive::FromPrimitive; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/advance_nonce_account.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/advance_nonce_account.rs index 1ccdaaff..cdc87f0f 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/advance_nonce_account.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/advance_nonce_account.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/allocate.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/allocate.rs index ec5adad4..bcbcea58 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/allocate.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/allocate.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/allocate_with_seed.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/allocate_with_seed.rs index 56ca8ce2..234452b5 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/allocate_with_seed.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/allocate_with_seed.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/assign.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/assign.rs index 0eb6a116..21f977c1 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/assign.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/assign.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/assign_with_seed.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/assign_with_seed.rs index fa76c734..f63beba6 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/assign_with_seed.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/assign_with_seed.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/authorize_nonce_account.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/authorize_nonce_account.rs index 4ef99db4..f385dfa6 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/authorize_nonce_account.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/authorize_nonce_account.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/create_account.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/create_account.rs index 685c8ebf..768a48bb 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/create_account.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/create_account.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/create_account_with_seed.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/create_account_with_seed.rs index 238b7194..0c5074ab 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/create_account_with_seed.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/create_account_with_seed.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/initialize_nonce_account.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/initialize_nonce_account.rs index 14575d2f..c66b8d1a 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/initialize_nonce_account.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/initialize_nonce_account.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/mod.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/mod.rs index 4ac275d0..92b447be 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/mod.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/mod.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! pub(crate) mod r#advance_nonce_account; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol.rs index 817c471a..2ccb834b 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol_with_seed.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol_with_seed.rs index 2619e489..05b5d74d 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol_with_seed.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/transfer_sol_with_seed.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/upgrade_nonce_account.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/upgrade_nonce_account.rs index 5c3c0051..22a3fca3 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/upgrade_nonce_account.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/upgrade_nonce_account.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/instructions/withdraw_nonce_account.rs b/packages/renderers-rust/e2e/system/src/generated/instructions/withdraw_nonce_account.rs index 4ded2feb..35a27c97 100644 --- a/packages/renderers-rust/e2e/system/src/generated/instructions/withdraw_nonce_account.rs +++ b/packages/renderers-rust/e2e/system/src/generated/instructions/withdraw_nonce_account.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/mod.rs b/packages/renderers-rust/e2e/system/src/generated/mod.rs index 5bb5d8fd..a3793d7c 100644 --- a/packages/renderers-rust/e2e/system/src/generated/mod.rs +++ b/packages/renderers-rust/e2e/system/src/generated/mod.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! pub mod accounts; diff --git a/packages/renderers-rust/e2e/system/src/generated/programs.rs b/packages/renderers-rust/e2e/system/src/generated/programs.rs index 9734d332..05d0066c 100644 --- a/packages/renderers-rust/e2e/system/src/generated/programs.rs +++ b/packages/renderers-rust/e2e/system/src/generated/programs.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use solana_program::{pubkey, pubkey::Pubkey}; diff --git a/packages/renderers-rust/e2e/system/src/generated/types/mod.rs b/packages/renderers-rust/e2e/system/src/generated/types/mod.rs index 34fe114f..af42686a 100644 --- a/packages/renderers-rust/e2e/system/src/generated/types/mod.rs +++ b/packages/renderers-rust/e2e/system/src/generated/types/mod.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! pub(crate) mod r#nonce_state; diff --git a/packages/renderers-rust/e2e/system/src/generated/types/nonce_state.rs b/packages/renderers-rust/e2e/system/src/generated/types/nonce_state.rs index bba68411..f2fd61b7 100644 --- a/packages/renderers-rust/e2e/system/src/generated/types/nonce_state.rs +++ b/packages/renderers-rust/e2e/system/src/generated/types/nonce_state.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/e2e/system/src/generated/types/nonce_version.rs b/packages/renderers-rust/e2e/system/src/generated/types/nonce_version.rs index 68f871b2..d302b67e 100644 --- a/packages/renderers-rust/e2e/system/src/generated/types/nonce_version.rs +++ b/packages/renderers-rust/e2e/system/src/generated/types/nonce_version.rs @@ -2,7 +2,7 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! use borsh::BorshDeserialize; diff --git a/packages/renderers-rust/public/templates/layout.njk b/packages/renderers-rust/public/templates/layout.njk index 32e51e39..1eb91e11 100644 --- a/packages/renderers-rust/public/templates/layout.njk +++ b/packages/renderers-rust/public/templates/layout.njk @@ -2,6 +2,6 @@ //! Please DO NOT EDIT THIS FILE, instead use visitors //! to add features, then rerun kinobi to update it. //! -//! [https://github.com/kinobi-so/kinobi] +//! //! {% block main %}{% endblock %}