Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-2118 feat(tgcloud4): Change the nav order and titles for cloud v4; #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified build/ui-bundle.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions src/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@

<div class="dropdown-label">TigerGraph Cloud</div>
<div class="dropdown-category">
<a class="category-item" href="{{relativize site.components.cloud.url}}">{{site.components.cloud.title}}</a>
<a class="category-item" href="https://docs.tigergraph.com/cloudbeta/overview/">{{site.components.cloudBeta.title}}
<a class="category-item" href="{{relativize site.components.cloud4.url}}">{{site.components.cloud4.title}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samzhou2 Did you test this? I don't think this works, because cloud4 is a module, not a component.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samzhou2 I guess Antora can treat a module as a component in this context, because cloudBeta (or Cloud 4.0) does shown up in the left nav menu, which now just uses an #each iterator to list every component.

<span style="font-weight: 400; top: -2px; position: relative; margin-left: 8px; color: rgb(255, 255, 254); padding: 2px 4px; font-size: 10px; border-radius: 2px; background-color: rgb(255, 109, 0);">New</span>
</a>
<a class="category-item" href="{{relativize site.components.cloud.url}}">{{site.components.cloud.title}}</a>
</div>

<div class="dropdown-label">Graph Data Science</div>
Expand Down
Loading
Loading