Skip to content

Commit

Permalink
Documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
lbv committed Apr 26, 2013
1 parent 5968a92 commit 63b7436
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 351 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
/src/LitJson/AssemblyInfo.cs
/website
18 changes: 15 additions & 3 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
website_dir = $(CURDIR)/../website

PANDOC_OPTS = \
-S -s --toc --toc-depth=2 -t html5 \
--template=template.htm \
--css="css/docs.css"


##
## Quick Start Guide
##
QUICKSTART_OUT = out/quickstart.html
QUICKSTART_FILES = \
quickstart/intro.md \
Expand All @@ -19,12 +24,19 @@ api:
quickstart: $(QUICKSTART_OUT)

$(QUICKSTART_OUT): $(QUICKSTART_FILES) template.htm
pandoc $(PANDOC_OPTS) \
pandoc $(PANDOC_OPTS) --template=template.htm \
-V title="LitJSON Quickstart Guide" \
-V pagetitle="LitJSON Quickstart Guide" \
-o $(QUICKSTART_OUT) $(QUICKSTART_FILES)

website:
mkdir -p $(website_dir)/doc
pandoc $(PANDOC_OPTS) --template=template-web.htm \
-V title="LitJSON Quickstart Guide" \
-V pagetitle="LitJSON Quickstart Guide" \
-o $(website_dir)/doc/quickstart.html $(QUICKSTART_FILES)

clean:
rm -rf $(QUICKSTART_OUT)

.PHONY: all api clean quickstart
.PHONY: all api clean quickstart website
243 changes: 0 additions & 243 deletions doc/manual/sources/quickstart/quickstart.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 63b7436

Please sign in to comment.