Skip to content

Commit 5c32dd5

Browse files
committed
update file references
1 parent 54dcb6c commit 5c32dd5

File tree

3 files changed

+25
-9
lines changed

3 files changed

+25
-9
lines changed

.moban.d/gantt.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here is `a sample csv`_ file::
88
Task 3,Write up the documentation,2017-07-21,2017-07-22,0,Task 1,,
99
Task 4,Release pyexcel-gantt,2017-07-23,2017-07-23,0,"Task 2, Task 3",,bar-milestone
1010

11-
.. image:: demo/demo.png
11+
.. image:: https://github.com/pyexcel/pyexcel-gantt/raw/master/demo/demo.png
1212

1313
Here's what you need to do in your program:
1414

@@ -27,4 +27,4 @@ Alternatively, you can do it with pyexcel's command line interface:
2727
$ pyexcel transcode tasks.csv tasks.gantt.html
2828
2929
30-
.. _a sample csv:
30+
.. _a sample csv: https://github.com/pyexcel/pyexcel-gantt/raw/master/demo/tasks.csv

README.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Introduction
3737
================================================================================
3838
**pyexcel-gantt** does Draw gantt chart using frappe-gantt module for pyexcel data.
3939

40-
Here is a sample csv file::
40+
Here is `a sample csv`_ file::
4141

4242
id,name,start,end,progress,dependencies,custom_class
4343
Task 1,Writing pyexcel-gantt,2017-07-17,2017-07-18,80,,
4444
Task 2,Test pyexcel-gantt,2017-07-19,2017-07-20,10,Task 1,,
4545
Task 3,Write up the documentation,2017-07-21,2017-07-22,0,Task 1,,
4646
Task 4,Release pyexcel-gantt,2017-07-23,2017-07-23,0,"Task 2, Task 3",,bar-milestone
4747

48-
.. image:: demo/demo.png
48+
.. image:: https://github.com/pyexcel/pyexcel-gantt/raw/master/demo/demo.png
4949

5050
Here's what you need to do in your program:
5151

@@ -55,8 +55,16 @@ Here's what you need to do in your program:
5555
5656
5757
p.save_as(file_name='tasks.csv',
58-
dest_file_name='demo.gantt.html',)
58+
dest_file_name='tasks.gantt.html')
5959
60+
Alternatively, you can do it with pyexcel's command line interface:
61+
62+
.. code-block:: bash
63+
64+
$ pyexcel transcode tasks.csv tasks.gantt.html
65+
66+
67+
.. _a sample csv: https://github.com/pyexcel/pyexcel-gantt/raw/master/demo/tasks.csv
6068

6169

6270

docs/source/index.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

2626
Here'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

3745
Known 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

Comments
 (0)