head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.4 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2026.07.06.08.22.32; author wiz; state dead; branches; next 1.1; commitid 4aG7OYtaBXKUkzMG; 1.1 date 2025.12.28.21.23.36; author wiz; state Exp; branches; next ; commitid ywtCMh35NvYwLdoG; desc @@ 1.2 log @py-sphinx-argparse: update to 0.6.0. Optional command index. Optional :index-groups: field to the directive for an command-by-group index. A sphinxarg_full_subcommand_name option to print fully-qualified sub-command headings. This option helps when more than one sub-command offers a create or list or other repeated sub-command. Each command heading is a domain-specific link target. You can link to commands and sub-commands with the :ref: role, but this release adds support for the domain-specific role like :commands:command:`sample-directive-opts A` ``. The ``:commands:command: role supports linking from other projects through the intersphinx extension. Changes Previously, common headings such as Positional Arguments were subject to a process that made them unique by adding a _repeatX suffix to the HREF target. This release continues to support those HREF targets as secondary targets so that bookmarks continue to work. However, this release prefers using fully-qualified HREF targets like sample-directive-opts-positional-arguments as the primary HREF so that customers are less likely to witness the _repeatX link in URLs. #32 Argparse commands are now part of a Sphinx domain #72 Coloring in argparse output can be disabled (default) #87 The :filename: input is now resolved only to the conf.py directory (srcdir in Sphinx) #89 Changed the way mock from autodoc is important to work around a persistent Sphinx bug @ text @$NetBSD: patch-sphinxarg_ext.py,v 1.1 2025/12/28 21:23:36 wiz Exp $ Work around sphinx 9 compatibility problem. https://github.com/sphinx-doc/sphinx/issues/14206 --- sphinxarg/ext.py.orig 2025-12-28 19:31:54.689028452 +0000 +++ sphinxarg/ext.py @@@@ -11,7 +11,7 @@@@ from docutils.frontend import get_defaul from docutils.parsers.rst import Parser from docutils.parsers.rst.directives import flag, unchanged from docutils.statemachine import StringList -from sphinx.ext.autodoc import mock +from sphinx.ext.autodoc._dynamic._mock import mock from sphinx.util.docutils import SphinxDirective, new_document from sphinx.util.nodes import nested_parse_with_titles @ 1.1 log @py-sphinx-argparse: add missing patch @ text @d1 1 a1 1 $NetBSD$ @