Skip to content

Add coh docs command - #14

Merged
jaraco merged 2 commits into
mainfrom
copilot/add-coh-docs-command
Feb 22, 2026
Merged

Add coh docs command#14
jaraco merged 2 commits into
mainfrom
copilot/add-coh-docs-command

Conversation

Copilot AI commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

Now that coherent.docs exists, expose it as a first-class coh docs subcommand alongside the existing test and build commands.

Changes

  • __main__.py: Add docs as a passthrough_command, invoking coherent.docs via runpy.run_module
  • __init__.py: Declare coherent.docs in __requires__
@passthrough_command
def docs() -> None:
    del sys.argv[1]
    runpy.run_module('coherent.docs', run_name='__main__')
Original prompt

This section details on the original issue you should resolve

<issue_title>New command coh docs</issue_title>
<issue_description>Now that coherent.docs exists, add a command coh docs that invokes that library on the local project.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: jaraco <308610+jaraco@users.noreply.github.com>
Copilot AI changed the title [WIP] Add command to invoke coherent.docs on local project Add coh docs command Feb 22, 2026
Copilot AI requested a review from jaraco February 22, 2026 16:59
@jaraco
jaraco marked this pull request as ready for review February 22, 2026 18:21
@jaraco jaraco closed this Feb 22, 2026
@jaraco jaraco reopened this Feb 22, 2026
@jaraco
jaraco merged commit 9db831a into main Feb 22, 2026
32 of 56 checks passed
@jaraco
jaraco deleted the copilot/add-coh-docs-command branch February 22, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New command coh docs

2 participants