Skip to content

Commit

Permalink
mdBook generated from gitorial
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Aug 6, 2024
1 parent c432b22 commit b51b4ad
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 41 deletions.
8 changes: 4 additions & 4 deletions src/2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<div id="Source" class="maintab tabcontent active">

<div class="tab">
<button class="subtab tablinks file-source file-modified active" onclick="switchSubTab(event, 'Cargo.toml')" data-id="Cargo.toml">Cargo.toml</button>
<button class="subtab tablinks file-source file-modified active" onclick="switchSubTab(event, 'src/lib.rs')" data-id="src/lib.rs">src/lib.rs</button>
</div>
<div id="source/Cargo.toml" class="subtab tabcontent active" data-id="Cargo.toml">
<div id="source/src/lib.rs" class="subtab tabcontent active" data-id="src/lib.rs">

```toml
{{#include ./source/Cargo.toml}}
```rust
{{#include ./source/src/lib.rs}}
```

</div>
Expand Down
1 change: 0 additions & 1 deletion src/2/source/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] }
scale-info = { version = "2.11.1", default-features = false, features = ["derive"] }
# 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME.
frame = { package = "polkadot-sdk-frame", version = "0.6.0", default-features = false, features = ["experimental", "runtime"] }

[features]
Expand Down
22 changes: 11 additions & 11 deletions src/2/source/changes.diff
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
diff --git a/Cargo.toml b/Cargo.toml
index 0c9b8b8..a79e562 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,6 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] }
scale-info = { version = "2.11.1", default-features = false, features = ["derive"] }
+# 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME.
frame = { package = "polkadot-sdk-frame", version = "0.6.0", default-features = false, features = ["experimental", "runtime"] }
diff --git a/src/lib.rs b/src/lib.rs
index 7b6c6a2..0f7bcee 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,6 +2,7 @@

mod impls;

+/* 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. */
use frame::prelude::*;
pub use pallet::*;

[features]
1 change: 1 addition & 0 deletions src/2/source/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

mod impls;

/* 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. */
use frame::prelude::*;
pub use pallet::*;

Expand Down
13 changes: 2 additions & 11 deletions src/3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,9 @@
<div id="Source" class="maintab tabcontent active">

<div class="tab">
<button class="subtab tablinks file-source file-modified active" onclick="switchSubTab(event, 'Cargo.toml')" data-id="Cargo.toml">Cargo.toml</button>
<button class="subtab tablinks file-source file-modified" onclick="switchSubTab(event, 'src/lib.rs')" data-id="src/lib.rs">src/lib.rs</button>
<button class="subtab tablinks file-source file-modified active" onclick="switchSubTab(event, 'src/lib.rs')" data-id="src/lib.rs">src/lib.rs</button>
</div>
<div id="source/Cargo.toml" class="subtab tabcontent active" data-id="Cargo.toml">

```toml
{{#include ./source/Cargo.toml}}
```

</div>

<div id="source/src/lib.rs" class="subtab tabcontent" data-id="src/lib.rs">
<div id="source/src/lib.rs" class="subtab tabcontent active" data-id="src/lib.rs">

```rust
{{#include ./source/src/lib.rs}}
Expand Down
20 changes: 6 additions & 14 deletions src/3/source/changes.diff
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
diff --git a/Cargo.toml b/Cargo.toml
index a79e562..0c9b8b8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,6 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] }
scale-info = { version = "2.11.1", default-features = false, features = ["derive"] }
-# 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME.
frame = { package = "polkadot-sdk-frame", version = "0.6.0", default-features = false, features = ["experimental", "runtime"] }

[features]
diff --git a/src/lib.rs b/src/lib.rs
index 7b6c6a2..8aa7c5b 100644
index 0f7bcee..8aa7c5b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,6 +5,7 @@ mod impls;
@@ -2,10 +2,10 @@

mod impls;

-/* 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. */
use frame::prelude::*;
pub use pallet::*;

Expand Down

0 comments on commit b51b4ad

Please sign in to comment.