Skip to content

Commit c5bf72d

Browse files
committed
Update toc and run syntax highlitghting automatically
1 parent 4ebbff6 commit c5bf72d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

docs/pretty.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
$( document ).ready(function() {
3+
$('pre code').parent().addClass('prettyprint well');
4+
prettyPrint();
5+
});

mkdocs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ repo_url: https://github.com/bjori/phongo
33
theme: spacelab
44
pages:
55
- [index.md, Home]
6-
- [crud.md, CRUD]
7-
- [batch.md, Batch CRUD]
6+
- [crud.md, "CRUD", "Basic"]
7+
- [batch.md, "CRUD", "Batches"]
8+
- [commands.md, Commands]
9+
extra_javascript:
10+
- pretty.js

0 commit comments

Comments
 (0)