-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync Belt / Js doc headers #5361
Conversation
71f6b25
to
1728a0c
Compare
Made a PR for |
I'll start with |
Created #5442 for |
Created #5443 for |
Sync docs for js_math.ml
Sync docs for js_option.ml
Sync docs for js_re.ml
Alright, things that are now done:
Now the next step is to convert all of those files from mli / ml to res (will probably do that in a separate PR). Follow-up task will be handling the issue with cppo files as described in #5458. |
Wonderful! |
* Sync doc headers for belt.ml * Sync doc headers for belt_Array.mli * Update belt_Float.mli doc headers * Sync docs for belt_HashMap.mli * Sync docs for belt_HashMapInt.mli * Sync docs for belt_HashMapString.mli * Sync belt_HashSet.mli * Update belt_HashMapInt * Sync belt_HashSetString.mli * Sync docs for belt_Int.mli * Sync docs for belt_List.mli * Sync docs for belt_Option.mli * Adapt docs in belt_Option.mli for parts missing in rescript-lang.org MDX * Sync docs for belt_Result.mli * Sync docs for belt_Set.mli * Sync docs for belt_SetInt.mli * Sync docs for belt_SetString.mli * Sync docs for belt_SetDict.mli * Sync docs for belt_MutableSetInt.mli * Sync docs for belt_MutableSetString.mli * Sync all the docstring texts from sort-array.mdx * Remove duplication of type definitions * Sync all the docstring texts from sort-array-int.mdx * Sync docs for belt_Map.mli * Sync docs for belt_MapInt.mli * Sync docs for belt_MapString.mli * Sync docs for belt_MutableMap.mli * Sync docs for belt_MutableMapInt.mli * Sync docs for belt_MutableMapString.mli * Remove duplicate type signatures * Sync all the docstring texts from sort-array-string.mdx * Sync docs for belt_MutableSet.mli * Sync docs for belt_Range.mli * Sync docs for belt_MutableQueue.mli * Sync docs for belt_MutableStack.mli * Sync docs for Js.ml * Sync docs for js_array.ml * Sync docs for js_array2.ml * Sync docs for js_date.ml * Sync docs for js_dict.mli * Sync docs for js_exn.mli * Sync docs for js_float.ml * Sync docs for js_math.ml * Sync docs for js_option.ml * Sync docs of js_global.ml * Sync docs for js_int.ml * Sync docs for js_re.ml * Sync docs for js_json.mli * Sync docs for js_null.mli * Sync docs for js_null_undefined * Sync docs for js_obj.ml * Sync docs for js_promise.ml * Sync docs for js_string.ml * Fix misplaced doc in js_array2 * Sync docs for js_string2.ml * Update docs for js_types.mli * Sync docs for js_undefined.mli * Sync docs for js_vector.mli Co-authored-by: Patrick Ecker <ryyppy@users.noreply.github.com> Co-authored-by: Victor Nakoryakov <nail.xx@gmail.com> Co-authored-by: Whit Chapman <whit.chapman@gmail.com> Co-authored-by: jihchi <achi@987.tw> Co-authored-by: Bart Schuurmans <bart@minnozz.com>
Fixes #4872
This PR syncs back all our written docs from our docs website (see this directory for reference).
Goal is to rescriptify all the inline code examples and later on use the original source as the source of truth for our language api generation.
Lots of manual work, but will be worthwhile.
belt.ml
belt_Array.mli
belt_Float.mli
belt_HashMap.mli
belt_HashMapInt.mli
belt_HashMapString.mli
belt_HashSet.mli
belt_HashSetInt.mli
belt_HashSetString.mli
belt_Id.mli
belt_Int.mli
belt_List.mli
belt_Map.mli
belt_MapDict.mli
belt_MapInt.mli
belt_MapString.mli
belt_MutableMap.mli
belt_MutableMapInt.mli
belt_MutableMapString.mli
belt_MutableQueue.mli
belt_MutableSet.mli
belt_MutableSetInt.mli
belt_MutableSetString.mli
belt_MutableStack.mli
belt_Option.mli
belt_Range.mli
belt_Result.mli
(all the cppo files + generated files need to be handled in a different PR. This requires some infrastructural refactor)belt_Set.cppo.mli
belt_Set.mli
belt_SetDict.mli
belt_SetInt.mli
belt_SetString.mli
belt_SortArray.mli
belt_SortArrayInt.mli
belt_SortArrayString.mli
Step 1) Syncing up the docs is done.
Step 2) Transform
ml
files tores