-
Notifications
You must be signed in to change notification settings - Fork 97
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
Better docs #733
Better docs #733
Conversation
ef0e1b5
to
59e7f70
Compare
note: edits from now on will contain version (currently: (e2)) to help identify changes i wonder if the navigation links at the top of the main section would be helpful on the sidebar as well? or at least a link for home/top and/or up i guess also a sitemap - or links to more (ideally almost all) pages at the intro page - it's currently less than one page anyway so i don't think it would hurt (i feel like this would be useful as some links are only (?) discoverable through links named e.g. "separate page") anyway, i've found a few potential (syntax) issues in my first pass: general issues(probably issues with odoc and therefore not exactly in scope for this PR):
specific files
|
i haven't checked everything yet - but i'm thinking of editing the post above (with a changelog) rather than making a new post when (well... if) i do, if that's fine of course for anyone else interested in reading over this - it will probably be useful looking at the directory listing of the built site - since a lot of the |
@asavahista This is excellent, thank you very much! |
side note: i believe this would close #573 (or otherwise partially invalidate it)? |
it would probably help if gh-pages was rebuilt, there have been a considerable number of commits since last build |
Amongst others, allow an environment variable to cause building the docs to build core_kernel and base so we can do a bit of a benchmark
Specifically Cram tests and Expect-tests
59e7f70
to
8988187
Compare
I've done a small update following @asavahista's suggestions - more are to come though. Updated http://jonludlam.github.io/odoc with the current state. General issues
Specific pages:
|
clarification: the source mld files - generally nobody will need to browse the build output side note: ci is producing some weird failures, not sure if that's a concern |
ok so... i don't think i'll be able to comment on the actual content (e.g. whether it's sufficient/comprehensive enough) before i actually need to use it (apologies in advance if this post is a bit messy. as with the previous post i tend to jump around when making the list) (of course, feel free to ignore any of the nitpicks in the following list, they are mostly nitpicks after all!) some offtopic stuffone thing i've been thinking about re: contributing - i feel like a code tour (note: currently vs code only) style guide to the codebase would be pretty sweet (and very, very helpful for figuring out where to start debugging an issue/implementing a feature request). it would be quite difficult to get right, but potentially worth the effort.
|
Also format the code to reduce the number of overflows
Still need to make formatting around `module A` and `type t` consistent.
I believe I have made most of the updates suggested - many thanks to everyone who helped with this! I'll merge this now so we have something we can release, and we can continue updating and improving it in further PRs. |
CHANGES: Breaking changes - Remove odoc-parser into a separate repository (@jonludlam, ocaml/odoc#700) Additions - OCaml 4.13 support (@Octachron, ocaml/odoc#687, ocaml/odoc#689) - Better errors/warnings (@Julow, ocaml/odoc#692, ocaml/odoc#717, ocaml/odoc#720, ocaml/odoc#732) - ModuleType 'Alias' support (@jonludlam, ocaml/odoc#703) - Improved test suite (@lubega-simon, ocaml/odoc#697) - Improved documentation (@lubega-simon, @jonludlam, ocaml/odoc#702, ocaml/odoc#733) - Strengthen module types (@jonludlam, ocaml/odoc#731) Bugs fixed - `uwt` now can be documented (@jonludlam, ocaml/odoc#708) - Fix resolution involving deeply nested substitutions (@jonludlam, ocaml/odoc#727) - Fix off-by-one error in error reporting (@asavahista, ocaml/odoc#736)
Preview here: https://jonludlam.github.io/odoc/