doc_to_dash 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/lib/doc_to_dash/version.rb +1 -1
- data/lib/doc_to_dash/yard_parser.rb +2 -2
- metadata +1 -1
data/README.md
CHANGED
@@ -92,6 +92,10 @@ Tell doc_to_dash to generate a docset:
|
|
92
92
|
|
93
93
|
This will create a docset in the docset_output_path then you just need to load the docset into Dash.
|
94
94
|
|
95
|
+
### Command Line
|
96
|
+
|
97
|
+
doc_to_dash [docset_name] [input_docs_path] [output_docset]
|
98
|
+
|
95
99
|
## Contributing
|
96
100
|
|
97
101
|
1. Fork it
|
data/lib/doc_to_dash/version.rb
CHANGED
@@ -4,7 +4,7 @@ module DocToDash
|
|
4
4
|
@doc_directory = doc_directory
|
5
5
|
end
|
6
6
|
|
7
|
-
def
|
7
|
+
def parse_classes
|
8
8
|
classes_file = File.read(@doc_directory + '/class_list.html')
|
9
9
|
classes_html = Nokogiri::HTML(classes_file)
|
10
10
|
classes = []
|
@@ -20,7 +20,7 @@ module DocToDash
|
|
20
20
|
classes
|
21
21
|
end
|
22
22
|
|
23
|
-
def
|
23
|
+
def parse_methods
|
24
24
|
methods_file = File.read(@doc_directory + '/method_list.html')
|
25
25
|
methods_html = Nokogiri::HTML(methods_file)
|
26
26
|
methods = []
|