]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
pin sphinx-copybutton and change config
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Feb 2023 17:05:47 +0000 (12:05 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Feb 2023 17:07:12 +0000 (12:07 -0500)
commit13d3b2c291f49525bc38d082d1c2abe9e03bd3fe
treef4860b621fd4f81baa64b3dcc861972c71ec3ea2
parent318d36a1c25ee6007761fadf987f46d7c6ebb003
pin sphinx-copybutton and change config

sphinx-copybutton introduced a new feature
in 0.5.1 which includes a default configuration
that breaks the regexp prompt matching scheme.

set copybutton_exclude to not include ".gp" as that's the class
where we exactly look for the prompts we are matching.
While we're there, use this new feature to exclude our sql
styles, even though this is not strictly necessary in our case.

pin sphinx-copybutton at 0.5.1 to avoid future problems.

Change-Id: I8eaeab13995c032b9ee3afd1f08dae5929009d45
References: https://github.com/executablebooks/sphinx-copybutton/issues/185
doc/build/conf.py
doc/build/requirements.txt