Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First version of the HTML documentation.
- Loading branch information
Showing
349 changed files
with
33,479 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
Oops, something went wrong.