This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use edown and pandoc to build docs (#66)
* use edown and pandoc to build docs * add tag ctx header docs to sidenav * separate scrolling for sidenav and content * fix version number in readme/index
- Loading branch information
1 parent
432d4fe
commit e884a14
Showing
48 changed files
with
4,324 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
doc/*.html | ||
!doc/tpl.html | ||
priv/opencensus-proto | ||
.rebar3 | ||
_* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
SOURCE_DOCS := $(wildcard *.md) | ||
|
||
EXPORTED_DOCS=\ | ||
$(SOURCE_DOCS:.md=.html) | ||
|
||
RM=/bin/rm | ||
|
||
PANDOC=pandoc | ||
|
||
PANDOC_HTML_OPTIONS=--standalone --highlight-style=tango --template tpl.html -f gfm --to html5 | ||
|
||
%.html : %.md | ||
pandoc $(PANDOC_HTML_OPTIONS) -o $@ $< | ||
|
||
|
||
.PHONY: all clean | ||
|
||
all : $(EXPORTED_DOCS) | ||
|
||
clean: | ||
- $(RM) $(EXPORTED_DOCS) |
Oops, something went wrong.