| 93 | | usage = "usage: mkpydir -t <type (wikiurl|htfile|html|rest)> [-d <prefixdirforsourcefile>] -p <pathtosourcefile> -o <outputdir> [-l] [-R]" |
|---|
| | 93 | usage = """usage: mkpydir -t <type (wikiurl|htfile|html|restfile)> [-d <prefixdirforsourcefile>] -p <pathtosourcefile> -o <outputdir> [-l] [-R] |
|---|
| | 94 | examples |
|---|
| | 95 | to create a page from a restructured text file |
|---|
| | 96 | mkpydir -t restfile -d $HOME/pythondocs -p mypage.rst -o $HOME/beta.python.org/build/data/mynewpagedir |
|---|
| | 97 | to create a page from a htfile file (copying the contents into the pyramid dir) |
|---|
| | 98 | mkpydir -t htfile -d $HOME/pydotorg/trunk -p /Help.ht -o $HOME/beta.python.org/build/data/help |
|---|
| | 99 | to link in some content from the pydotorg tree such that it always builds from the original |
|---|
| | 100 | mkpydir -t htfile -l -p /Help.ht -o $HOME/beta.python.org/build/data/help |
|---|
| | 101 | to include a wiki page |
|---|
| | 102 | mkpydir -t wikiurl -d http://wiki.python.org/moin -p /Applications -o $HOME/beta.python.org/build/data/applications |
|---|
| | 103 | to perform the above operation and create the page below the current directory |
|---|
| | 104 | mkpydir -t wikiurl -d http://wiki.python.org/moin -p /Applications -o . |
|---|
| | 105 | """ |
|---|