Skip to content

Commit 64c126e

Browse files
committed
adding toc file for index page
1 parent c2afb4c commit 64c126e

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

build/doctool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ if (argc > 3) {
105105
data = loadIncludes(data, filename);
106106
// go markdown.
107107
html = convertData(data);
108-
filename = path.basename(filename, '.markdown');
108+
filename = path.basename(filename, '.md');
109109

110110
if (filename != "_toc" && filename != "index") {
111111
if (data) {

doc/md/_toc.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Table of Contents
2+
3+
* [Overview](overview.html)
4+
* [Core](core.html)
5+
* [Distributions](distributions.html)
6+
* [Special Functions](special-functions.html)
7+
* [Flot Integration](flot-integration.html)

doc/md/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@include _toc.md

0 commit comments

Comments
 (0)