From bb6dd7c0abd58d050c16893af7c520f068ad141c Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Wed, 25 Dec 2024 01:03:35 +0100 Subject: [PATCH] Update docs links and example instructions --- README.md | 6 +++--- docs/src/index.md | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f4beac2..75a9266 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ImGuiTestEngine.jl -[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaImGui.github.io/ImGuiTestEngine.jl/stable) -[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaImGui.github.io/ImGuiTestEngine.jl/dev) +[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaimgui.github.io/ImGuiDocs.jl/imguitestengine/stable) +[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaimgui.github.io/ImGuiDocs.jl/imguitestengine/dev) This package provides Julia bindings for the [Dear ImGui test engine](https://github.com/ocornut/imgui_test_engine), a testing library for [Dear ImGui](https://github.com/ocornut/imgui) (available in Julia from -[CImGui.jl](https://github.com/Gnimuc/CImGui.jl)). See the docs for more +[CImGui.jl](https://juliaimgui.github.io/ImGuiDocs.jl/cimgui)). See the docs for more information. diff --git a/docs/src/index.md b/docs/src/index.md index 3bcaae0..8b7abd3 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -8,7 +8,7 @@ This package provides Julia bindings for the [Dear ImGui test engine](https://github.com/ocornut/imgui_test_engine), a testing and automation library for [Dear ImGui](https://github.com/ocornut/imgui). It's designed to be used with programs -written with [CImGui.jl](https://github.com/Gnimuc/CImGui.jl). +written with [CImGui.jl](https://juliaimgui.github.io/ImGuiDocs.jl/cimgui). Known issues: - Some parts of the integration with [`@imcheck`](@ref) and the stdlib `Test` @@ -26,7 +26,7 @@ import CImGui as ig # Set up the backend for CImGui import GLFW import ModernGL -ig.backend = :GlfwOpenGL +ig.set_backend(:GlfwOpenGL3) # Create the ImGui context and test engine instance ctx = ig.CreateContext() @@ -59,6 +59,5 @@ end # Note that we don't need to explictly destroy `ctx` because `ig.render()` will # do it for us. -te.Stop(engine) te.DestroyContext(engine) ```