From 6f76b6ca632a18c91881cab1dead99beab2b4b1a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 07:48:41 +0000 Subject: [PATCH 01/14] Initial plan From 6a16e8edc65c1168ac6d1ddb63a04c160b495a9a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:02:21 +0000 Subject: [PATCH 02/14] Add contribution link and fix markdown capitalization Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- docs/contribute/on-the-web.md | 4 ++++ .../Layout/_TableOfContents.cshtml | 19 ++++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/docs/contribute/on-the-web.md b/docs/contribute/on-the-web.md index 870674859..bbf1e0ac1 100644 --- a/docs/contribute/on-the-web.md +++ b/docs/contribute/on-the-web.md @@ -2,6 +2,10 @@ This section will help you understand how to update and contribute to our documentation post-migration. +:::{tip} +Every documentation page includes a **Learn how to contribute** link in the sidebar that brings you directly to this guide. Use it whenever you want to contribute! +::: + ## Updating documentation :::{include} _snippets/two-systems.md diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index 7c387a8e1..aefdc10d0 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -12,7 +12,15 @@ - View as markdown + View as Markdown + + +
  • + + + + + Report an issue
  • @if (!string.IsNullOrEmpty(Model.GithubEditUrl)) @@ -26,12 +34,9 @@ } -
  • - - - - - Report an issue +
  • From 40e0c5237a49add933bc7b29a875cd4a8c148498 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:06:04 +0000 Subject: [PATCH 03/14] Update progress - all code changes complete Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- src/Elastic.Documentation.Site/_static/main.css | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/Elastic.Documentation.Site/_static/main.css diff --git a/src/Elastic.Documentation.Site/_static/main.css b/src/Elastic.Documentation.Site/_static/main.css new file mode 100644 index 000000000..e69de29bb From 31b9863bc47acdb36b142653a8252024763a5fe6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:07:15 +0000 Subject: [PATCH 04/14] Add _static to gitignore Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 699e86128..114ab8da9 100644 --- a/.gitignore +++ b/.gitignore @@ -285,6 +285,7 @@ FakesAssemblies/ # Node.js Tools for Visual Studio .ntvs_analysis.dat node_modules/ +_static/ # Visual Studio 6 build log *.plg From 5195249e04718d34e66120fc2dd495d48ebdd49d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:09:25 +0000 Subject: [PATCH 05/14] Remove accidentally committed build artifact Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- src/Elastic.Documentation.Site/_static/main.css | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/Elastic.Documentation.Site/_static/main.css diff --git a/src/Elastic.Documentation.Site/_static/main.css b/src/Elastic.Documentation.Site/_static/main.css deleted file mode 100644 index e69de29bb..000000000 From efc122edcd5ed70049b102a6d716e381782698d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:20:48 +0000 Subject: [PATCH 06/14] Update contribution link to point to elastic.co and open in new window Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- docs/contribute/on-the-web.md | 2 +- src/Elastic.Markdown/Layout/_TableOfContents.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contribute/on-the-web.md b/docs/contribute/on-the-web.md index bbf1e0ac1..4b19476a2 100644 --- a/docs/contribute/on-the-web.md +++ b/docs/contribute/on-the-web.md @@ -3,7 +3,7 @@ This section will help you understand how to update and contribute to our documentation post-migration. :::{tip} -Every documentation page includes a **Learn how to contribute** link in the sidebar that brings you directly to this guide. Use it whenever you want to contribute! +Every documentation page includes a **Learn how to contribute** link in the sidebar that takes you to the [Elastic Docs contribution guide](https://www.elastic.co/docs/contribute-docs/). Use it whenever you want to contribute! ::: ## Updating documentation diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index aefdc10d0..c96191b59 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -35,7 +35,7 @@ } From bc462d9a6688702aec095c86265f32c2dae1193f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:41:06 +0000 Subject: [PATCH 07/14] Make contribution link smaller and align with Edit this page text Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- src/Elastic.Markdown/Layout/_TableOfContents.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index c96191b59..f1f72f10a 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -35,7 +35,7 @@ } From f031040f6c5ed4e6319e9dfd624177080619eedd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:52:35 +0000 Subject: [PATCH 08/14] Move padding to li element for proper text indentation Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- src/Elastic.Markdown/Layout/_TableOfContents.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index f1f72f10a..e7d828bc3 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -34,8 +34,8 @@ } - From 7b51bd6be82ec184306d3e495aff1e941c884773 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 09:58:32 +0000 Subject: [PATCH 09/14] Make contribution link a standard item with documents icon Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- src/Elastic.Markdown/Layout/_TableOfContents.cshtml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index e7d828bc3..d7ae19224 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -34,8 +34,11 @@ } - From 63ad20b7273a65381c843ec4459c86139672bb37 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Oct 2025 12:35:43 +0000 Subject: [PATCH 10/14] Make icon blue and shorten text to "Contribute to the docs" Co-authored-by: theletterf <1773616+theletterf@users.noreply.github.com> --- src/Elastic.Markdown/Layout/_TableOfContents.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index d7ae19224..6a972e873 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -37,9 +37,9 @@ From 2cb8739f4366468b03008d31c2e50eb282784214 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Tue, 21 Oct 2025 17:05:47 +0200 Subject: [PATCH 11/14] Update _TableOfContents.cshtml --- src/Elastic.Markdown/Layout/_TableOfContents.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index 6a972e873..9e90f7e89 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -39,7 +39,7 @@ - Contribute to the docs + Learn how to contribute From 64e59a13b51dcc51bb4c46def4e168c1f77a6e73 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Tue, 21 Oct 2025 17:15:53 +0200 Subject: [PATCH 12/14] Update on-the-web.md --- docs/contribute/on-the-web.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contribute/on-the-web.md b/docs/contribute/on-the-web.md index 4b19476a2..b46392ae0 100644 --- a/docs/contribute/on-the-web.md +++ b/docs/contribute/on-the-web.md @@ -3,7 +3,7 @@ This section will help you understand how to update and contribute to our documentation post-migration. :::{tip} -Every documentation page includes a **Learn how to contribute** link in the sidebar that takes you to the [Elastic Docs contribution guide](https://www.elastic.co/docs/contribute-docs/). Use it whenever you want to contribute! +Every documentation page includes a **Learn how to contribute** link in the sidebar that takes you to the [Elastic Docs contribution guide](https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/contribute/). Use it whenever you want to contribute! ::: ## Updating documentation @@ -60,4 +60,4 @@ If you need to merge changes that are published in both systems (usually because ## Migration considerations -During the migration, content may be moved around, and there won't be a 1-to-1 mapping between old and new locations. This means updates may need to be applied in multiple places. If your changes affect /guide content, consider merging those changes in the /docs content first and then add it to the appropriate /guide content. If you have any issues, create an issue in the [`docs-content`](https://github.com/elastic/docs-content) or [`docs-content-internal`](https://github.com/elastic/docs-content-internal) repository. \ No newline at end of file +During the migration, content may be moved around, and there won't be a 1-to-1 mapping between old and new locations. This means updates may need to be applied in multiple places. If your changes affect /guide content, consider merging those changes in the /docs content first and then add it to the appropriate /guide content. If you have any issues, create an issue in the [`docs-content`](https://github.com/elastic/docs-content) or [`docs-content-internal`](https://github.com/elastic/docs-content-internal) repository. From 9b41d9c4474be0abf4f94b91f31f4d128cd1bad4 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Tue, 21 Oct 2025 17:16:22 +0200 Subject: [PATCH 13/14] Update _TableOfContents.cshtml --- src/Elastic.Markdown/Layout/_TableOfContents.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml index 9e90f7e89..bb4b42c45 100644 --- a/src/Elastic.Markdown/Layout/_TableOfContents.cshtml +++ b/src/Elastic.Markdown/Layout/_TableOfContents.cshtml @@ -35,7 +35,7 @@ }