@@ -48,7 +48,6 @@ fn parse_into_actiondoc(output: Cow<'_, str>) {
4848 for map in yml. iter ( ) {
4949 let name = getstr ! ( map, "name" ) ;
5050 let complexity = getstr ! ( map, "complexity" ) ;
51- println ! ( "{:?}" , map. get( "accept" ) . unwrap( ) ) ;
5251 let accept_ty = get_str_array ! ( map, "accept" ) ;
5352 let return_ty = get_str_array ! ( map, "return" ) ;
5453 let syntax = get_str_array ! ( map, "syntax" ) ;
@@ -97,29 +96,32 @@ Skytable currently supports the following actions:
9796
9897pub fn init_type_linklist ( ) -> HashMap < & ' static str , & ' static str > {
9998 let mut hm = HashMap :: new ( ) ;
100- hm. insert ( "Rcode 0" , "protocol/response-codes" ) ;
101- hm. insert ( "Rcode 1" , "protocol/response-codes" ) ;
102- hm. insert ( "Rcode 2" , "protocol/response-codes" ) ;
103- hm. insert ( "Rcode 3" , "protocol/response-codes" ) ;
104- hm. insert ( "Rcode 4" , "protocol/response-codes" ) ;
105- hm. insert ( "Rcode 5" , "protocol/response-codes" ) ;
106- hm. insert ( "Rcode 6" , "protocol/response-codes" ) ;
107- hm. insert ( "Rcode 7" , "protocol/response-codes" ) ;
108- hm. insert ( "Rcode 8" , "protocol/response-codes" ) ;
109- hm. insert ( "Rcode 9" , "protocol/response-codes" ) ;
110- hm. insert ( "Error String" , "protocol/errors#table-of-errors" ) ;
111- hm. insert ( "err-snapshot-busy" , "protocol/errors/#table-of-errors" ) ;
99+ hm. insert ( "Rcode 0" , "../ protocol/response-codes" ) ;
100+ hm. insert ( "Rcode 1" , "../ protocol/response-codes" ) ;
101+ hm. insert ( "Rcode 2" , "../ protocol/response-codes" ) ;
102+ hm. insert ( "Rcode 3" , "../ protocol/response-codes" ) ;
103+ hm. insert ( "Rcode 4" , "../ protocol/response-codes" ) ;
104+ hm. insert ( "Rcode 5" , "../ protocol/response-codes" ) ;
105+ hm. insert ( "Rcode 6" , "../ protocol/response-codes" ) ;
106+ hm. insert ( "Rcode 7" , "../ protocol/response-codes" ) ;
107+ hm. insert ( "Rcode 8" , "../ protocol/response-codes" ) ;
108+ hm. insert ( "Rcode 9" , "../ protocol/response-codes" ) ;
109+ hm. insert ( "Error String" , "../ protocol/errors#table-of-errors" ) ;
110+ hm. insert ( "err-snapshot-busy" , "../ protocol/errors/#table-of-errors" ) ;
112111 hm. insert (
113112 "err-invalid-snapshot-name" ,
114- "protocol/errors/#table-of-errors" ,
113+ "../ protocol/errors/#table-of-errors" ,
115114 ) ;
116- hm. insert ( "err-snapshot-disabled" , "protocol/errors/#table-of-errors" ) ;
117- hm. insert ( "AnyArray" , "protocol/data-types#any-array" ) ;
118- hm. insert ( "Flat Array" , "protocol/data-types#flat-array" ) ;
119- hm. insert ( "Typed Array" , "protocol/data-types#typed-array" ) ;
120- hm. insert ( "String" , "skyhash#strings-" ) ;
121- hm. insert ( "Binstr" , "skyhash#strings-" ) ;
122- hm. insert ( "Integer" , "skyhash#unsigned-integers-" ) ;
115+ hm. insert (
116+ "err-snapshot-disabled" ,
117+ "../protocol/errors/#table-of-errors" ,
118+ ) ;
119+ hm. insert ( "AnyArray" , "../protocol/data-types#any-array" ) ;
120+ hm. insert ( "Flat Array" , "../protocol/data-types#flat-array" ) ;
121+ hm. insert ( "Typed Array" , "../protocol/data-types#typed-array" ) ;
122+ hm. insert ( "String" , "../protocol/skyhash#strings-" ) ;
123+ hm. insert ( "Binstr" , "../protocol/skyhash#strings-" ) ;
124+ hm. insert ( "Integer" , "../protocol/skyhash#unsigned-integers-" ) ;
123125 hm
124126}
125127
0 commit comments