Просмотр исходного кода

book: fix broken include links

zero 2 лет назад
Родитель
Сommit
e6bf38d0aa
2 измененных файлов с 6 добавлено и 6 удалено
  1. 4 4
      doc/src/spec/contract/money/model.md
  2. 2 2
      doc/src/spec/contract/money/scheme.md

+ 4 - 4
doc/src/spec/contract/money/model.md

@@ -32,7 +32,7 @@ $$ \begin{aligned}
 \end{aligned} $$
 \end{aligned} $$
 
 
 ```rust
 ```rust
-{{#include ../../../../../src/contract/money/src/model.rs:coin-attributes}}
+{{#include ../../../../../src/contract/money/src/model/mod.rs:coin-attributes}}
 ```
 ```
 
 
 $$ \t{Coin} : \t{Attrs}_\t{Coin} → 𝔽ₚ $$
 $$ \t{Coin} : \t{Attrs}_\t{Coin} → 𝔽ₚ $$
@@ -52,7 +52,7 @@ $$ \begin{aligned}
 \end{aligned} $$
 \end{aligned} $$
 
 
 ```rust
 ```rust
-{{#include ../../../../../src/contract/money/src/model.rs:money-clear-input}}
+{{#include ../../../../../src/contract/money/src/model/mod.rs:money-clear-input}}
 ```
 ```
 
 
 ### Input
 ### Input
@@ -69,7 +69,7 @@ $$ \begin{aligned}
 \end{aligned} $$
 \end{aligned} $$
 
 
 ```rust
 ```rust
-{{#include ../../../../../src/contract/money/src/model.rs:money-input}}
+{{#include ../../../../../src/contract/money/src/model/mod.rs:money-input}}
 ```
 ```
 
 
 ### Output
 ### Output
@@ -85,6 +85,6 @@ $$ \begin{aligned}
 \end{aligned} $$
 \end{aligned} $$
 
 
 ```rust
 ```rust
-{{#include ../../../../../src/contract/money/src/model.rs:money-output}}
+{{#include ../../../../../src/contract/money/src/model/mod.rs:money-output}}
 ```
 ```
 
 

+ 2 - 2
doc/src/spec/contract/money/scheme.md

@@ -29,7 +29,7 @@ $$ \begin{aligned}
 \end{aligned} $$
 \end{aligned} $$
 
 
 ```rust
 ```rust
-{{#include ../../../../../src/contract/money/src/model.rs:money-params}}
+{{#include ../../../../../src/contract/money/src/model/mod.rs:money-params}}
 ```
 ```
 
 
 ### Contract Statement
 ### Contract Statement
@@ -171,7 +171,7 @@ number of inputs that were created with `Burn_V1` and a number of
 outputs created with `Mint_V1`.
 outputs created with `Mint_V1`.
 
 
 ```rust
 ```rust
-{{#include ../../../../../src/contract/money/src/model.rs:money-params}}
+{{#include ../../../../../src/contract/money/src/model/mod.rs:money-params}}
 ```
 ```
 
 
 This gets encoded into the `Transaction` format and the transaction is
 This gets encoded into the `Transaction` format and the transaction is