From ae2fb557f38924d23584b81ced1c42b423efc8ee Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 23 May 2022 14:29:34 +0200 Subject: [PATCH] Docs: Update templates with link to Contributing guidelines. Add numerical version number in demo. Moved. (#5337) --- .github/issue_template.md | 2 +- .github/pull_request_template.md | 2 +- CONTRIBUTING.md => docs/CONTRIBUTING.md | 0 imgui_demo.cpp | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename CONTRIBUTING.md => docs/CONTRIBUTING.md (100%) diff --git a/.github/issue_template.md b/.github/issue_template.md index fdd094393..5d2f1eab3 100644 --- a/.github/issue_template.md +++ b/.github/issue_template.md @@ -4,7 +4,7 @@ 2. PLEASE CAREFULLY READ: [FAQ](https://github.com/ocornut/imgui/blob/master/docs/FAQ.md) -3. PLEASE CAREFULLY READ: [Issue Submitting Guidelines](https://github.com/ocornut/imgui/issues/2261) +3. PLEASE CAREFULLY READ: [Contributing Guidelines](https://github.com/ocornut/imgui/blob/master/docs/CONTRIBUTING.md) 4. PLEASE MAKE SURE that you have: read the FAQ; explored the contents of `ShowDemoWindow()` including the Examples menu; searched among Issues; used your IDE to search for keywords in all sources and text files; and read the links above. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 187d71054..638545bd6 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,6 @@ (Click "Preview" to turn any http URL into a clickable link) -1. PLEASE CAREFULLY READ: [Issue Submitting Guidelines](https://github.com/ocornut/imgui/issues/2261) +1. PLEASE CAREFULLY READ: [Contributing Guidelines](https://github.com/ocornut/imgui/blob/master/docs/CONTRIBUTING.md) 2. Clear this template before submitting your PR. diff --git a/CONTRIBUTING.md b/docs/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to docs/CONTRIBUTING.md diff --git a/imgui_demo.cpp b/imgui_demo.cpp index a6a82beec..743d3dcbb 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -406,7 +406,7 @@ void ImGui::ShowDemoWindow(bool* p_open) ImGui::EndMenuBar(); } - ImGui::Text("dear imgui says hello. (%s)", IMGUI_VERSION); + ImGui::Text("dear imgui says hello! (%s) (%d)", IMGUI_VERSION, IMGUI_VERSION_NUM); ImGui::Spacing(); IMGUI_DEMO_MARKER("Help");