# `Redlines.DOC`
[🔗](https://github.com/EnaiaInc/redlines/blob/v0.9.3/lib/redlines/doc.ex#L1)

Legacy `.doc` adapter using the optional `doc_redlines` package.

# `extract_redlines`

```elixir
@spec extract_redlines(Path.t()) :: {:ok, list()} | {:error, term()}
```

Extract redlines from a legacy `.doc` file path.

Returns `{:error, :doc_redlines_not_available}` when the `DocRedlines`
module is not loaded in the current runtime.

# `to_changes`

```elixir
@spec to_changes(list()) :: [Redlines.Change.t()]
```

Convert `doc_redlines` entries into normalized changes.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
