forked from ravendb/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme
49 lines (31 loc) · 1.68 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
This repository contains the official RavenDB documenation
The compiled old book can still be downloaded as a PDF from [http://builds.hibernatingrhinos.com/download/2254](http://builds.hibernatingrhinos.com/download/2254)
The documentation is written using the [Markdown language](http://en.wikipedia.org/wiki/Markdown), and may use some extended Markdown features.
* Images should be stored under a local "images" folder, right below the document referencing them. The reference should be to "images/image_name.png". Image names should bear a unique descriptive name, like clientapi_intro_serverimage.png.
* Links to other documents within the documentation system should be relative, without the .markdown extension, e.g. href="../../server/deployment".
The following non-standard syntax is supported as well:
* For code blocks (supported: json, csharp, plain):
{CODE-START:json /}
...
{CODE-END /}
* For highlighted blocks:
{BLOCK ... /}
{NOTE ... /}
{INFO ... /}
{WARNING ... /}
{TIP ... /}
{WARNING ... /}
* For a files list - will output a list of links to all child documents:
{FILES-LIST /}
Generating PDF Version of Documentation
Windows pre-requisites:
- install pandoc @ http://johnmacfarlane.net/pandoc/installing.html
-- I installed 1.11b
-- (on my dev box this installed to C:\Users\<USERNAME>\AppData\Local\Pandoc\pandoc.exe)
- install MikTex @ http://miktex.org/download
-- I installed 2.9.4813
1. Open Powershell into current folder
2. Run generatePDF.ps1. This will generate RavenDB-2.5.pdf
(Special thanks to Karl Seguin for providing valuable information on generating PDFs from markdown files)
Coming soon - epub and mobi
Coming soon - deeper levels of nesting in pdf index