Skip to content

Commit ea3f294

Browse files
authored
Revert "Edit landing and nav tests for new Get Started (#1827)"
This reverts commit a3c5033.
1 parent a3c5033 commit ea3f294

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

src/Elastic.Documentation.Site/Layout/_SecondaryNav.cshtml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@
4848
Reference
4949
</a>
5050
</li>
51-
<li class="text-nowrap hover:text-blue-elastic active:text-blue-elastic-100">
52-
<a
53-
href="@Model.Link("/reference/glossary")"
54-
@Htmx.GetHxAttributes(
55-
hxSwapOob: "#main-container,#secondary-nav"
56-
)
57-
>
58-
Glossary
59-
</a>
60-
</li>
6151
</ul>
6252
</div>
6353
</nav>

src/Elastic.Markdown/Layout/_LandingPage.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
For easy reference, changes in 9.1.0 are marked inline. For details, check <a href="https://www.elastic.co/docs/get-started/versioning-availability" class="link">Understanding versioning and availability.</a></p>
1515
<div class="flex md:inline-flex gap-3 mt-6">
1616
<a href="@Model.Link("/get-started/")" class="grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-elastic-110 focus:ring-4 focus:ring-blue-elastic-50 font-semibold font-sans rounded-sm px-6 py-2 focus:outline-none h-10 flex items-center justify-center">
17-
Elastic Fundamentals
17+
Get started
1818
</a>
1919
<a href="@Model.Link("/deploy-manage/upgrade")" class="grow cursor-pointer text-blue-elastic hover:text-blue-elastic-100 text-nowrap border-2 border-blue-elastic hover:border-blue-elastic-100 focus:ring-4 focus:outline-none focus:ring-blue-elastic-50 font-semibold font-sans rounded-sm px-6 py-2 text-center h-10 flex items-center justify-center">
2020
Upgrade versions
@@ -252,12 +252,12 @@
252252
</div>
253253
</div>
254254
<div class="flex flex-col p-6">
255-
<h3 class="font-sans font-bold text-2xl">Extend and contribute</h3>
255+
<h3 class="font-sans font-bold text-2xl">Contribute and extend</h3>
256256
<p class="grow mt-4">Learn how to contribute to Elastic products and extend capabilities.</p>
257257
<div class="mt-6">
258258
<a href="@Model.Link("extend/")" class="link text-white wrap-break-word">
259259
<span class="wrap-break-word">
260-
View extend and contribute docs
260+
View contribute and extend docs
261261
</span>
262262
<svg class="link-arrow"
263263
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">

tests/docs-assembler.Tests/src/docs-assembler.Tests/GlobalNavigationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public async Task ParsesGlobalNavigation()
235235
"/docs/"
236236
]);
237237

238-
var getStartedIntro = positionalNavigation.MarkdownNavigationLookup.GetValueOrDefault("docs-content://get-started/index.md");
238+
var getStartedIntro = positionalNavigation.MarkdownNavigationLookup.GetValueOrDefault("docs-content://get-started/introduction.md");
239239
getStartedIntro.Should().NotBeNull();
240240
parentGroup = getStartedIntro.Parent as DocumentationGroup;
241241
_ = AssertHasParents(parentGroup, positionalNavigation, getStartedIntro);

0 commit comments

Comments
 (0)