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

Add descriptions to all reference pages #86

Merged
merged 6 commits into from
Jan 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions docs/reference/global-options.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Global options
description: |
Options to control the overall behavior of Pants.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/check.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: check
description: |
Run type checking or the lightest variant of compilation available for a language.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/count-loc.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: count-loc
description: |
Count lines of code.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/dependees.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: dependees
description: |
List all targets that depend on any of the input files/targets.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/dependencies.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: dependencies
description: |
List the dependencies of the input files/targets.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/dependents.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: dependents
description: |
List all targets that depend on any of the input files/targets.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/experimental-bsp.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: experimental-bsp
description: |
Setup repository for Build Server Protocol (https://build-server-protocol.github.io/).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/experimental-deploy.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: experimental-deploy
description: |
Perform a deployment process.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/experimental-explorer.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: experimental-explorer
description: |
Run the Pants Explorer Web UI server.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/export-codegen.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: export-codegen
description: |
Write generated files to `dist/codegen` for use outside of Pants.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/export.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: export
description: |
Export Pants data for use in other tools, such as IDEs.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/filedeps.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: filedeps
description: |
List all source and BUILD files a target depends on.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/fix.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: fix
description: |
Autofix source code.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/fmt.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: fmt
description: |
Autoformat source code.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/generate-lockfiles.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: generate-lockfiles
description: |
Generate lockfiles for third-party dependencies.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/generate-snapshots.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: generate-snapshots
description: |
Generate test snapshots.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/go-generate.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: go-generate
description: |
Run each command in a package described by a `//go:generate` directive. This is equivalent to running `go generate` on a Go package.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/help-advanced.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: help-advanced
description: |
Help for advanced options.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/help-all.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: help-all
description: |
Print a JSON object containing all help info.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/help.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: help
description: |
Display usage message.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/lint.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: lint
description: |
Run linters/formatters/fixers in check mode.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/list.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: list
description: |
Lists all targets matching the file or target arguments.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/package.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: package
description: |
Create a distributable package.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/paths.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: paths
description: |
List the paths between two addresses. Either address may represent a group of targets, e.g. `--from=src/app/main.py --to=src/library::`.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/peek.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: peek
description: |
Display BUILD target info
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/publish.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: publish
description: |
Publish deliverables (assets, distributions, images, etc).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/py-constraints.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: py-constraints
description: |
Determine what Python interpreter constraints are used by files/targets.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/python-dump-source-analysis.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: python-dump-source-analysis
description: |
Dump source analysis for python_source targets.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/repl.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: repl
description: |
Open a REPL with the specified code loadable.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/roots.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: roots
description: |
List the repo's registered source roots.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/run.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: run
description: |
Runs a binary target.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/tailor.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: tailor
description: |
Auto-generate BUILD file targets for new source files.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/test.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: test
description: |
Run tests.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/update-build-files.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: update-build-files
description: |
Format and fix safe deprecations in BUILD files.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/goals/version.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: version
description: |
Display Pants version.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/add-trailing-comma.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: add-trailing-comma
description: |
The add-trailing-comma Python code formatter (https://github.com/asottile/add-trailing-comma).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/anonymous-telemetry.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: anonymous-telemetry
description: |
Options related to sending anonymous stats to the Pants project, to aid development.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/apache-thrift.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: apache-thrift
description: |
Apache Thrift IDL compiler (https://thrift.apache.org/).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/autoflake.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: autoflake
description: |
The Autoflake Python code formatter (https://github.com/myint/autoflake).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/bandit.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: bandit
description: |
A tool for finding security issues in Python code (https://bandit.readthedocs.io).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/black.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: black
description: |
The Black Python code formatter (https://black.readthedocs.io/).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/buf.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: buf
description: |
A linter and formatter for Protocol Buffers (https://github.com/bufbuild/buf).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/build-deprecations-fixer.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: build-deprecations-fixer
description: |
A tool/plugin for fixing BUILD file deprecations (where possible).
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/buildifier.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: buildifier
description: |
Buildifier is a tool for formatting BUILD files with a standard convention.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/changed.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: changed
description: |
Tell Pants to detect what files and targets have changed from Git.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/cli.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: cli
description: |
Options for configuring CLI behavior, such as command line aliases.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/coursier.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: coursier
description: |
A dependency resolver for the Maven ecosystem. (https://get-coursier.io/)
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/coverage-py.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: coverage-py
description: |
Configuration for Python test coverage measurement.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/debug-adapter.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: debug-adapter
description: |
Options used to configure and launch a Debug Adapter server.
---

import Option from "@site/src/components/reference/Option";
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/subsystems/debugpy.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: debugpy
description: |
An implementation of the Debug Adapter Protocol for Python (https://github.com/microsoft/debugpy).
---

import Option from "@site/src/components/reference/Option";
Expand Down
Loading