Adopt ExDoc & Move Documentation In-Tree#2973
Adopt ExDoc & Move Documentation In-Tree#2973jessestimpson wants to merge 6 commits intoerlang:mainfrom
Conversation
|
Love it! |
ferd
left a comment
There was a problem hiding this comment.
I like it as well. I think we'd have to crystallize some of the approach chosen to be broadly compatible with the project (version support, dynamism supported).
Some of the key features of the main site are also the download links on the landing page which no longer exist here, but could certainly be unified a bit better.
I think this is worth pursuing.
|
Thanks for the feedback. I'll update here with the next iteration, hopefully by the weekend. For the record, I'm hoping we can get rebar_ex_doc plugin support for |
- Copy rebar3.org content/en/docs to docs
- Remove Hugo headers in all md files
- Where possible, move Hugo descriptions to quote blocks under the h1
- Remove search.md
- Create package_management/publishing-packages.md from _index.md
- Remove content/en/_index.html (the rebar3.org home page)
- Create testing/introduction.md from testing/_index.md
- Remove _index.md from about, configuration, deployment, extending, and tutorials (only contained generic descriptions)
- Tweak markdown tables to render correctly in ExDoc (README, configuration.md, commands.md, building_plugins.md)
- Remove <br> from table cells
- Rework blocks/callout to Admonitions `{: .warning}` and `{: .info}`
- Fix various broken links (e.g. plugins.md publishing, aliases sections, in configuration.md cover section)
- Convert internal doc linking to ExDoc paths
|
Updates:
|
|
rebar3_ex_doc 0.2.31 added support for groups_for_extras, and I put the README urls back to rebar3.org. Next I will continue with restricting visibility of modules to only those expected as part of the public API. |
|
@ferd @tsloughter This PR is ready for review. The latest is hosted at the same demo link. Known issue: There will be some changes to be made after it's merged that have to be orchestrated. Please let me know how I can assist further.
|
This PR uses ExDoc for docs generation and moves all documentation source into the main
rebar3repository.The primary goal is to bring rebar3's documentation process in line with modern Erlang community standards, enhancing discoverability, familiarity, and contributor experience.
Demo
rebar3exdocdemo.stimpson.io
For demonstration purposes, I've hosted the combined rebar3 ExDocs at the location above. I'll keep them up and running for the lifetime of this PR.
Proposal
This PR proposes three major changes:
rebar3project.Motivation
1. Familiarity & Community Alignment
2. Enhanced Discoverability
erlang.orgor HexDocs. Currently, the documentation is not hosted in either.3. Facilitating Contribution
4. Clear Public API Definition
Progress
https://github.com/tsloughter/rebar3.org.gitand rework as needed for ExDoc formatting and linking./rebar3 as docs ex_doc --app rebar-moduledoc false.where appropriate)