Browse Source

doc: Update book links

x 7 tháng trước cách đây
mục cha
commit
4f30aae91d

+ 5 - 5
README.md

@@ -3,7 +3,7 @@
 ![Build Status](https://img.shields.io/github/actions/workflow/status/darkrenaissance/darkfi/ci.yml?branch=master&style=flat-square)
 ![Build Status](https://img.shields.io/github/actions/workflow/status/darkrenaissance/darkfi/ci.yml?branch=master&style=flat-square)
 [![Web - dark.fi](https://img.shields.io/badge/Web-dark.fi-white?logo=firefox&logoColor=white&style=flat-square)](https://dark.fi)
 [![Web - dark.fi](https://img.shields.io/badge/Web-dark.fi-white?logo=firefox&logoColor=white&style=flat-square)](https://dark.fi)
 [![Manifesto - unsystem](https://img.shields.io/badge/Manifesto-unsystem-informational?logo=minutemailer&logoColor=white&style=flat-square)](https://dark.fi/manifesto.html)
 [![Manifesto - unsystem](https://img.shields.io/badge/Manifesto-unsystem-informational?logo=minutemailer&logoColor=white&style=flat-square)](https://dark.fi/manifesto.html)
-[![Book - mdbook](https://img.shields.io/badge/Book-mdbook-orange?logo=gitbook&logoColor=white&style=flat-square)](https://darkrenaissance.github.io/darkfi)
+[![Book - mdbook](https://img.shields.io/badge/Book-mdbook-orange?logo=gitbook&logoColor=white&style=flat-square)](https://dark.fi/book/)
 
 
 We aim to proliferate [anonymous digital
 We aim to proliferate [anonymous digital
 markets](https://dark.fi/manifesto.html) by means of strong cryptography
 markets](https://dark.fi/manifesto.html) by means of strong cryptography
@@ -49,14 +49,14 @@ over its `Stratum` RPC, and requests new block headers to mine.
 
 
 To connect to the alpha testnet, [follow the tutorial][tutorial].
 To connect to the alpha testnet, [follow the tutorial][tutorial].
 
 
-[tutorial]: https://darkrenaissance.github.io/darkfi/testnet/node.html
+[tutorial]: https://dark.fi/book/testnet/node.html
 
 
 ## Connect to DarkFi IRC
 ## Connect to DarkFi IRC
 
 
 Follow the [installation instructions][darkirc-instructions] for the
 Follow the [installation instructions][darkirc-instructions] for the
 P2P IRC daemon.
 P2P IRC daemon.
 
 
-[darkirc-instructions]: https://darkrenaissance.github.io/darkfi/misc/darkirc/darkirc.html#installation
+[darkirc-instructions]: https://dark.fi/book/misc/darkirc/darkirc.html#installation
 
 
 ## Build
 ## Build
 
 
@@ -132,7 +132,7 @@ everything, and use their specific targets instead.
 
 
 If you want to hack on the source code, make sure to read some
 If you want to hack on the source code, make sure to read some
 introductory advice in the
 introductory advice in the
-[DarkFi book](https://darkrenaissance.github.io/darkfi/dev/dev.html).
+[DarkFi book](https://dark.fi/book/dev/dev.html).
 
 
 ## Installation (Optional)
 ## Installation (Optional)
 
 
@@ -147,7 +147,7 @@ in order for them to spawn a config file, which you can then review.
 
 
 ### Examples and usage
 ### Examples and usage
 
 
-See the [DarkFi book](https://darkrenaissance.github.io/darkfi)
+See the [DarkFi book](https://dark.fi/book/)
 
 
 ## Go Dark
 ## Go Dark
 
 

+ 1 - 1
bin/darkirc/README.md

@@ -1,7 +1,7 @@
 darkirc
 darkirc
 =======
 =======
 
 
-Check the [Installation Guide](https://darkrenaissance.github.io/darkfi/misc/darkirc/darkirc.html) 
+Check the [Installation Guide](https://dark.fi/book/misc/darkirc/darkirc.html) 
 for more detailed information about the ins and outs of darkirc.
 for more detailed information about the ins and outs of darkirc.
 
 
 ## Android build
 ## Android build

+ 2 - 2
bin/explorer/site/templates/base.html

@@ -115,7 +115,7 @@
                 <!--Darkirc-->
                 <!--Darkirc-->
                 <li class="nav-item" style="padding-left:10px;">
                 <li class="nav-item" style="padding-left:10px;">
                     <div class="icon-sm">
                     <div class="icon-sm">
-                        <a href="https://darkrenaissance.github.io/darkfi/misc/darkirc/darkirc.html" class="">
+                        <a href="https://dark.fi/book/misc/darkirc/darkirc.html" class="">
                             <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg"
                             <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg"
                                  xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
                                  xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
                                  viewBox="0 0 100 100"
                                  viewBox="0 0 100 100"
@@ -174,7 +174,7 @@
                         <li class="topnav"><a href="/">Explorer</a></li>
                         <li class="topnav"><a href="/">Explorer</a></li>
                         <li><a href="https://twitter.com/DarkFiSquad">Twitter</a></li>
                         <li><a href="https://twitter.com/DarkFiSquad">Twitter</a></li>
                         <li><a href="https://codeberg.org/darkrenaissance/darkfi">Codeberg</a></li>
                         <li><a href="https://codeberg.org/darkrenaissance/darkfi">Codeberg</a></li>
-                        <li><a href="https://darkrenaissance.github.io/darkfi/misc/darkirc/darkirc.html">Darkirc</a>
+                        <li><a href="https://dark.fi/book/misc/darkirc/darkirc.html">Darkirc</a>
                         </li>
                         </li>
                         <li><a href="https://t.me/darkfichat">Telegram</a></li>
                         <li><a href="https://t.me/darkfichat">Telegram</a></li>
                     </div>
                     </div>

+ 1 - 1
doc/README.md

@@ -2,7 +2,7 @@ The DarkFi book
 ===============
 ===============
 
 
 This directory contains the sources for the book that can be read on
 This directory contains the sources for the book that can be read on
-https://darkrenaissance.github.io/darkfi
+https://dark.fi/book/
 
 
 When adding or removing a section of the book, make sure to update the
 When adding or removing a section of the book, make sure to update the
 [SUMMARY.md](src/SUMMARY.md) file to actually list the contents.
 [SUMMARY.md](src/SUMMARY.md) file to actually list the contents.

+ 1 - 1
doc/generate_seminar_ics.py

@@ -97,7 +97,7 @@ def print_table():
     print("[therapy](https://github.com/narodnik/therapy) that we made.")
     print("[therapy](https://github.com/narodnik/therapy) that we made.")
     print("The canvas will also be shared on Jitsi calls.\n")
     print("The canvas will also be shared on Jitsi calls.\n")
     print("Videos will be uploaded online and linked here.")
     print("Videos will be uploaded online and linked here.")
-    print("Join [our chat](https://darkrenaissance.github.io/darkfi/misc/darkirc/darkirc.html)")
+    print("Join [our chat](https://dark.fi/book/misc/darkirc/darkirc.html)")
     print("for more info. Links and text chat will happen there during the calls.")
     print("for more info. Links and text chat will happen there during the calls.")
 
 
 
 

+ 1 - 1
doc/src/dev/learn.md

@@ -173,7 +173,7 @@ and participating in crypto communities.
 1. Download and install a simple Linux operating system to get started. Options can be Ubuntu or Manjaro Linux.
 1. Download and install a simple Linux operating system to get started. Options can be Ubuntu or Manjaro Linux.
 2. Watch [Finematics videos](https://www.youtube.com/c/Finematics/videos).
 2. Watch [Finematics videos](https://www.youtube.com/c/Finematics/videos).
 3. Begin the initial stage listed above.
 3. Begin the initial stage listed above.
-4. Follow the instructions on the Darkfi Book and run [darkirc](https://darkrenaissance.github.io/darkfi/misc/darkirc/darkirc.html) to connect with the team.
+4. Follow the instructions on the Darkfi Book and run [darkirc](https://dark.fi/book/misc/darkirc/darkirc.html) to connect with the team.
 
 
 ## Further Reading
 ## Further Reading
 
 

+ 1 - 1
doc/src/zkas/zkvm.md

@@ -18,7 +18,7 @@ access to values (variables) that are constructed within
 the ZK circuit.  Upon initialization, the VM instantiates
 the ZK circuit.  Upon initialization, the VM instantiates
 two heaps, of which one holds literals (currently `u64` is
 two heaps, of which one holds literals (currently `u64` is
 supported), and the other holds arbitrary types defined in
 supported), and the other holds arbitrary types defined in
-[`HeapVar`](https://darkrenaissance.github.io/darkfi/development/darkfi/zk/vm_heap/enum.HeapVar.html)
+[`HeapVar`](https://dark.fi/book/development/darkfi/zk/vm_heap/enum.HeapVar.html)
 
 
 Once the heaps are instantiated, the circuit initializes all the
 Once the heaps are instantiated, the circuit initializes all the
 available halo2 gadgets so they're ready for use, and also to create
 available halo2 gadgets so they're ready for use, and also to create

+ 1 - 1
example/dchat/dchatd/README.md

@@ -2,7 +2,7 @@
 
 
 A simple chat program to document DarkFi net
 A simple chat program to document DarkFi net
 code. Tutorial can be found in the [DarkFi
 code. Tutorial can be found in the [DarkFi
-book](https://darkrenaissance.github.io/darkfi/learn/writing-a-p2p-app.html).
+book](https://dark.fi/book/learn/writing-a-p2p-app.html).
 
 
 ## Step 1: Spin a seed node
 ## Step 1: Spin a seed node
 
 

+ 1 - 1
script/research/stable/README.md

@@ -9,7 +9,7 @@ Collateral backed stablecoin with low volatility redemption price (based-off Dai
 
 
 ## Governance Dao
 ## Governance Dao
 
 
-In order for the Nun governing Dao community to vote on proposals using [Darkfi dao](https://darkrenaissance.github.io/darkfi/spec/dao/index.html), it's needed to commit to protocol proposal statements hash, or collateral vault contract call data, otherwise passed proposals could be faked.
+In order for the Nun governing Dao community to vote on proposals using [Darkfi dao](https://dark.fi/book/spec/dao/index.html), it's needed to commit to protocol proposal statements hash, or collateral vault contract call data, otherwise passed proposals could be faked.
 
 
 ## Blind auction
 ## Blind auction
 
 

+ 3 - 7
src/contract/README.md

@@ -2,16 +2,12 @@ This directory contains native WASM contracts on DarkFi:
 
 
 ## Money
 ## Money
 
 
-* https://darkrenaissance.github.io/darkfi/development/darkfi_money_contract/index.html
+* https://dark.fi/book/dev/darkfi_money_contract/index.html
 
 
 ## DAO
 ## DAO
 
 
-* https://darkrenaissance.github.io/darkfi/development/darkfi_dao_contract/index.html
-
-## Consensus
-
-* https://darkrenaissance.github.io/darkfi/development/darkfi_consensus_contract/index.html
+* https://dark.fi/book/dev/darkfi_dao_contract/index.html
 
 
 ## Deployooor
 ## Deployooor
 
 
-* https://darkrenaissance.github.io/darkfi/development/darkfi_deployooor_contract/index.html
+* https://dark.fi/book/dev/darkfi_deployooor_contract/index.html