From bcf6372fe929ae2c2539dc3b51c3348aa89c527e Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Tue, 2 Jun 2026 09:25:28 -0400 Subject: [PATCH] Update HexDoc URL --- README.md | 2 +- lib/circular_buffer.ex | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5777704..adce2b6 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ # CircularBuffer [![Hex version](https://img.shields.io/hexpm/v/circular_buffer.svg "Hex version")](https://hex.pm/packages/circular_buffer) -[![API docs](https://img.shields.io/hexpm/v/circular_buffer.svg?label=hexdocs "API docs")](https://hexdocs.pm/circular_buffer/CircularBuffer.html) +[![API docs](https://img.shields.io/hexpm/v/circular_buffer.svg?label=hexdocs "API docs")](https://circular-buffer.hexdocs.pm/CircularBuffer.html) [![CI](https://github.com/elixir-toniq/circular_buffer/actions/workflows/elixir.yml/badge.svg)](https://github.com/elixir-toniq/circular_buffer/actions/workflows/elixir.yml) [![REUSE status](https://api.reuse.software/badge/github.com/elixir-toniq/circular_buffer)](https://api.reuse.software/info/github.com/elixir-toniq/circular_buffer) diff --git a/lib/circular_buffer.ex b/lib/circular_buffer.ex index 3a18692..e2a6ec3 100644 --- a/lib/circular_buffer.ex +++ b/lib/circular_buffer.ex @@ -19,8 +19,8 @@ defmodule CircularBuffer do of operations. CircularBuffer implements both the - [`Enumerable`](https://hexdocs.pm/elixir/Enumerable.html) and - [`Collectable`](https://hexdocs.pm/elixir/Collectable.html) protocols, so code + [`Enumerable`](https://elixir.hexdocs.pm/Enumerable.html) and + [`Collectable`](https://elixir.hexdocs.pm/Collectable.html) protocols, so code like the following works: iex> cb = Enum.into([1, 2, 3, 4], CircularBuffer.new(3))