From 5d5f58e15edd4494d2cafb2d9713351f28abd63b Mon Sep 17 00:00:00 2001 From: Tomaz Kragelj Date: Tue, 14 Dec 2010 12:58:13 +0100 Subject: [PATCH] Added default readme file. --- Readme.markdown | 56 ++++++++++++++++++++++++++++++ appledoc.xcodeproj/project.pbxproj | 2 ++ 2 files changed, 58 insertions(+) create mode 100644 Readme.markdown diff --git a/Readme.markdown b/Readme.markdown new file mode 100644 index 00000000..cb4c46a9 --- /dev/null +++ b/Readme.markdown @@ -0,0 +1,56 @@ +About appledoc +============== + +appledoc is command line tool that helps Objective-C developers generate Apple-like source code documentation from specially formatted source code comments. It's designed to take as readable source code comments as possible for the input and use comments as well as surrounding source code to generate visually appealing documentation in the form of HTML as well as fully indexed and browsable Xcode documentation set. Although there are several tools that can create HTML documentation for Objective-C, all of those know to me fall short in meeting the minimum of goals described below. + +Main goals of appledoc: + +- Human-readable source code comments. +- Simple cross references to objects and members. +- Generate Apple-like source code HTML documentation. +- Generate and install fully indexed and browsable Xcode documentation set. +- Single tool to drive generation from source code parsing to documentation set installation. +- Easily customizable output. +- 100% Objective-C implementation for easy debugging. + + +Installation +============ + +The recommended way is to clone GitHub project and compile the tool from Xcode. As cloning GitHub project will create the link to the main repository, it greatly simplifies future upgrading. To install, type the following in the Terminal: + + git clone git://github.com/tomaz/appledoc.git + +This creates appledoc directory. Within you can find appledoc.xcodeproj Xcode project; open it and compile appledoc target - this should work out of the box, however your system must meet minimum system requirements, see below. I recommend you copy resulting appledoc executable from build directory to one of the directories in your path (`echo $PATH`) to make it easily accessible. Before running the tool, you need to copy all required template files from Templates subdirectory to one of the expected locations: + +- ~/Library/Application Support/appledoc +- ~/.appledoc + +If you also want to compile and run AppledocTests (unit tests) target, you need to copy all the frameworks indicated within Libraries & Frameworks group to shared frameworks directory before building! This is not required for building the appledoc tool itself. + +Minimum system requirements: + +- Xcode 3.2 or greater for compiling +- OS X 10.6 for running + + +Using appledoc +============== + +Work in progress... Use `appledoc --help` to see the list of all commands. + + +LICENCE +======= + +appledoc is licenced with MIT licence as stated below: + +Copyright (c) 2009-2010 Tomaz Kragelj + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Tomaz Kragelj tkragelj@gmail.com \ No newline at end of file diff --git a/appledoc.xcodeproj/project.pbxproj b/appledoc.xcodeproj/project.pbxproj index bcf00274..33526321 100644 --- a/appledoc.xcodeproj/project.pbxproj +++ b/appledoc.xcodeproj/project.pbxproj @@ -375,6 +375,7 @@ 73D708871267226900355DB6 /* GBApplicationSettingsProviderTesting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBApplicationSettingsProviderTesting.m; sourceTree = ""; }; 73D8E98911FCC97100966C4A /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 73D8E98B11FCC97100966C4A /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + 73EA656912B7944E00398BD1 /* Readme.markdown */ = {isa = PBXFileReference; lastKnownFileType = text; path = Readme.markdown; sourceTree = ""; }; 73EC00BF1227EB0E0076B7B3 /* GBProcessor-KnownObjectsTesting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GBProcessor-KnownObjectsTesting.m"; sourceTree = ""; }; 73EC00F71227F58F0076B7B3 /* GBProcessor-CommentsTesting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GBProcessor-CommentsTesting.m"; sourceTree = ""; }; 73EC015B122852ED0076B7B3 /* GBCommentsProcessor-TextItemsTesting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GBCommentsProcessor-TextItemsTesting.m"; sourceTree = ""; }; @@ -525,6 +526,7 @@ 08FB7794FE84155DC02AAC07 /* appledoc */ = { isa = PBXGroup; children = ( + 73EA656912B7944E00398BD1 /* Readme.markdown */, 73D54C9011F8D18300CCDDB0 /* Classes */, 739AD36F1254449D00B642C3 /* Templates */, 73D54BDF11F8CE2300CCDDB0 /* Startup */,