Comments (7)
@sandrotosi https://github.com/ExecutableBookProject/sphinx-copybutton/releases/tag/v0.2.11 :-)
from sphinx-copybutton.
@mgeier and @sandrotosi wanna check to make sure this looks good? I just cut a new release for PyPI!
from sphinx-copybutton.
The packages seem to work, there are just two minor cosmetic problems:
(1) When unpacking the packages (wheel
and sdist
), the contained files all are executable.
I have no idea why that's the case, but it doesn't happen when I'm trying other packages.
Are the files executable on your local file system?
(2) The sdist
contains the _build
directory, I guess that's not intentional?
I normally don't use Sphinx' Makefile
(because it's silly, see sphinx-doc/sphinx#5618 (comment)) and use this instead:
python3 setup.py build_sphinx
See also https://github.com/spatialaudio/nbsphinx/blob/master/CONTRIBUTING.rst.
This is better in many ways, and as a side effect it avoids having the build directory as part of the docs directory.
What's making things worse, is that you have _build
in your .gitignore
, which makes it hard to spot the error.
In summary, these are two anti-patterns that I try to avoid in my own projects: Sphinx' Makefile
s and over-eager .gitignore
files.
from sphinx-copybutton.
@mgeier thanks for the advice! Perhaps we can tackle these as issues for the next release. I'll change the issue title to reflect the new To-Do item
from sphinx-copybutton.
Hey @choldgraf , you also released a new version of sphinx-copybutton? :)
from sphinx-copybutton.
well I have since Jan 6th :-) but is there a feature in master that you want in the released verison? Can try to make a release tomorrow if so
from sphinx-copybutton.
not necessarily, but there are 45 commits to master since the latest release, probably a new one is due regardless if i need it or not :)
from sphinx-copybutton.
Related Issues (20)
- Convert documentation into MyST Markdown
- Update the copybutton image to match GitHub's copybutton style
- Modularize our documentation a bit HOT 1
- Copy button stays put sometimes when other objects shrink its container
- Copy button does not show up for productionlist HOT 1
- issue to store media HOT 1
- Post message after all copy buttons added HOT 3
- Build failed for config doc when importing an extension sphinx_copybutton HOT 4
- Failed build in RTD for extension sphinx-copybutton
- Copybutton disappears too quickly if you click copy then move the cursor off the code cell
- Conflict between regex exclusion/prompt selection and copybutton_exclude HOT 12
- Add Trailing New Line to Clipboard Option HOT 1
- Blank Lines Stripped from code
- Use only one tooltip HOT 2
- newline ignored when using emphasize-lines HOT 1
- Copy button not shown on some pages HOT 3
- Example Not Functional HOT 2
- Add expand button for some block elements HOT 1
- Stripping ellipsis HOT 1
- URL to copy-button.svg is incorrect because DOCUMENTATION_OPTIONS.URL_ROOT is undefined HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sphinx-copybutton.