You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-8
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Welcome To Gitdown
9
9
10
10
Gitdown is a simple tool for writing documentation hosted on a github repository. It uses [ditaa][] to convert ascii diagrams into images, and produces [markdown][] documents that can be uploaded to your repository along with code. I made Gitdown so that we could write technical white papers and user guides as plain text (including diagrams) and publish them with a single "git push" command. Gitdown is a simpler version of the tool we use to maintain the [ØMQ][zeromq][Guide][zguide].
11
11
12
-
Gitdown is written and maintained by Pieter Hintjens. Please use the issue [tracker][] for all comments and errata. This document was published on Tuesday February, 2013 at 16:43:34, and generated by the magic of Gitdown from README.txt.
12
+
Gitdown is written and maintained by Pieter Hintjens. Please use the issue [tracker][] for all comments and errata. This document was published on Tuesday February, 2013 at 19:42:21, and generated by the magic of Gitdown from README.txt.
@@ -46,7 +46,14 @@ The code is in the bin subdirectory. Here is how I install it on a new box:
46
46
sudo cp bin/* /usr/local/bin
47
47
export PERLLIB=$PATH # goes into .bash_profile
48
48
49
-
Gitdown includes Ditaa/0.9 and assumes that Ditaa goes into /usr/local/bin/ditaa0_9.jar. Feel free to propose a better design.
49
+
Gitdown includes Ditaa/0.9 and assumes that Ditaa goes into /usr/local/bin/ditaa0_9.jar.
50
+
51
+
Another option is to leave the files in the git directory and install a wrapper script.
52
+
Assuming the directory ~/bin exists and is in your path, you can do the following:
53
+
54
+
make-wrapper ~/bin
55
+
56
+
to create the file ~/bin/gitdown, which will set things up to run correctly.
50
57
51
58
Gitdown assumes that these tools are already installed on your box, which is easy if you're running Linux:
52
59
@@ -62,7 +69,7 @@ To use Gitdown, edit a text document much like this README.txt. Then:
62
69
63
70
The images directory holds images for all documents in the current directory. You can write documents anywhere on the git tree but if they are not at the root you must tell Gitdown how to create a full image path by setting the SUBDIR symbol (see below).
0 commit comments