jazzy 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -2
- data/.gitmodules +3 -0
- data/.rubocop.yml +67 -0
- data/.rubocop_todo.yml +16 -0
- data/.travis.yml +6 -0
- data/Gemfile +15 -7
- data/Gemfile.lock +62 -12
- data/LICENSE +0 -0
- data/README.md +39 -12
- data/Rakefile +87 -1
- data/bin/jazzy +10 -44
- data/bin/sourcekitten +0 -0
- data/jazzy.gemspec +16 -16
- data/lib/jazzy.rb +1 -159
- data/lib/jazzy/assets/css/jazzy.css +561 -0
- data/lib/{assets/Images/carat_2x.png → jazzy/assets/img/carat.png} +0 -0
- data/lib/jazzy/assets/img/dash.png +0 -0
- data/lib/jazzy/assets/img/gh.png +0 -0
- data/lib/jazzy/assets/js/jazzy.js +15 -0
- data/lib/jazzy/assets/js/jquery.min.js +4 -0
- data/lib/jazzy/config.rb +100 -0
- data/lib/jazzy/doc.mustache +46 -0
- data/lib/jazzy/doc.rb +23 -0
- data/lib/jazzy/doc_builder.rb +166 -0
- data/lib/jazzy/gem_version.rb +3 -0
- data/lib/jazzy/jazzy_markdown.rb +13 -0
- data/lib/jazzy/partials/footer.mustache +4 -0
- data/lib/jazzy/partials/nav.mustache +16 -0
- data/lib/jazzy/partials/parameter.mustache +12 -0
- data/lib/jazzy/partials/task.mustache +66 -0
- data/lib/jazzy/partials/tasks.mustache +7 -0
- data/lib/jazzy/source_declaration.rb +19 -0
- data/lib/jazzy/sourcekitten.rb +146 -0
- data/lib/jazzy/xml_helper.rb +15 -0
- data/screenshot.jpg +0 -0
- data/spec/.gitkeep +0 -0
- data/spec/integration_spec.rb +89 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes.html +266 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager.html +677 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager/SessionDelegate.html +866 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager/Singleton.html +246 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Request.html +1376 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Request/DataTaskDelegate.html +486 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Request/TaskDelegate.html +506 -0
- data/spec/integration_specs/document_alamofire/after/docs/Enums.html +266 -0
- data/spec/integration_specs/document_alamofire/after/docs/Enums/ParameterEncoding.html +391 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions.html +641 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/Manager.html +376 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/NSURL.html +226 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/NSURLComponents.html +226 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/NSURLRequest.html +226 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request.html +377 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request/DownloadTaskDelegate.html +406 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request/MIMEType.html +286 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request/UploadTaskDelegate.html +266 -0
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/String.html +226 -0
- data/spec/integration_specs/document_alamofire/after/docs/Functions.html +1001 -0
- data/spec/integration_specs/document_alamofire/after/docs/Global Variables.html +236 -0
- data/spec/integration_specs/document_alamofire/after/docs/Protocols.html +266 -0
- data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLRequestConvertible.html +236 -0
- data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLStringConvertible.html +236 -0
- data/spec/integration_specs/document_alamofire/after/docs/Typealiases.html +266 -0
- data/spec/integration_specs/document_alamofire/after/docs/css/jazzy.css +561 -0
- data/spec/integration_specs/document_alamofire/after/docs/img/carat.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/img/dash.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/img/gh.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/index.html +194 -0
- data/spec/integration_specs/document_alamofire/after/docs/js/jazzy.js +15 -0
- data/spec/integration_specs/document_alamofire/after/docs/js/jquery.min.js +4 -0
- data/spec/integration_specs/document_alamofire/after/execution_output.txt +2 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/Classes.html +317 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/Classes/ImplicitlyInternalTopLevelClass.html +138 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/Enums.html +155 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/Enums/DocumentedEnum.html +128 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/Global Variables.html +138 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/css/jazzy.css +561 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/img/carat.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/img/dash.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/img/gh.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/index.html +99 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/js/jazzy.js +15 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/js/jquery.min.js +4 -0
- data/spec/integration_specs/misc_jazzy_features/after/execution_output.txt +2 -0
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures.xcodeproj/project.pbxproj +293 -0
- data/{parser/ASTDump.xcodeproj → spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures.xcodeproj}/project.xcworkspace/contents.xcworkspacedata +1 -1
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures/Classes.swift +60 -0
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures/Info.plist +28 -0
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures/MiscJazzyFeatures.h +10 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/Classes.html +317 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/Classes/ImplicitlyInternalTopLevelClass.html +138 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/Enums.html +155 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/Enums/DocumentedEnum.html +128 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/Global Variables.html +138 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/css/jazzy.css +561 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/img/carat.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/img/dash.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/img/gh.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/index.html +99 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/js/jazzy.js +15 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/js/jquery.min.js +4 -0
- metadata +112 -76
- data/DEV_README.md +0 -35
- data/bin/ASTDump +0 -0
- data/bin/generate_swift_header.sh +0 -14
- data/lib/assets/CSS/style-1.1.15.css +0 -3366
- data/lib/assets/Images/apple2.png +0 -0
- data/lib/assets/Images/check.png +0 -0
- data/lib/assets/Images/class_node_parent_and_child_2x.png +0 -0
- data/lib/assets/Images/class_node_subclass_last_child_2x.png +0 -0
- data/lib/assets/Images/class_node_subclass_with_siblings_2x.png +0 -0
- data/lib/assets/Images/closebox_2x.png +0 -0
- data/lib/assets/Images/collection_last_child_2x.png +0 -0
- data/lib/assets/Images/collection_last_child_orphan_grandparent_2x.png +0 -0
- data/lib/assets/Images/collection_last_child_orphan_parent_2x.png +0 -0
- data/lib/assets/Images/collection_last_child_orphan_parent_and_grandparent_2x.png +0 -0
- data/lib/assets/Images/collection_node_2x.png +0 -0
- data/lib/assets/Images/collection_node_orphan_grandparent_2x.png +0 -0
- data/lib/assets/Images/collection_node_orphan_parent_2x.png +0 -0
- data/lib/assets/Images/collection_node_orphan_parent_and_grandparent_2x.png +0 -0
- data/lib/assets/Images/collection_node_parent_2x.png +0 -0
- data/lib/assets/Images/collection_node_parent_last_child_orphan_parent_2x.png +0 -0
- data/lib/assets/Images/collection_node_parent_orphan_parent_2x.png +0 -0
- data/lib/assets/Images/collection_parent_last_child_2x.png +0 -0
- data/lib/assets/Images/download_2x.png +0 -0
- data/lib/assets/Images/left_arrow_2x.png +0 -0
- data/lib/assets/Images/magnify_2x.png +0 -0
- data/lib/assets/Images/minus_2x.png +0 -0
- data/lib/assets/Images/playbutton.svg +0 -15
- data/lib/assets/Images/plus_2x.png +0 -0
- data/lib/assets/Images/right_arrow_2x.png +0 -0
- data/lib/assets/Images/search_2x.png +0 -0
- data/lib/assets/Images/shortstack_2x.png +0 -0
- data/lib/assets/JavaScript/devpubs-1.1.15.js +0 -1293
- data/lib/jazzy/jazzhtml.rb +0 -7
- data/lib/jazzy/klass.mustache +0 -150
- data/lib/jazzy/klass.rb +0 -23
- data/lib/jazzy/partials/klass-method.mustache +0 -70
- data/lib/jazzy/partials/klass-overview.mustache +0 -6
- data/lib/jazzy/partials/klass-property.mustache +0 -41
- data/parser/ASTDump.xcodeproj/project.pbxproj +0 -301
- data/parser/ASTDump.xcodeproj/project.xcworkspace/xcshareddata/ASTDump.xccheckout +0 -41
- data/parser/ASTDump.xcodeproj/project.xcworkspace/xcuserdata/ta.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/parser/ASTDump.xcodeproj/xcuserdata/ta.xcuserdatad/xcschemes/ASTDump.xcscheme +0 -86
- data/parser/ASTDump.xcodeproj/xcuserdata/ta.xcuserdatad/xcschemes/xcschememanagement.plist +0 -22
- data/parser/ASTDump/main.cpp +0 -71
- data/parser/clang-c/BuildSystem.h +0 -148
- data/parser/clang-c/CXCompilationDatabase.h +0 -170
- data/parser/clang-c/CXErrorCode.h +0 -64
- data/parser/clang-c/CXString.h +0 -61
- data/parser/clang-c/Documentation.h +0 -554
- data/parser/clang-c/Index.h +0 -5454
- data/parser/clang-c/Platform.h +0 -45
- data/sample/JAZMusician.h +0 -38
- data/sample/JAZMusician.m +0 -19
- data/sample/Musician.swift +0 -37
data/parser/clang-c/Platform.h
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
/*===-- clang-c/Platform.h - C Index platform decls -------------*- C -*-===*\
|
2
|
-
|* *|
|
3
|
-
|* The LLVM Compiler Infrastructure *|
|
4
|
-
|* *|
|
5
|
-
|* This file is distributed under the University of Illinois Open Source *|
|
6
|
-
|* License. See LICENSE.TXT for details. *|
|
7
|
-
|* *|
|
8
|
-
|*===----------------------------------------------------------------------===*|
|
9
|
-
|* *|
|
10
|
-
|* This header provides platform specific macros (dllimport, deprecated, ...) *|
|
11
|
-
|* *|
|
12
|
-
\*===----------------------------------------------------------------------===*/
|
13
|
-
|
14
|
-
#ifndef CLANG_C_PLATFORM_H
|
15
|
-
#define CLANG_C_PLATFORM_H
|
16
|
-
|
17
|
-
#ifdef __cplusplus
|
18
|
-
extern "C" {
|
19
|
-
#endif
|
20
|
-
|
21
|
-
/* MSVC DLL import/export. */
|
22
|
-
#ifdef _MSC_VER
|
23
|
-
#ifdef _CINDEX_LIB_
|
24
|
-
#define CINDEX_LINKAGE __declspec(dllexport)
|
25
|
-
#else
|
26
|
-
#define CINDEX_LINKAGE __declspec(dllimport)
|
27
|
-
#endif
|
28
|
-
#else
|
29
|
-
#define CINDEX_LINKAGE
|
30
|
-
#endif
|
31
|
-
|
32
|
-
#ifdef __GNUC__
|
33
|
-
#define CINDEX_DEPRECATED __attribute__((deprecated))
|
34
|
-
#else
|
35
|
-
#ifdef _MSC_VER
|
36
|
-
#define CINDEX_DEPRECATED __declspec(deprecated)
|
37
|
-
#else
|
38
|
-
#define CINDEX_DEPRECATED
|
39
|
-
#endif
|
40
|
-
#endif
|
41
|
-
|
42
|
-
#ifdef __cplusplus
|
43
|
-
}
|
44
|
-
#endif
|
45
|
-
#endif
|
data/sample/JAZMusician.h
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// JAZMusician.h
|
3
|
-
// JazzyApp
|
4
|
-
//
|
5
|
-
|
6
|
-
#import <Foundation/Foundation.h>
|
7
|
-
|
8
|
-
/**
|
9
|
-
JAZMusician models, you guessed it... Jazz Musicians!
|
10
|
-
From Ellington to Marsalis, this class has you covered.
|
11
|
-
*/
|
12
|
-
@interface JAZMusician : NSObject
|
13
|
-
|
14
|
-
/**
|
15
|
-
The name of the musician. i.e. "John Coltrane"
|
16
|
-
*/
|
17
|
-
@property (nonatomic, readonly) NSString *name;
|
18
|
-
|
19
|
-
/**
|
20
|
-
The year the musician was born. i.e. 1926
|
21
|
-
*/
|
22
|
-
@property (nonatomic, readonly) NSUInteger birthyear;
|
23
|
-
|
24
|
-
/**
|
25
|
-
Initialize a JAZMusician.
|
26
|
-
Don't forget to have a name and a birthyear.
|
27
|
-
|
28
|
-
@warning Jazz can be addicting.
|
29
|
-
Please be careful out there.
|
30
|
-
|
31
|
-
@param name The name of the musician.
|
32
|
-
@param birthyear The year the musician was born.
|
33
|
-
|
34
|
-
@return An initialized JAZMusician instance.
|
35
|
-
*/
|
36
|
-
- (instancetype)initWithName:(NSString *)name birthyear:(NSUInteger)birthyear;
|
37
|
-
|
38
|
-
@end
|
data/sample/JAZMusician.m
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// JAZMusician.m
|
3
|
-
// JazzyApp
|
4
|
-
//
|
5
|
-
|
6
|
-
#import "JAZMusician.h"
|
7
|
-
|
8
|
-
@implementation JAZMusician
|
9
|
-
|
10
|
-
- (instancetype)initWithName:(NSString *)name birthyear:(NSUInteger)birthyear {
|
11
|
-
self = [super init];
|
12
|
-
if (self) {
|
13
|
-
_name = [name copy];
|
14
|
-
_birthyear = birthyear;
|
15
|
-
}
|
16
|
-
return self;
|
17
|
-
}
|
18
|
-
|
19
|
-
@end
|
data/sample/Musician.swift
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Musician.swift
|
3
|
-
// JazzyApp
|
4
|
-
//
|
5
|
-
|
6
|
-
/**
|
7
|
-
Musician models jazz musicians.
|
8
|
-
From Ellington to Marsalis, this class has you covered.
|
9
|
-
*/
|
10
|
-
class Musician {
|
11
|
-
/**
|
12
|
-
The name of the musician. i.e. "John Coltrane"
|
13
|
-
*/
|
14
|
-
var name: String
|
15
|
-
|
16
|
-
/**
|
17
|
-
The year the musician was born. i.e. 1926
|
18
|
-
*/
|
19
|
-
var birthyear: UInt
|
20
|
-
|
21
|
-
/**
|
22
|
-
Initialize a Musician.
|
23
|
-
Don't forget to have a name and a birthyear.
|
24
|
-
|
25
|
-
@warning Jazz can be addicting.
|
26
|
-
Please be careful out there.
|
27
|
-
|
28
|
-
@param name The name of the musician.
|
29
|
-
@param birthyear The year the musician was born.
|
30
|
-
|
31
|
-
@return An initialized Musician instance.
|
32
|
-
*/
|
33
|
-
init(name: String, birthyear: UInt) {
|
34
|
-
self.name = name
|
35
|
-
self.birthyear = birthyear
|
36
|
-
}
|
37
|
-
}
|