Skip to content

Commit 12e1d9f

Browse files
authored
Merge pull request #116 from Gnimuc/changelog
Add a changelog and bump the version
2 parents 9e7a7bd + 72d0cff commit 12e1d9f

File tree

6 files changed

+33
-5
lines changed

6 files changed

+33
-5
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "CImGui"
22
uuid = "5d785b6c-b76f-510e-a07c-3070796c7e87"
33
authors = ["Yupei Qi <[email protected]>"]
4-
version = "1.89.0"
4+
version = "1.89.1"
55

66
[deps]
77
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"

docs/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build/
22
site/
3+
src/changelog.md

docs/Project.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[deps]
22
CImGui = "5d785b6c-b76f-510e-a07c-3070796c7e87"
3+
Changelog = "5217a498-cd5d-4ec6-b8c2-9b85a09b6e3e"
34
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
45

56
[compat]

docs/make.jl

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
using CImGui
22
using Documenter
3+
import Changelog
4+
5+
# Note that the changelog file is named `_changelog.md` so we can use
6+
# `changelog.md` as the generated name, which makes for a prettier URL.
7+
Changelog.generate(
8+
Changelog.Documenter(),
9+
joinpath(@__DIR__, "src/_changelog.md"),
10+
joinpath(@__DIR__, "src/changelog.md"),
11+
repo="Gnimuc/CImGui.jl"
12+
)
313

414
makedocs(;
515
modules=[CImGui],
@@ -12,8 +22,9 @@ makedocs(;
1222
size_threshold=400000
1323
),
1424
pages=[
15-
"Introduction" => "index.md",
16-
"API Reference" => "api.md",
25+
"Introduction" => "index.md",
26+
"API Reference" => "api.md",
27+
"Changelog" => "changelog.md"
1728
]
1829
)
1930

docs/src/_changelog.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
```@meta
2+
CurrentModule = CImGui
3+
```
4+
5+
# Changelog
6+
7+
This documents notable changes in CImGui.jl. The format is based on [Keep a
8+
Changelog](https://keepachangelog.com).
9+
10+
11+
## [v1.89.1] - 2024-05-19
12+
13+
### Fixed
14+
15+
- Fixed the implementations of [SetScrollX()](@ref) and [SetScrollY()](@ref) ([#115]).

src/wrapper.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -527,13 +527,13 @@ GetScrollMaxY() = igGetScrollMaxY()
527527

528528
"""
529529
SetScrollX(scroll_x)
530-
Set scrolling amount [0..GetScrollMaxX()].
530+
Set scrolling amount [0..[GetScrollMaxX()](@ref)].
531531
"""
532532
SetScrollX(scroll_x) = igSetScrollX_Float(scroll_x)
533533

534534
"""
535535
SetScrollY(scroll_y)
536-
Set scrolling amount [0..GetScrollMaxY()].
536+
Set scrolling amount [0..[GetScrollMaxY()](@ref)].
537537
"""
538538
SetScrollY(scroll_y) = igSetScrollY_Float(scroll_y)
539539

0 commit comments

Comments
 (0)