~ubuntu-branches/ubuntu/maverick/python3.1/maverick

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-03-23 00:01:27 UTC
  • Revision ID: james.westby@ubuntu.com-20090323000127-5fstfxju4ufrhthq
Tags: upstream-3.1~a1+20090322
ImportĀ upstreamĀ versionĀ 3.1~a1+20090322

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
13
html_index=$TM_PROJECT_DIRECTORY/Doc/build/html/index.html
 
14
if [[ -f $html_index ]]; then
 
15
        open $html_index
 
16
elif [[ $TM_PYTHONDEV_DOCS ]]; then
 
17
        open $TM_PYTHONDEV_DOCS
 
18
else
 
19
        open http://docs.python.org/dev/
 
20
fi</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>