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: set default layouts #16484

Merged
merged 2 commits into from Nov 10, 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions docs/src/_data/layout.js
@@ -0,0 +1 @@
module.exports = "doc.html";
1 change: 0 additions & 1 deletion docs/src/about/index.md
@@ -1,6 +1,5 @@
---
title: About
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/architecture/index.md
@@ -1,6 +1,5 @@
---
title: Architecture
layout: doc
eleventyNavigation:
key: architecture
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/code-conventions.md
@@ -1,6 +1,5 @@
---
title: Code Conventions
layout: doc
---

Code conventions for ESLint are determined by
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/code-path-analysis.md
@@ -1,6 +1,5 @@
---
title: Code Path Analysis Details
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/contributing/changes.md
@@ -1,6 +1,5 @@
---
title: Change Requests
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/contributing/index.md
@@ -1,6 +1,5 @@
---
title: Contributing
layout: doc
eleventyNavigation:
key: contributing
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/contributing/new-rules.md
@@ -1,6 +1,5 @@
---
title: New Rules
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/contributing/pull-requests.md
@@ -1,6 +1,5 @@
---
title: Pull Requests
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/contributing/reporting-bugs.md
@@ -1,6 +1,5 @@
---
title: Reporting Bugs
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/contributing/rule-changes.md
@@ -1,6 +1,5 @@
---
title: Rule Changes
layout: doc

---

Expand Down
@@ -1,6 +1,5 @@
---
title: Working on Issues
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/development-environment.md
@@ -1,6 +1,5 @@
---
title: Development Environment
layout: doc
eleventyNavigation:
key: set up a development environment
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/index.md
@@ -1,6 +1,5 @@
---
title: Developer Guide
layout: doc
eleventyNavigation:
key: developer guide
title: Developer Guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/nodejs-api.md
@@ -1,6 +1,5 @@
---
title: Node.js API
layout: doc
eleventyNavigation:
key: node.js api
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/package-json-conventions.md
@@ -1,6 +1,5 @@
---
title: Package.json Conventions
layout: doc
edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/package-json-conventions.md
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/scope-manager-interface.md
@@ -1,6 +1,5 @@
---
title: ScopeManager
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/selectors.md
@@ -1,6 +1,5 @@
---
title: Selectors
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/shareable-configs.md
@@ -1,6 +1,5 @@
---
title: Shareable Configs
layout: doc
eleventyNavigation:
key: shareable configs
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/source-code.md
@@ -1,6 +1,5 @@
---
title: Source Code
layout: doc
eleventyNavigation:
key: getting the source code
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/unit-tests.md
@@ -1,6 +1,5 @@
---
title: Unit Tests
layout: doc
eleventyNavigation:
key: run the tests
parent: developer guide
Expand Down
@@ -1,6 +1,5 @@
---
title: Working with Custom Formatters
layout: doc
eleventyNavigation:
key: working with custom formatters
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/working-with-custom-parsers.md
@@ -1,6 +1,5 @@
---
title: Working with Custom Parsers
layout: doc
eleventyNavigation:
key: working with custom parsers
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/working-with-plugins.md
@@ -1,6 +1,5 @@
---
title: Working with Plugins
layout: doc
eleventyNavigation:
key: working with plugings
parent: developer guide
Expand Down
@@ -1,6 +1,5 @@
---
title: Working with Rules (Deprecated)
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/developer-guide/working-with-rules.md
@@ -1,6 +1,5 @@
---
title: Working with Rules
layout: doc
eleventyNavigation:
key: working with rules
parent: developer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/maintainer-guide/governance.md
@@ -1,6 +1,5 @@
---
title: Governance
layout: doc
eleventyNavigation:
key: governance
parent: maintainer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/maintainer-guide/index.md
@@ -1,6 +1,5 @@
---
title: Maintainer Guide
layout: doc
eleventyNavigation:
key: maintainer guide
title: Maintainer Guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/maintainer-guide/issues.md
@@ -1,6 +1,5 @@
---
title: Managing Issues
layout: doc
eleventyNavigation:
key: managing issues
parent: maintainer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/maintainer-guide/pullrequests.md
@@ -1,6 +1,5 @@
---
title: Reviewing Pull Requests
layout: doc
eleventyNavigation:
key: reviewing pull requests
parent: maintainer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/maintainer-guide/releases.md
@@ -1,6 +1,5 @@
---
title: Managing Releases
layout: doc
eleventyNavigation:
key: managing releases
parent: maintainer guide
Expand Down
1 change: 0 additions & 1 deletion docs/src/maintainer-guide/working-groups.md
@@ -1,6 +1,5 @@
---
title: Working Groups
layout: doc

---

Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/index.md
@@ -1,6 +1,5 @@
---
title: Documentation
layout: doc
permalink: /index.html
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/rules.md
@@ -1,6 +1,5 @@
---
title: Rules
layout: doc
permalink: /rules/index.html
eleventyNavigation:
key: rules
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/accessor-pairs.md
@@ -1,6 +1,5 @@
---
title: accessor-pairs
layout: doc
rule_type: suggestion
related_rules:
- no-dupe-keys
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/array-bracket-newline.md
@@ -1,6 +1,5 @@
---
title: array-bracket-newline
layout: doc
rule_type: layout
related_rules:
- array-bracket-spacing
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/array-bracket-spacing.md
@@ -1,6 +1,5 @@
---
title: array-bracket-spacing
layout: doc
rule_type: layout
related_rules:
- space-in-parens
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/array-callback-return.md
@@ -1,6 +1,5 @@
---
title: array-callback-return
layout: doc
rule_type: problem
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/array-element-newline.md
@@ -1,6 +1,5 @@
---
title: array-element-newline
layout: doc
rule_type: layout
related_rules:
- array-bracket-spacing
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/arrow-body-style.md
@@ -1,6 +1,5 @@
---
title: arrow-body-style
layout: doc
rule_type: suggestion
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/arrow-parens.md
@@ -1,6 +1,5 @@
---
title: arrow-parens
layout: doc
rule_type: layout
further_reading:
- https://github.com/airbnb/javascript#arrows--one-arg-parens
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/arrow-spacing.md
@@ -1,6 +1,5 @@
---
title: arrow-spacing
layout: doc
rule_type: layout
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/block-scoped-var.md
@@ -1,6 +1,5 @@
---
title: block-scoped-var
layout: doc
rule_type: suggestion
further_reading:
- https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/block-spacing.md
@@ -1,6 +1,5 @@
---
title: block-spacing
layout: doc
rule_type: layout
related_rules:
- space-before-blocks
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/brace-style.md
@@ -1,6 +1,5 @@
---
title: brace-style
layout: doc
rule_type: layout
related_rules:
- block-spacing
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/callback-return.md
@@ -1,6 +1,5 @@
---
title: callback-return
layout: doc
rule_type: suggestion
related_rules:
- handle-callback-err
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/camelcase.md
@@ -1,6 +1,5 @@
---
title: camelcase
layout: doc
rule_type: suggestion
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/capitalized-comments.md
@@ -1,6 +1,5 @@
---
title: capitalized-comments
layout: doc
rule_type: suggestion
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/class-methods-use-this.md
@@ -1,6 +1,5 @@
---
title: class-methods-use-this
layout: doc
rule_type: suggestion
further_reading:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/comma-dangle.md
@@ -1,6 +1,5 @@
---
title: comma-dangle
layout: doc
rule_type: layout
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/comma-spacing.md
@@ -1,6 +1,5 @@
---
title: comma-spacing
layout: doc
rule_type: layout
related_rules:
- array-bracket-spacing
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/comma-style.md
@@ -1,6 +1,5 @@
---
title: comma-style
layout: doc
rule_type: layout
related_rules:
- operator-linebreak
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/complexity.md
@@ -1,6 +1,5 @@
---
title: complexity
layout: doc
rule_type: suggestion
related_rules:
- max-depth
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/computed-property-spacing.md
@@ -1,6 +1,5 @@
---
title: computed-property-spacing
layout: doc
rule_type: layout
related_rules:
- array-bracket-spacing
Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/consistent-return.md
@@ -1,6 +1,5 @@
---
title: consistent-return
layout: doc
rule_type: suggestion
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/consistent-this.md
@@ -1,6 +1,5 @@
---
title: consistent-this
layout: doc
rule_type: suggestion
---

Expand Down
1 change: 0 additions & 1 deletion docs/src/rules/constructor-super.md
@@ -1,6 +1,5 @@
---
title: constructor-super
layout: doc
rule_type: problem
---

Expand Down