From ad54d0246797cdd849948e7a5d31571c498af7aa Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Mon, 13 Jun 2022 16:00:09 +0200 Subject: [PATCH] docs: add missing trailing slash to some internal links (#15991) --- docs/src/developer-guide/nodejs-api.md | 2 +- docs/src/maintainer-guide/governance.md | 4 ++-- docs/src/pages/index.md | 6 +++--- docs/src/user-guide/command-line-interface.md | 2 +- docs/src/user-guide/index.md | 8 ++++---- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/src/developer-guide/nodejs-api.md b/docs/src/developer-guide/nodejs-api.md index e3830321439..08d7a1442c9 100644 --- a/docs/src/developer-guide/nodejs-api.md +++ b/docs/src/developer-guide/nodejs-api.md @@ -952,7 +952,7 @@ ruleTester.run("my-rule", myRule, { --- -[configuration object]: ../user-guide/configuring +[configuration object]: ../user-guide/configuring/ [builtin-formatters]: https://eslint.org/docs/user-guide/formatters/ [third-party-formatters]: https://www.npmjs.com/search?q=eslintformatter [eslint]: #eslint-class diff --git a/docs/src/maintainer-guide/governance.md b/docs/src/maintainer-guide/governance.md index 57067963adf..87bb91a655a 100644 --- a/docs/src/maintainer-guide/governance.md +++ b/docs/src/maintainer-guide/governance.md @@ -4,7 +4,7 @@ layout: doc edit_link: https://github.com/eslint/eslint/edit/main/docs/src/maintainer-guide/governance.md eleventyNavigation: key: governance - parent: maintainer guide + parent: maintainer guide title: Governance order: 4 @@ -30,7 +30,7 @@ As Contributors gain experience and familiarity with the project, their profile ### Committers -Committers are community members who have shown that they are committed to the continued development of the project through ongoing engagement with the community. Committers are given push access to the project's GitHub repos and must abide by the project's [Contribution Guidelines](../developer-guide/contributing). +Committers are community members who have shown that they are committed to the continued development of the project through ongoing engagement with the community. Committers are given push access to the project's GitHub repos and must abide by the project's [Contribution Guidelines](../developer-guide/contributing/). Committers: diff --git a/docs/src/pages/index.md b/docs/src/pages/index.md index 8ca84e9db16..016d9d0f422 100644 --- a/docs/src/pages/index.md +++ b/docs/src/pages/index.md @@ -7,16 +7,16 @@ edit_link: https://github.com/eslint/eslint/edit/main/docs/src/pages/index.md Welcome to our documentation pages! What would you like to view? -## [User Guide](user-guide) +## [User Guide](user-guide/) Intended for end users of ESLint. Contains information about core rules, configuration, command line options, formatters, and integrations, as well as guides for migrating from earlier versions of ESLint. -## [Developer Guide](developer-guide) +## [Developer Guide](developer-guide/) Intended for contributors to ESLint and people who wish to extend ESLint. Contains information about contributing to ESLint; creating custom rules, configurations, plugins, and formatters; and information about our architecture and Node.js API. -## [Maintainer Guide](maintainer-guide) +## [Maintainer Guide](maintainer-guide/) Intended for maintainers of ESLint. diff --git a/docs/src/user-guide/command-line-interface.md b/docs/src/user-guide/command-line-interface.md index 060e1750dff..1faf1dc092a 100644 --- a/docs/src/user-guide/command-line-interface.md +++ b/docs/src/user-guide/command-line-interface.md @@ -122,7 +122,7 @@ Example: #### `-c`, `--config` -This option allows you to specify an additional configuration file for ESLint (see [Configuring ESLint](configuring) for more). +This option allows you to specify an additional configuration file for ESLint (see [Configuring ESLint](configuring/) for more). Example: diff --git a/docs/src/user-guide/index.md b/docs/src/user-guide/index.md index c99097354e1..6b0fa43e376 100644 --- a/docs/src/user-guide/index.md +++ b/docs/src/user-guide/index.md @@ -3,18 +3,18 @@ title: User Guide layout: doc edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/index.md eleventyNavigation: - key: user guide - title: User Guide + key: user guide + title: User Guide order: 1 --- -This guide is intended for those who wish to use ESLint as an end-user. If you're looking for how to extend ESLint or work with the ESLint source code, please see the [Developer Guide](../developer-guide). +This guide is intended for those who wish to use ESLint as an end-user. If you're looking for how to extend ESLint or work with the ESLint source code, please see the [Developer Guide](../developer-guide/). ## [Getting Started](getting-started) Want to skip ahead and just start using ESLint? This section gives a high-level overview of installation, setup, and configuration options. -## [Rules](../rules) +## [Rules](../rules/) ESLint has a lot of rules that you can configure to fine-tune it to your project. This section is an exhaustive list of every rule and link to each rule's documentation.