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

Use the "sphinx-copybutton" extension in documentation #1904

Merged
merged 2 commits into from
Jun 27, 2022

Conversation

rahulporuri
Copy link
Contributor

@rahulporuri rahulporuri commented Jun 11, 2022

This PR does the following:

  • Use the sphinx_copybutton extension when building the Sphinx documentation
  • Make sphinx-copybutton as a docs extra for the traitsui package
  • Install sphinx-copybutton from PyPI when building docs using the etstool.py utility.

Ref https://sphinx-copybutton.readthedocs.io/en/latest/

Checklist

  • Add a news fragment if this PR is news-worthy for end users. (see docs/releases/README.rst)

Poruri Sai Rahul added 2 commits June 11, 2022 08:11
	modified:   docs/source/conf.py
	modified:   etstool.py
	modified:   traitsui/__init__.py
	new file:   docs/releases/upcoming/1904.doc.rst
@corranwebster corranwebster merged commit 91f8bd5 into main Jun 27, 2022
@corranwebster corranwebster deleted the docs/sphinx-copybutton branch June 27, 2022 16:05
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.

None yet

2 participants