Skip to content

Commit

Permalink
First version of the HTML documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
madbranch committed Aug 4, 2012
1 parent 52ad8b5 commit c46653b
Show file tree
Hide file tree
Showing 349 changed files with 33,479 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Info.plist
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>Json Box</string>
<key>CFBundleIdentifier</key>
<string>net.anhero.JsonBox</string>
<key>CFBundleVersion</key>
<string>0.4.3</string>
<key>DocSetFeedName</key>
<string>JsonBox</string>
<key>DocSetPublisherIdentifier</key>
<string>net.anhero.JsonBox.documentation</string>
<key>DocSetPublisherName</key>
<string>AnheroInc.</string>
</dict>
</plist>
35 changes: 35 additions & 0 deletions Makefile
@@ -0,0 +1,35 @@
DOCSET_NAME=net.anhero.JsonBox.docset
DOCSET_CONTENTS=$(DOCSET_NAME)/Contents
DOCSET_RESOURCES=$(DOCSET_CONTENTS)/Resources
DOCSET_DOCUMENTS=$(DOCSET_RESOURCES)/Documents
DESTDIR=~/Library/Developer/Shared/Documentation/DocSets
XCODE_INSTALL=$(shell xcode-select -print-path)

all: docset

docset:
mkdir -p $(DOCSET_DOCUMENTS)
cp Nodes.xml $(DOCSET_RESOURCES)
cp Tokens.xml $(DOCSET_RESOURCES)
cp Info.plist $(DOCSET_CONTENTS)
tar --exclude $(DOCSET_NAME) \
--exclude Nodes.xml \
--exclude Tokens.xml \
--exclude Info.plist \
--exclude Makefile -c -f - . \
| (cd $(DOCSET_DOCUMENTS); tar xvf -)
$(XCODE_INSTALL)/usr/bin/docsetutil index $(DOCSET_NAME)
rm -f $(DOCSET_DOCUMENTS)/Nodes.xml
rm -f $(DOCSET_DOCUMENTS)/Info.plist
rm -f $(DOCSET_DOCUMENTS)/Makefile
rm -f $(DOCSET_RESOURCES)/Nodes.xml
rm -f $(DOCSET_RESOURCES)/Tokens.xml

install: docset
mkdir -p $(DESTDIR)
cp -R $(DOCSET_NAME) $(DESTDIR)

uninstall:
rm -rf $(DESTDIR)/$(DOCSET_NAME)

always:

0 comments on commit c46653b

Please sign in to comment.