PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Misc/TextMate/Python-Dev.tmbundle/Commands/Open Docs.tmCommand

http://unladen-swallow.googlecode.com/
Unknown | 32 lines | 31 code | 1 blank | 0 comment | 0 complexity | ad878efa33eceebac29bf15a88439890 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 3<plist version="1.0">
 4<dict>
 5	<key>beforeRunningCommand</key>
 6	<string>nop</string>
 7	<key>command</key>
 8	<string># Search order:
 9#  - Current project.
10#  - TM_PYTHONDEV_DOCS.
11#  - Online docs in development.
12
13html_index=$TM_PROJECT_DIRECTORY/Doc/build/html/index.html
14if [[ -f $html_index ]]; then
15	open $html_index
16elif [[ $TM_PYTHONDEV_DOCS ]]; then
17	open $TM_PYTHONDEV_DOCS
18else
19	open http://docs.python.org/dev/
20fi</string>
21	<key>input</key>
22	<string>none</string>
23	<key>keyEquivalent</key>
24	<string>@H</string>
25	<key>name</key>
26	<string>Open Docs</string>
27	<key>output</key>
28	<string>discard</string>
29	<key>uuid</key>
30	<string>BF336FFF-E14D-4BF1-A156-71CF768AC034</string>
31</dict>
32</plist>