1
0
Fork 0

Some fixes for folding

This commit is contained in:
Thomas Schmidts 2014-06-11 15:25:04 +02:00
parent 3556868659
commit 86cce6f19f
8 changed files with 22 additions and 9 deletions

View File

@ -18,6 +18,6 @@ build-books: md-files
build-book: build-book:
@test -d books/$(NAME) || mkdir books/$(NAME) @test -d books/$(NAME) || mkdir books/$(NAME)
cd $(NAME) && gitbook build -o ../books/$(NAME) cd $(NAME) && gitbook build -o ../books/$(NAME)
cp Users/arangodb_logo2.png books/Users/ cp Users/Arangodb_Logo.png books/Users/
@for file in $(basename $(MD_FILES)); do echo "remove $${file}.md";rm $${file}.md;done @for file in $(basename $(MD_FILES)); do echo "remove $${file}.md";rm $${file}.md;done

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -23,7 +23,13 @@ existing collection named "users" on the server.
Let's further assume the import at hand is encoded in JSON. We'll be using these Let's further assume the import at hand is encoded in JSON. We'll be using these
example user records to import: example user records to import:
@verbinclude arangoimp-data-json ```
{ "name" : { "first" : "John", "last" : "Connor" }, "active" : true, "age" : 25, "likes" : [ "swimming"] }
{ "name" : { "first" : "Jim", "last" : "O'Brady" }, "age" : 19, "likes" : [ "hiking", "singing" ] }
{ "name" : { "first" : "Lisa", "last" : "Jones" }, "dob" : "1981-04-09", "likes" : [ "running" ] }
```
<!--@verbinclude arangoimp-data-json-->
To import these records, all you need to do is to put them into a file (with one To import these records, all you need to do is to put them into a file (with one
line for each record to import) and run the following command: line for each record to import) and run the following command:

View File

@ -22,6 +22,7 @@ Truncates a collection, removing all documents but keeping all its indexes.
Truncates a collection: Truncates a collection:
```
arango> col = db.examples; arango> col = db.examples;
[ArangoCollection 91022, "examples" (status new born)] [ArangoCollection 91022, "examples" (status new born)]
arango> col.save({ "Hello" : "World" }); arango> col.save({ "Hello" : "World" });
@ -31,6 +32,7 @@ arango> col.count();
arango> col.truncate(); arango> col.truncate();
arango> col.count(); arango> col.count();
0 0
```
`collection.properties()` `collection.properties()`

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View File

@ -24,7 +24,7 @@
<!-- Title --> <!-- Title -->
<h1> <h1>
<i class="fa fa-spinner fa-spin"></i> <i class="fa fa-spinner fa-spin"></i>
<a href="https://www.arangodb.org" target="_blank"><img src="../arangodb_logo2.png" style= width="222" height="35" border="0" alt="ArangoDB" style="position:fixed"></a> <a href="https://www.arangodb.org" > <img src="../Arangodb_Logo.png" alt="ArangoDB" border="0" style="position:relative"></a>
<div style="position:relative; bottom:50px; left:110px; font-size:22pt">2.1.0</div> <div style="position:relative; bottom:45px; left:90px; font-size:12pt">2.1.0</div>
</h1> </h1>
</div> </div>

View File

@ -25,7 +25,7 @@
{% if options.links.issues !== false && (options.links.issues || githubId) %} {% if options.links.issues !== false && (options.links.issues || githubId) %}
{% set _divider = true %} {% set _divider = true %}
<li> <li>
<a href="{{ options.links.issues|default(githubHost+githubId+"/issues") }}" target="blank"class="issues-link">Need more help?</a> <a href="{{ options.links.issues|default(githubHost+githubId+"/issues") }}" target="blank"class="issues-link">Have any questions?</a>
</li> </li>
{% endif %} {% endif %}
{% if _divider %} {% if _divider %}
@ -64,7 +64,7 @@
} }
}); });
jQuery(".summary>li").on("click",function(){ jQuery(".summary>li").on("click",function(){
jQuery(".summary>li>ul").hide(); jQuery(".summary>li").show();
jQuery("ul",this).slideDown(); jQuery("ul",this).slideDown();
}); });
</script> </script>

View File

@ -52,4 +52,9 @@
{{ htmlSnippet("body:end")|default("") }} {{ htmlSnippet("body:end")|default("") }}
</body> </body>
{{ htmlSnippet("html:end")|default("") }} {{ htmlSnippet("html:end")|default("") }}
<script type="text/javascript">
jQuery(".summary>li").each(function(){
jQuery('ul',this).hide();
});
</script>
</html> </html>