Browse Source

book: update darkwiki page

ghassmo 4 years ago
parent
commit
6be84bda13
1 changed files with 6 additions and 6 deletions
  1. 6 6
      doc/src/misc/darkwiki.md

+ 6 - 6
doc/src/misc/darkwiki.md

@@ -13,13 +13,13 @@ Collaborative wiki using peer-to-peer network and raft consensus.
 
 
 ## Usage
 ## Usage
 
 
-- Once Darkwiki get installed, darkwiki daemon must run in the background:
+1 - Once Darkwiki get installed, darkwiki daemon must run in the background:
 
 
 ```shell
 ```shell
 % darkwikid
 % darkwikid
 ```
 ```
 
 
-1 - To update `synchronized directory` (default ~/darkwiki) and receive new documents from the network:
+2 - To update `synchronized directory` (default ~/darkwiki) and receive new documents from the network:
 
 
 ```shell
 ```shell
 % darkwiki update
 % darkwiki update
@@ -27,26 +27,26 @@ Collaborative wiki using peer-to-peer network and raft consensus.
 
 
 > **_NOTE:_**  The `synchronized directory` path can be changed from the config file in ~/.config/darkfi/darkwiki.toml
 > **_NOTE:_**  The `synchronized directory` path can be changed from the config file in ~/.config/darkfi/darkwiki.toml
 
 
-2 - After add/edit a document in ~/darkwiki, the changes will be published by running
+3 - After add/edit a document in ~/darkwiki, the changes will be published by running
   `update` command:
   `update` command:
 
 
 ```shell
 ```shell
 % darkwiki update
 % darkwiki update
 ```
 ```
 
 
-3 - For restore files having local changes to the original text: 
+4 - For restore files having local changes to the original text: 
 
 
 ```shell
 ```shell
 % darkwiki resotre
 % darkwiki resotre
 ```
 ```
 
 
-4 - For both `restore` and `update` commands, the flag `--dry-run` can show the changes without applying/publishing the patches
+5 - For both `restore` and `update` commands, the flag `--dry-run` can show the changes without applying/publishing the patches
 
 
 ```shell
 ```shell
 % darkwiki update --dry-run
 % darkwiki update --dry-run
 ```
 ```
 
 
-5 - Both `restore` and `update` commands are accepting passing the files names instead of updating/restoring all the documents in ~/darkwiki
+6 - Both `restore` and `update` commands are accepting passing the files names instead of updating/restoring all the documents in ~/darkwiki
 
 
 ```shell
 ```shell
 % darkwiki update file1.md file2.md 
 % darkwiki update file1.md file2.md