chore: Update forgejo hostname.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
James Harton 2024-02-05 15:20:22 +13:00
parent 476d1d669d
commit 264bd2f17c
6 changed files with 29 additions and 29 deletions

View file

@ -49,7 +49,7 @@ steps:
- .rebar3
- name: install dependencies
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
pull: "always"
environment:
MIX_ENV: test
@ -122,7 +122,7 @@ steps:
- .rebar3
- name: mix compile
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -135,7 +135,7 @@ steps:
- asdf mix compile --warnings-as-errors
- name: mix test
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -148,7 +148,7 @@ steps:
- asdf mix test
- name: mix credo
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -161,7 +161,7 @@ steps:
- asdf mix credo --strict
- name: mix dialyzer
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -174,7 +174,7 @@ steps:
- asdf mix dialyzer
- name: mix hex.audit
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -187,7 +187,7 @@ steps:
- asdf mix hex.audit
- name: mix format
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -200,7 +200,7 @@ steps:
- asdf mix format --check-formatted
- name: mix deps.unlock
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -213,7 +213,7 @@ steps:
- asdf mix deps.unlock --check-unused
- name: mix doctor
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -226,7 +226,7 @@ steps:
- asdf mix doctor --full
- name: mix git_ops.check_message
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
environment:
MIX_ENV: test
HEX_HOME: /drone/src/.hex
@ -240,7 +240,7 @@ steps:
- asdf mix git_ops.check_message .last_commit_message
- name: mix git_ops.release
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
when:
branch:
- main
@ -281,7 +281,7 @@ steps:
- fi
- name: build artifacts
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
when:
event:
- tag
@ -329,7 +329,7 @@ steps:
settings:
api_key:
from_secret: DRONE_TOKEN
base_url: https://code.harton.nz
base_url: https://harton.dev
files: artifacts/*.tar.gz
checksum: sha256
title: tag_subject
@ -360,7 +360,7 @@ steps:
- mc mirror --overwrite doc/ store/docs.harton.nz/$${DRONE_REPO}
- name: hex release
image: code.harton.nz/james/asdf_container:latest
image: harton.dev/james/asdf_container:latest
when:
event:
- tag

View file

@ -5,7 +5,7 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.4.4](https://code.harton.nz/james/vivid/compare/v0.4.4...v0.4.4) (2023-07-27)
## [v0.4.4](https://harton.dev/james/vivid/compare/v0.4.4...v0.4.4) (2023-07-27)

View file

@ -11,7 +11,7 @@ Vivid is a simple 2D rendering library.
- Supports arbitrary transformations shape transformations.
- Renders shapes onto a buffer.
- 100% pure Elixir with no dependencies.
- Render to PNG using [vivid_png](https://code.harton.nz/james/vivid_png).
- Render to PNG using [vivid_png](https://harton.dev/james/vivid_png).
## Demo

View file

@ -3,7 +3,7 @@ import Config
config :git_ops,
mix_project: Mix.Project.get!(),
changelog_file: "CHANGELOG.md",
repository_url: "https://code.harton.nz/james/vivid",
repository_url: "https://harton.dev/james/vivid",
manage_mix_version?: true,
version_tag_prefix: "v",
manage_readme_version: false

View file

@ -2,7 +2,7 @@
Vivid is designed to be as straightforward to use as possible whilst still providing enough features to be useful. It was originally concieved for displaying graphics and text on [Monochrome 1.3" 128x64 OLED graphic display from Adafruit](https://www.adafruit.com/products/938), which it does.
![4 x OLED display clock using Hershey vector fonts](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/vivid_clock.jpg)
![4 x OLED display clock using Hershey vector fonts](https://harton.dev/james/vivid/raw/branch/main/guides/images/vivid_clock.jpg)
The scope quickly expanded to include arbitrary transforms, basic colour compositing and alpha channels. I even added [`vivid_png`](https://github.com/jamesotron/vivid_png.ex) for writing out PNG files.
@ -37,7 +37,7 @@ The most basic type is the [`Point`](https://hexdocs.pm/vivid/Vivid.Point.html#c
...> Point.init(13, 27)
#Vivid.Point<{13, 27}>
![point example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/point_example.png)
![point example](https://harton.dev/james/vivid/raw/branch/main/guides/images/point_example.png)
### Line
@ -49,7 +49,7 @@ A [Line](https://hexdocs.pm/vivid/Vivid.Line.html#content) represents a straight
...> Line.init(Point.init(13,27), Point.init(2,3))
#Vivid.Line<[origin: #Vivid.Point<{13, 27}>, termination: #Vivid.Point<{2, 3}>]>
![line example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/line_example.png)
![line example](https://harton.dev/james/vivid/raw/branch/main/guides/images/line_example.png)
### Path
@ -63,7 +63,7 @@ A Path must consist of at least two vertices.
...> Path.init([Point.init(13,27), Point.init(2,3), Point.init(27,13)])
#Vivid.Path<[#Vivid.Point<{13, 27}>, #Vivid.Point<{2, 3}>, #Vivid.Point<{27, 13}>]>
![path example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/path_example.png)
![path example](https://harton.dev/james/vivid/raw/branch/main/guides/images/path_example.png)
### Polygon
@ -75,7 +75,7 @@ A [Polygon](https://hexdocs.pm/vivid/Vivid.Polygon.html#content) also represents
...> Polygon.init([Point.init(13,27), Point.init(2,3), Point.init(27,13)])
#Vivid.Polygon<[#Vivid.Point<{13, 27}>, #Vivid.Point<{2, 3}>, #Vivid.Point<{27, 13}>]>
![polygon example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/polygon_example.png)
![polygon example](https://harton.dev/james/vivid/raw/branch/main/guides/images/polygon_example.png)
### Box
@ -87,7 +87,7 @@ Because of the regular nature of rectangles they can be defined with only two po
...> Box.init(Point.init(2,3), Point.init(13,27))
#Vivid.Box<[bottom_left: #Vivid.Point<{2, 3}>, top_right: #Vivid.Point<{13, 27}>]>
![box example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/box_example.png)
![box example](https://harton.dev/james/vivid/raw/branch/main/guides/images/box_example.png)
### Circle
@ -101,7 +101,7 @@ Often it may be necessary to convert it to a polygon manually before rendering s
...> Circle.init(Point.init(15,15), 10)
#Vivid.Circle<[center: #Vivid.Point<{15, 15}>, radius: 10]>
![circle example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/circle_example.png)
![circle example](https://harton.dev/james/vivid/raw/branch/main/guides/images/circle_example.png)
### Arc
@ -115,7 +115,7 @@ You can optionally also specify the number of steps used during path generation
...> Arc.init(Point.init(15,15), 45, 90)
#Vivid.Arc<[center: #Vivid.Point<{15, 15}>, radius: 10, start_angle: 45, range: 90, steps: 12]>
![arc example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/arc_example.png)
![arc example](https://harton.dev/james/vivid/raw/branch/main/guides/images/arc_example.png)
### Group
@ -129,7 +129,7 @@ A [Group](https://hexdocs.pm/vivid/Vivid.Group.html#content) allows for arbitrar
...> Group.init([box, circle])
#Vivid.Group<[#Vivid.Box<[bottom_left: #Vivid.Point<{2, 3}>, top_right: #Vivid.Point<{13, 27}>]>, #Vivid.Circle<[center: #Vivid.Point<{15, 15}>, radius: 10]>]>
![group example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/group_example.png)
![group example](https://harton.dev/james/vivid/raw/branch/main/guides/images/group_example.png)
## Colours
@ -139,7 +139,7 @@ Vivid (currently) defines all colours in terms of the RGBA colourspace. Create a
...> RGBA.init(0.75, 0.25, 0.5, 0.8)
#Vivid.RGBA<{0.75, 0.25, 0.5, 0.8}>
![rgba example](https://code.harton.nz/james/vivid/raw/branch/main/guides/images/rgba_example.png)
![rgba example](https://harton.dev/james/vivid/raw/branch/main/guides/images/rgba_example.png)
## Compositing

View file

@ -18,7 +18,7 @@ defmodule Vivid.Mixfile do
source_ref: "v#{@version}",
main: "Vivid",
canonical: "http://hexdocs.pm/vivid",
source_url: "https://code.harton.nz/james/vivid",
source_url: "https://harton.dev/james/vivid",
extras: ["guides/getting-started.md"]
]
]
@ -42,7 +42,7 @@ defmodule Vivid.Mixfile do
maintainers: ["James Harton <james@harton.nz>"],
licenses: ["MIT"],
links: %{
"Source" => "https://code.harton.nz/james/vivid"
"Source" => "https://harton.dev/james/vivid"
}
]
end