Skip to content

document strict-config and other command line flags #7728

Closed

Description

@graingert

I was recently asked to explain why I was adding --strict-config to a pytest ini, "as it appears to be undocumented"

currently command line flags are only documented in the changelog and https://docs.pytest.org/en/stable/_modules/_pytest/main.html

I think we should automatically add the output of pytest --help to the docs, eg here:
https://docs.pytest.org/en/stable/usage.html#getting-help-on-version-option-names-environment-variables

Activity

  1. added
    type: docs
    on Sep 7, 2020
  2. Zac-HD commented on Sep 7, 2020

    @Zac-HD
    Member

    Sounds good to me. I've used sphinxcontrib-programoutput for this before, if nobody has a better idea?

  3. The-Compiler commented on Sep 7, 2020

    @The-Compiler
    Member

    If we just want the raw output: We already do use regendoc all over the docs, so without a good reason I don't think we should add yet another way to generate command output in the documentation.

  4. added 2 commits that reference this issue on Sep 12, 2020
    a76bef0
    4b46db8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions