Skip to content

Add glossary page to site#1

Open
testremote3 wants to merge 1 commit intogh-pagesfrom
cursor/add-glossary-page-to-site-0acb
Open

Add glossary page to site#1
testremote3 wants to merge 1 commit intogh-pagesfrom
cursor/add-glossary-page-to-site-0acb

Conversation

@testremote3
Copy link
Copy Markdown
Owner

A new glossary page was added to the site to define common dev container terms.

  • A new file, glossary.md, was created:
    • It utilizes the singlePage layout, consistent with other site content, and includes appropriate front matter (title, layout, sectionid: glossary).
    • Definitions for key terms such as devcontainer.json, Features, Templates, CLI, and Lifecycle Scripts were included, derived from existing site documentation to ensure accuracy and relevance.
    • Internal links were added to relevant existing pages like /features and /templates for cross-referencing.
  • The site's top navigation was updated in _includes/topnav.html:
    • A new navigation item for "Glossary" was added, linking to /glossary.
    • The addition follows the established pattern for navigation items, including support for active state highlighting based on the sectionid.

These changes make the glossary accessible from the main navigation, providing a centralized resource for understanding dev container terminology while adhering to existing site structure and best practices.

<li {% if page.sectionid=='collections' %} class="nav-item active" {% else %} class="nav-item" {% endif %}>
<a class="nav-link" href='{{ "/collections" | prepend: site.baseurl }}'>Collections</a>
</li>
<li {% if page.sectionid=='glossary' %} class="nav-item active" {% else %} class="nav-item" {% endif %}>
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants