@@ -13,15 +13,15 @@ Introduction
1313
1414**pyexcel-gantt ** does Draw gantt chart using frappe-gantt module for pyexcel data.
1515
16- Here is a sample csv file::
16+ Here is ` a sample csv `_ file::
1717
1818 id,name,start,end,progress,dependencies,custom_class
1919 Task 1,Writing pyexcel-gantt,2017-07-17,2017-07-18,80,,
2020 Task 2,Test pyexcel-gantt,2017-07-19,2017-07-20,10,Task 1,,
2121 Task 3,Write up the documentation,2017-07-21,2017-07-22,0,Task 1,,
2222 Task 4,Release pyexcel-gantt,2017-07-23,2017-07-23,0,"Task 2, Task 3",,bar-milestone
2323
24- .. image :: demo/demo.png
24+ .. image :: https://github.com/pyexcel/pyexcel-gantt/raw/master/ demo/demo.png
2525
2626Here's what you need to do in your program:
2727
@@ -31,8 +31,16 @@ Here's what you need to do in your program:
3131
3232
3333 p.save_as(file_name = ' tasks.csv' ,
34- dest_file_name = ' demo .gantt.html' , )
34+ dest_file_name = ' tasks .gantt.html' )
3535
36+ Alternatively, you can do it with pyexcel's command line interface:
37+
38+ .. code-block :: bash
39+
40+ $ pyexcel transcode tasks.csv tasks.gantt.html
41+
42+
43+ .. _a sample csv : https://github.com/pyexcel/pyexcel-gantt/raw/master/demo/tasks.csv
3644
3745Known constraints
3846==================
@@ -78,7 +86,7 @@ Please copy the hightlighted lines into the head section of each of your web pag
7886
7987.. code-block :: html
8088 :linenos:
81- :emphasize-lines: 2-19
89+ :emphasize-lines: 2-21
8290
8391 <html ><head >
8492 <style >
0 commit comments