Skip to content

Add navitaion link in term pages #2

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

Merged
merged 4 commits into from
Jun 21, 2025
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
38 changes: 38 additions & 0 deletions _layouts/distill.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,44 @@
</d-contents>
{% endif %}
{{ content }}

{% assign sorted_wiki_terms = site.wiki | sort: 'title' %}

{% assign current_page_url_normalized = page.url | relative_url | replace_first: site.baseurl, '' | strip | split: '#' | first %}

{% assign previous_page = null %}
{% assign next_page = null %}
{% assign found_current_page = false %}

{% for wiki_page in sorted_wiki_terms %}
{% assign wiki_page_url_normalized = wiki_page.url | relative_url | replace_first: site.baseurl, '' | strip | split: '#' | first %}

{% if found_current_page %}
{% assign next_page = wiki_page %}
{% break %}
{% endif %}

{% if wiki_page_url_normalized == current_page_url_normalized %}
{% assign found_current_page = true %}
{% else %}
{% assign previous_page = wiki_page %}
{% endif %}
{% endfor %}

<div class="wiki-navigation-pointers mt-5">
<div class="navigation-links">
{% if previous_page %}
<p class="previous-link">
<a href="{{ previous_page.url | relative_url }}">Previous: {{ previous_page.title }}</a>
</p>
{% endif %}
{% if next_page %}
<p class="next-link">
<a href="{{ next_page.url | relative_url }}">Next: {{ next_page.title }}</a>
</p>
{% endif %}
</div>
</div>
</d-article>

<d-appendix>
Expand Down
2 changes: 0 additions & 2 deletions _wiki/ancillary-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ Source: <d-cite key="ferc2020glossary"></d-cite>
> Those services necessary to support the transmission of electric power from seller to purchaser, given the obligations of control areas and transmitting utilities within those control areas, to maintain reliable operations of the interconnected transmission system. Ancillary services supplied with generation include load following, reactive power-voltage regulation, system protective services, loss compensation service, system control, load dispatch services, and energy imbalance services.

More details can be found in the Reference <d-cite key="nerc2011ancillary"></d-cite> Appendix I: Regional Practices for Ancillary Services.

<br>
2 changes: 0 additions & 2 deletions _wiki/contingency-analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ Relevant items: [Contingency List](/wiki/contingency-list)
Source: <d-cite key="isone2024crop34007"></d-cite>

The procedures to study a contingency are documented in the source reference.

<br>
2 changes: 0 additions & 2 deletions _wiki/critical-clearing-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ last_update: 2025-06-20
Source: <d-cite key="kundur2004stability"></d-cite>

> The maximum permissible duration of the fault for which the subsequent system response remains stable. This portion of stability analysis requires the knowledge of actions of protective relaying.

<br>
4 changes: 0 additions & 4 deletions _wiki/equal-area-criterion.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,3 @@ Another earlier reference to the Equal Area Criterion can be found in <d-cite ke
Fig. 13.14 Response to a step change in mechanical power input (from <d-cite key="kundur1994Power"></d-cite>)
</div>
</div>

<br>
<br>
<br>
2 changes: 0 additions & 2 deletions _wiki/frequency-deviation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ last_update: 2025-06-20
Source: <d-cite key="nerc2024glossary"></d-cite>

> A change in Interconnection frequency.

<br>
2 changes: 0 additions & 2 deletions _wiki/primary-frequency-response.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ Relevant news:
- 2022 Feb., <d-cite key="pjm2022reliability"></d-cite> p1, _Based on PJM’s frequency response analysis and oscillation detection using highly granularity PMU data, in addition to NERC Resource Subcommittee analysis, there are no near term concerns with inertia in the EI._
- 2021 Nov., <d-cite key="pjm2021capacity"></d-cite> p4, _PJM proposed "Reliability Products and Services" that involves Inertial in the Frequency Response._
- 2021 March, <d-cite key="pjm2021reliability"></d-cite> p11, _Inertial and Primary Frequency Response: Generators that provide these types of frequency response are not explicitly compensated for this service under today’s rules._

<br>
4 changes: 0 additions & 4 deletions _wiki/region.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@ Source: <d-cite key="nerc2024glossary"></d-cite>
Regional Maps (from <d-cite key="nerc2024tpl"></d-cite>)
</div>
</div>

<br>
<br>
<br>
5 changes: 0 additions & 5 deletions _wiki/subregions.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,3 @@ Source: <d-cite key="epa2024gridregions"></d-cite>
Map of eGRID Subregions (from <d-cite key="epa2024gridregions"></d-cite>)
</div>
</div>

<br>
<br>
<br>
<br>
4 changes: 0 additions & 4 deletions _wiki/zone.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ Source: <d-cite key="pjm2023transmission"></d-cite>
Source: <d-cite key="matpowerv71"></d-cite> p139

In MATPOWER, there is a bus parameter named "ZONE", and it means loss zone.

<br>
<br>
<br>