Skip to content

Commit

Permalink
Improved documentation generation scripts and config.
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed Jun 28, 2015
1 parent b820b50 commit aba9c22
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -8,7 +8,7 @@ pom.xml.asc
*.swp
/.lein-*
/.nrepl-port
doc/index.html
/doc/dist
\#*\#
*~
.\#*
12 changes: 7 additions & 5 deletions doc/Makefile
@@ -1,7 +1,9 @@
all: auth
all: doc

auth:
asciidoctor -o index.html content.adoc
doc:
mkdir -p dist/latest/
asciidoctor -a docinfo -a stylesheet! -o dist/latest/index.html content.adoc

clean:
rm -f index.html
github: doc
ghp-import -m "Generate documentation" -b gh-pages dist/
git push origin gh-pages
2 changes: 2 additions & 0 deletions doc/content-docinfo.html
@@ -0,0 +1,2 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic|Liberation+Mono:400|Roboto+Slab:400,700"/>
<link rel="stylesheet" href="https://www.niwi.nz/_assets/asciidoctor-styles/simple-red-titles/stylesheet.css"/>
7 changes: 6 additions & 1 deletion doc/content.adoc
@@ -1,10 +1,15 @@
= buddy-sign - High level message signing.
Andrey Antukh, <niwi@niwi.be>
0.6.0
:toc: left
:numbered:
:!numbered:
:source-highlighter: pygments
:pygments-style: friendly
:sectlinks:
:idseparator: -
:idprefix:
:toclevels: 2


== Introduction

Expand Down

0 comments on commit aba9c22

Please sign in to comment.