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

docs: update header #16403

Merged
merged 1 commit into from Oct 13, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/src/_includes/layouts/base.html
Expand Up @@ -24,7 +24,7 @@
<title>{{ page_title }}</title>
<meta name="description" content="{{ page_desc }}">
<link rel="canonical" href="{{ page_url }}">

<!-- https://github.com/eslint/eslint/issues/15844 -->
<base href="{{ relative_page_url }}">

Expand Down Expand Up @@ -76,7 +76,7 @@


<style>

/* Overrides for funky punctuators */
@font-face {
font-family: "Mono Punctuators";
Expand All @@ -85,7 +85,7 @@
unicode-range: U+40, U+7B, U+7D, U+28, U+29;
font-display: swap;
}

/* Space Grotesk for headings */
@font-face {
font-family: "Space Grotesk";
Expand Down Expand Up @@ -136,7 +136,7 @@
<script src="https://unpkg.com/anchor-js@4.3.1/anchor.min.js"></script>
</head>

<body class="{{ hook }} docs">
<body class="{{ hook }}">
<a href="#main" class="c-btn c-btn--primary" id="skip-link">Skip to main content</a>

{{ content | safe }}
Expand Down
6 changes: 3 additions & 3 deletions docs/src/_includes/layouts/doc.html
Expand Up @@ -5,7 +5,7 @@
{% include "partials/docs-header.html" %}
{% from 'components/rule-categories.macro.html' import ruleCategories %}

<div class="docs-wrapper">
<div class="docs-wrapper docs">
<div class="docs-nav">
<div class="desktop-only">
{% include 'components/version-switcher.html' %}
Expand Down Expand Up @@ -48,7 +48,7 @@ <h2 id="further-reading">Further Reading</h2>

{% set all_content = [all_content, further_reading_content] | join %}
{% endif %}

{% if rule_meta %}
{% set resources_content %}
<h2 id="resources">Resources</h2>
Expand Down Expand Up @@ -76,7 +76,7 @@ <h1>{{ title }}</h1>
{% endif %}

{% include 'components/docs-toc.html' %}

{{ all_content | safe }}
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/src/_includes/partials/docs-header.html
@@ -1,5 +1,5 @@
<header class="site-header">
<div class="docs-wrapper">
<div class="docs-wrapper docs">
<a href="https://eslint.org" aria-label="ESLint Homepage" class="logo-link">
{% include "components/logo.html" %}
</a>
Expand Down