From 532990d3dd41de003c5bfbe5df82bf7995815292 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sun, 30 Jan 2022 22:01:33 +0100 Subject: [PATCH] emilk.github.io -> www.egui.rs --- ARCHITECTURE.md | 2 +- README.md | 10 +++++----- docs/README.md | 2 +- docs/example.html | 2 +- egui/examples/README.md | 2 +- egui/src/lib.rs | 6 +++--- egui_web/README.md | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 410b648c..994c5be2 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -42,7 +42,7 @@ Puts an egui app inside a native window on your laptop. Paints the triangles tha ### `eframe` A wrapper around `egui_web` + `egui_glium`, so you can compile the same app for either web or native. -The demo that you can see at is using `eframe` to host the `egui`. The demo code is found in: +The demo that you can see at is using `eframe` to host the `egui`. The demo code is found in: ### `egui_demo_lib` Depends on `egui` + `epi`. diff --git a/README.md b/README.md index a4e8d166..0fca82ae 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ![Apache](https://img.shields.io/badge/license-Apache-blue.svg) [![Discord](https://img.shields.io/discord/900275882684477440?label=egui%20discord)](https://discord.gg/JFcEma9bJq) -👉 [Click to run the web demo](https://emilk.github.io/egui/index.html) 👈 +👉 [Click to run the web demo](https://www.egui.rs/#demo) 👈 egui is a simple, fast, and highly portable immediate mode GUI library for Rust. egui runs on the web, natively, and [in your favorite game engine](#integrations) (or will soon). @@ -50,7 +50,7 @@ ui.label(format!("Hello '{}', age {}", name, age)); ## Quick start -If you just want to write a GUI application in Rust (for the web or for native), go to and follow the instructions there! The official docs are at . For inspiration, check out the [the egui web demo](https://emilk.github.io/egui/index.html) and follow the links in it to its source code. There is also an excellent tutorial video at . +If you just want to write a GUI application in Rust (for the web or for native), go to and follow the instructions there! The official docs are at . For inspiration, check out the [the egui web demo](https://www.egui.rs/#demo) and follow the links in it to its source code. There is also an excellent tutorial video at . If you want to integrate egui into an existing engine, go to the [Integrations](#integrations) section. @@ -58,7 +58,7 @@ If you have questions, use [GitHub Discussions](https://github.com/emilk/egui/di ## Demo -[Click to run egui web demo](https://emilk.github.io/egui/index.html) (works in any browser with WASM and WebGL support). Uses [`egui_web`](https://github.com/emilk/egui/tree/master/egui_web). +[Click to run egui web demo](https://www.egui.rs/#demo) (works in any browser with WASM and WebGL support). Uses [`egui_web`](https://github.com/emilk/egui/tree/master/egui_web). To test the demo app locally, run `cargo run --release -p egui_demo_app`. @@ -166,7 +166,7 @@ These are the official egui integrations: * [`egui_glium`](https://github.com/emilk/egui/tree/master/egui_glium) for compiling native apps with [Glium](https://github.com/glium/glium). * [`egui_glow`](https://github.com/emilk/egui/tree/master/egui_glow) for compiling native apps with [Glow](https://github.com/grovesNL/glow). -* [`egui_web`](https://github.com/emilk/egui/tree/master/egui_web) for making a web app. Compiles to WASM, renders with WebGL. [Click to run the egui demo](https://emilk.github.io/egui/index.html). +* [`egui_web`](https://github.com/emilk/egui/tree/master/egui_web) for making a web app. Compiles to WASM, renders with WebGL. [Click to run the egui demo](https://www.egui.rs/#demo). * [`egui-winit`](https://github.com/emilk/egui/tree/master/egui-winit) for integrating with [`winit`](https://github.com/rust-windowing/winit). `egui-winit` is used by `egui_glium` and `egui_glow`. ### 3rd party integrations @@ -305,7 +305,7 @@ Yes! But you need to install your own font (`.ttf` or `.otf`) using `Context::se Yes! You can customize the colors, spacing and sizes of everything. By default egui comes with a dark and a light theme. ### What about accessibility, such as screen readers? -There is experimental support for a screen reader. In [the web demo](https://emilk.github.io/egui/index.html) you can enable it in the "Backend" tab. +There is experimental support for a screen reader. In [the web demo](https://www.egui.rs/#demo) you can enable it in the "Backend" tab. Read more at . diff --git a/docs/README.md b/docs/README.md index 077fb745..7cc35cfc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,3 @@ -This folder contains the files required for the egui web demo hosted at . +This folder contains the files required for the egui web demo hosted at . The reason the folder is called "docs" is because that is the name that GitHub requires in order to host a web page from the `master` branch of a repository. diff --git a/docs/example.html b/docs/example.html index 45e2cc3b..9caf23db 100644 --- a/docs/example.html +++ b/docs/example.html @@ -3,7 +3,7 @@ - + diff --git a/egui/examples/README.md b/egui/examples/README.md index 44a9fe08..33da866c 100644 --- a/egui/examples/README.md +++ b/egui/examples/README.md @@ -1,5 +1,5 @@ There are no stand-alone egui examples, because egui is not stand-alone! -There are plenty of examples in [the online demo](https://emilk.github.io/egui/). You can find the source code for it at . +There are plenty of examples in [the online demo](https://www.egui.rs/#demo). You can find the source code for it at . If you are using `eframe`, check out [the `eframe` examples](https://github.com/emilk/egui/tree/master/eframe/examples) and [the `eframe` template repository](https://github.com/emilk/eframe_template/). diff --git a/egui/src/lib.rs b/egui/src/lib.rs index a3cacda8..5055095b 100644 --- a/egui/src/lib.rs +++ b/egui/src/lib.rs @@ -1,6 +1,6 @@ //! `egui`: an easy-to-use GUI in pure Rust! //! -//! Try the live web demo: . Read more about egui at . +//! Try the live web demo: . Read more about egui at . //! //! `egui` is in heavy development, with each new version having breaking changes. //! You need to have rust 1.56.0 or later to use `egui`. @@ -14,7 +14,7 @@ //! //! # Using egui //! -//! To see what is possible to build with egui you can check out the online demo at . +//! To see what is possible to build with egui you can check out the online demo at . //! //! If you like the "learning by doing" approach, clone and get started using egui right away. //! @@ -526,7 +526,7 @@ macro_rules! egui_assert { /// /// NOTE: In egui all emojis are monochrome! /// -/// You can explore them all in the Font Book in [the online demo](https://emilk.github.io/egui/). +/// You can explore them all in the Font Book in [the online demo](https://www.egui.rs/#demo). /// /// In addition, egui supports a few special emojis that are not part of the unicode standard. /// This module contains some of them: diff --git a/egui_web/README.md b/egui_web/README.md index abdec071..ac4f194d 100644 --- a/egui_web/README.md +++ b/egui_web/README.md @@ -8,7 +8,7 @@ This crates allows you to compile GUI code written with [egui](https://crates.io/crates/egui) to [WASM](https://en.wikipedia.org/wiki/WebAssembly) to run on a web page. -[Run the web demo](https://emilk.github.io/egui/index.html) to try it now. +[Run the web demo](https://www.egui.rs/#demo) to try it now. Check out [eframe_template](https://github.com/emilk/eframe_template) for an example of how to set it up.