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

Sbx toc support #572

Merged
merged 2 commits into from
Dec 11, 2024
Merged
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
31 changes: 16 additions & 15 deletions overrides/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ <h3>Computing Resources</h3>
<li><a href="https://www.alcf.anl.gov/aurora">Aurora</a></li>
<li><a href="https://www.alcf.anl.gov/polaris">Polaris</a></li>
<li><a href="https://www.alcf.anl.gov/sophia">Sophia</a></li>
<li><a href="https://www.alcf.anl.gov/crux">Crux</a></li>
<li><a href="https://www.alcf.anl.gov/alcf-ai-testbed">ALCF AI Testbed</a></li>
<li><a href="https://www.alcf.anl.gov/alcf-resources/evaluation-testbeds">Evaluation Testbeds</a></li>
<li><a href="https://www.alcf.anl.gov/alcf-resources/storage-and-networking">Storage and Networking</a></li>
Expand Down Expand Up @@ -117,7 +118,7 @@ <h3>Output</h3>
<h3>Allocation Programs</h3>
<ul>
<li><a href="https://www.alcf.anl.gov/science/incite-allocation-program">INCITE Program</a></li>
<li><a href="https://www.alcf.anl.gov/science/alcc-allocation-program">ALCC</a></li>
<li><a href="https://www.alcf.anl.gov/science/alcc-allocation-program">ALCC Program</a></li>
<li><a href="https://www.alcf.anl.gov/science/directors-discretionary-allocation-program">Director’s Discretionary</a></li>
<li><a href="https://www.alcf.anl.gov/science/early-science-program">Early Science Program</a></li>
<li><a href="https://www.alcf.anl.gov/nairr-program">NAIRR Program</a></li>
Expand Down Expand Up @@ -232,14 +233,6 @@ <h3>Visit</h3>
<li><a href="https://www.alcf.anl.gov/about/tours">Tours</a></li>
</ul>
</div>
<div class="dropdown__links-group">
<h3>Press Kits</h3>
<ul>
<li><a href="https://www.alcf.anl.gov/alcf-media-kit">ALCF Media Kit</a></li>
<li><a href="https://www.alcf.anl.gov/aurora-media-kit">Aurora Media Kit</a></li>
<li><a href="https://www.alcf.anl.gov/report-archive">Reports Archive</a></li>
</ul>
</div>
</div>

<div class="dropdown__links-21">
Expand All @@ -253,7 +246,14 @@ <h3>Latest</h3>
</div>

<div class="dropdown__links-22">

<div class="dropdown__links-group">
<h3>Press Kits</h3>
<ul>
<li><a href="https://www.alcf.anl.gov/alcf-media-kit">ALCF Media Kit</a></li>
<li><a href="https://www.alcf.anl.gov/aurora-media-kit">Aurora Media Kit</a></li>
<li><a href="https://www.alcf.anl.gov/report-archive">Reports Archive</a></li>
</ul>
</div>
</div>

</nav>
Expand Down Expand Up @@ -288,7 +288,7 @@ <h3>Current</h3>
<ul>
<li><a href="https://www.alcf.anl.gov/support-center/machine-status">Machine Status</a></li>
<li><a href="https://www.alcf.anl.gov/support-center/facility-updates">Facility Updates</a></li>
<li><a href=" https://my.alcf.anl.gov">MyALCF Portal</a></li>
<li><a href=" https://my.alcf.anl.gov">MyALCF</a></li>
</ul>

<br>
Expand All @@ -310,10 +310,11 @@ <h3>Guides</h3>
<li><a href="https://www.alcf.anl.gov/support-center/account-and-project-management">Account and Project Management</a></li>
<li><a href="https://docs.alcf.anl.gov/data-management/filesystem-and-storage/file-systems/">Data Management</a></li>
<li><a href="https://docs.alcf.anl.gov/services/jupyter-hub/">Services</a></li>
<li><a href="https://docs.alcf.anl.gov/aurora/getting-started-on-aurora/">Aurora</a></li>
<li><a href="https://docs.alcf.anl.gov/polaris/getting-started/">Polaris</a></li>
<li><a href="https://docs.alcf.anl.gov/sophia/getting-started/">Sophia</a></li>
<li><a href="https://docs.alcf.anl.gov/crux/getting-started/">Crux</a></li>
<li><a href="https://www.alcf.anl.gov/support-center/ai-testbed">AI Testbed</a></li>
<li><a href="https://docs.alcf.anl.gov/aurora/getting-started-on-aurora/">Aurora</a></li>
<li><a href="https://www.alcf.anl.gov/support-center/facility-policies">Facility Policies</a></li>
</ul>
</div>
Expand All @@ -337,7 +338,7 @@ <h3>
<a href="https://my.alcf.anl.gov">
<div class="dropdown__featured-title">
<h3>
Featured: MyALCF Portal
Featured: MyALCF
</h3>
</div>

Expand Down Expand Up @@ -366,7 +367,7 @@ <h3>
<li><a href="https://www.alcf.anl.gov/events"> Events </a></li>
<li><a href="https://www.alcf.anl.gov/about/people"> People </a></li>
<li><a href="https://www.alcf.anl.gov/about/careers"> Careers </a></li>
<li><a href="https://my.alcf.anl.gov" style="text-transform:none;"> MyALCF PORTAL </a></li>
<li><a href="https://my.alcf.anl.gov" style="text-transform:none;"> MyALCF</a></li>
</ul>


Expand Down Expand Up @@ -529,4 +530,4 @@ <h3>
{% include "partials/tabs.html" %}
{% endif %}
{% endif %}
</header>
</header>
37 changes: 37 additions & 0 deletions overrides/partials/toc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!-- Table of Contents -->
<!-- --------------------------------------------------------------------- -->



<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">

<label class="md-nav__title" for="__toc">
Table of contents
</label>

{% set toc = page.toc %}
{% set first = toc | first %}
{% if first and first.level == 1 %}
{% set toc = first.children %}
{% endif %}
{% if toc %}
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
{{ title }}
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
{% for toc_item in toc %}
{% include "partials/toc-item.html" %}
{% endfor %}
<br>
<li class="md-nav__item">
<hr>
<a href="https://docs.alfc.anl.gov/issues" class="md-nav__link">
<span class="md-ellipsis">
<strong>Does this doc need an update?</strong>
</span>
</a>
</li>
</ul>
{% endif %}
</nav>
Loading