Skip to content

Commit

Permalink
Merge 4ffb37a into 0f7c219
Browse files Browse the repository at this point in the history
  • Loading branch information
swenzel committed Apr 27, 2019
2 parents 0f7c219 + 4ffb37a commit 05e9a68
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ doc/samples/*.in
doc/samples/*.out
doc/samples/file*


dev
.vscode
2 changes: 1 addition & 1 deletion doc/tutorial/tuto_1_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def module_to_dot(dependencies, targets):
for dep in dependencies:
filepath = pathlib.Path(dep)
source = filepath.stem
with open(filepath) as fh:
with filepath.open() as fh:
for line in fh:
sink = line.strip()
if sink:
Expand Down
3 changes: 2 additions & 1 deletion doc/tutorial_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ required python packages
$ pip install doit pygraphviz import_deps
Note that on some linux systems it is necessary to install the system package `graphviz-dev` first.

sample project
--------------
Expand Down Expand Up @@ -621,7 +622,7 @@ key is the sub-task name:
.. literalinclude:: tutorial/tuto_1_3.py
:language: python3
:lines: 25-41
:emphasize-lines: 5,15
:emphasize-lines: 5,13-15


Finally, adjust task ``draw``.
Expand Down
2 changes: 1 addition & 1 deletion doc_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# $ pip install --requirement doc_requirements.txt

sphinx

sphinx_rtd_theme

0 comments on commit 05e9a68

Please sign in to comment.