Skip to content

chore: Migrate docs from EDoc to Markdown#104

Draft
Benjamin-Philip wants to merge 6 commits into
apache:mainfrom
Benjamin-Philip:bp/markdown-docs
Draft

chore: Migrate docs from EDoc to Markdown#104
Benjamin-Philip wants to merge 6 commits into
apache:mainfrom
Benjamin-Philip:bp/markdown-docs

Conversation

@Benjamin-Philip

@Benjamin-Philip Benjamin-Philip commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

What issue does this PR close?

Closes #103.

What's Changed

Inline documentation has been migrated to markdown.

Erlang/OTP, Rebar3 and rebar3_ex_doc have all been updated to the latest
stable version in order to use the new markdown support.

Copilot AI review requested due to automatic review settings July 14, 2026 13:16
@Benjamin-Philip Benjamin-Philip marked this pull request as draft July 14, 2026 13:17
@github-actions

Copy link
Copy Markdown

Preview URL: https://Benjamin-Philip.github.io/arrow-erlang-1

If the preview URL doesn't work, you may have forgotten to configure your fork repository for preview.
See https://github.com/apache/arrow-erlang/blob/main/CONTRIBUTING.md#forks for instructions on how to configure.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates inline Erlang module/function/type documentation from EDoc markup to Erlang/OTP’s Markdown-based documentation system, and updates the build/tooling versions required to support it.

Changes:

  • Converted arrow_array inline docs to -moduledoc/-doc Markdown strings.
  • Bumped rebar3_ex_doc to a newer version to support Markdown doc generation.
  • Updated GitHub Actions workflows to build/test/docs against newer Erlang/OTP and Rebar3 versions.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 7 comments.

File Description
src/arrow_array.erl Migrates EDoc to Markdown using -moduledoc/-doc and updates doc formatting/content.
rebar.config Updates rebar3_ex_doc plugin version to support Markdown docs.
.github/workflows/erlang.yml Bumps OTP/Rebar3 versions for CI jobs.
.github/workflows/docs.yml Bumps OTP/Rebar3 versions for doc generation workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/arrow_array.erl Outdated
Comment thread src/arrow_array.erl
Array#array.len.

%% @doc Returns the length of an array.
-doc "Returns the length of an array.".
Comment thread src/arrow_array.erl
Comment on lines +163 to +180
-doc """
Serializes an array into the Arrow binary form.

Serializes the buffers of an Array and concatenates them in the following
order:

1. `validity`
2. `offsets`
3. `data`

In case an array doesn't have any of the following buffers, it is ommitted.
(e.g. validity in arrays with a null count of 0, offsets in fixed primitive
arrays). In the case of a nested array, `data` will be serialized form of nested
array.

Do note that this is just binary form that includes the buffers in an Array,
and not IPC.
""".
Comment thread .github/workflows/erlang.yml Outdated
Comment thread .github/workflows/erlang.yml Outdated
Comment thread .github/workflows/erlang.yml Outdated
Comment thread .github/workflows/docs.yml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to markdown documentation

2 participants