소스 검색

Documentation table of contents;

bjorn 10 년 전
부모
커밋
744f7cdf33
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      doc/README.md
  2. 3 0
      tools/update_documentation.lua

+ 6 - 0
doc/README.md

@@ -1,3 +1,9 @@
+RxLua
+===
+
+Table of Contents
+---
+
 - [Observer](#observer)
   - [create](#createonnext-onerror-oncomplete)
   - [onNext](#onnextvalues)

+ 3 - 0
tools/update_documentation.lua

@@ -2,6 +2,9 @@ local docroc = require 'tools/docroc'
 
 io.output('doc/README.md')
 
+io.write('RxLua\n===\n\n')
+io.write('Table of Contents\n---\n\n')
+
 local comments = docroc.process('rx.lua')
 
 -- Generate table of contents