changeset 136:835c8ee3f9e5

Docs: use ``` as fenced code blocks
author David Demelier <markand@malikania.fr>
date Fri, 20 Oct 2017 11:44:57 +0200
parents 5076a7b80fb2
children 0f9a8ddee022
files STYLE_CPP.md docs/overview.md docs/specs/db/account.md docs/specs/db/character.md docs/specs/size.md docs/specs/sprite.md docs/specs/tileset.md libclient/CMakeLists.txt
diffstat 8 files changed, 19 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/STYLE_CPP.md	Fri Oct 06 16:24:20 2017 +0200
+++ b/STYLE_CPP.md	Fri Oct 20 11:44:57 2017 +0200
@@ -351,17 +351,17 @@
 We encorage usage of `auto`, it reduces code maintainance as you don't need to
 change your code when your rename types.
 
-````cpp
+```cpp
 auto it = std::find_if(v.begin(), v.end(), [&] (const auto& obj) {
     return obj.key() == "foo";
 });
 
 for (const auto& pair : a_map)
     std::cout << pair.first << " = " << pair.second << std::endl;
-````
+```
 
 But do not use `auto` to write code like in python, this is not acceptable:
 
-````cpp
+```cpp
     auto o = my_object("foo");
-````
+```
--- a/docs/overview.md	Fri Oct 06 16:24:20 2017 +0200
+++ b/docs/overview.md	Fri Oct 20 11:44:57 2017 +0200
@@ -8,7 +8,7 @@
 
 This is the main targets and their dependencies.
 
-````nohighlight
+```nohighlight
                       +-------------------+
                       |                   |
 +-------------------+ | mlk-client        |
@@ -34,7 +34,7 @@
 | libmlk-common                                                 |
 |                                                               |
 +---------------------------------------------------------------+
-````
+```
 
 libmlk-common
 -------------
--- a/docs/specs/db/account.md	Fri Oct 06 16:24:20 2017 +0200
+++ b/docs/specs/db/account.md	Fri Oct 20 11:44:57 2017 +0200
@@ -26,8 +26,8 @@
 
 ## Associations
 
-````nohighlight
+```nohighlight
 +---------------+       0..* +---------------+
 | account       +------------+ character     |
 +---------------+            +---------------+
-````
+```
--- a/docs/specs/db/character.md	Fri Oct 06 16:24:20 2017 +0200
+++ b/docs/specs/db/character.md	Fri Oct 20 11:44:57 2017 +0200
@@ -24,8 +24,8 @@
 
 ## Associations
 
-````nohighlight
+```nohighlight
 +---------------+       0..* +---------------+
 | character     +------------+ spell         |
 +---------------+            +---------------+
-````
+```
--- a/docs/specs/size.md	Fri Oct 06 16:24:20 2017 +0200
+++ b/docs/specs/size.md	Fri Oct 20 11:44:57 2017 +0200
@@ -6,12 +6,12 @@
 
 ### Synopsis
 
-````json
+```json
 {
     "width": 800,
     "height: 600
 }
-````
+```
 
 ### Properties
 
--- a/docs/specs/sprite.md	Fri Oct 06 16:24:20 2017 +0200
+++ b/docs/specs/sprite.md	Fri Oct 20 11:44:57 2017 +0200
@@ -14,7 +14,7 @@
 
 ### Synopsis
 
-````json
+```json
 {
     "image": "image identifier",
     "cell": [ 0, 0 ],
@@ -22,7 +22,7 @@
     "space": [ 0, 0 ],
     "size": [ 50, 50 ]
 }
-````
+```
 
 ### Properties
 
@@ -31,4 +31,4 @@
   - **margin**: top/left and bottom/right margins (Optional: default none),
   - **space**:
     space between each cell horizontally/vertically (Optional: default none),
-  - **size**: override image size (Optional: default automatic).
\ No newline at end of file
+  - **size**: override image size (Optional: default automatic).
--- a/docs/specs/tileset.md	Fri Oct 06 16:24:20 2017 +0200
+++ b/docs/specs/tileset.md	Fri Oct 20 11:44:57 2017 +0200
@@ -4,7 +4,7 @@
 
 ### Synopsis
 
-````json
+```json
 {
     "cell": {
         width: 32,
@@ -16,4 +16,4 @@
         { "p2", 'value 2" }
     },
 }
-````
+```
--- a/libclient/CMakeLists.txt	Fri Oct 06 16:24:20 2017 +0200
+++ b/libclient/CMakeLists.txt	Fri Oct 20 11:44:57 2017 +0200
@@ -92,6 +92,8 @@
     )
 endif ()
 
+find_package(OpenSSL REQUIRED)
+
 malikania_define_library(
     PROJECT libmlk-client
     TARGET libmlk-client