CadQuery / sphinxcadquery

An extension to visualize CadQuery 3D files in your Sphinx documentation
BSD 3-Clause "New" or "Revised" License
15 stars 4 forks source link

Viewer source code appears in search results #34

Open SeanDS opened 2 years ago

SeanDS commented 2 years ago

It seems the JavaScript source code for the 3D viewer shows up in Sphinx's compiled search index. I can see this by searching for var parent (which is part of the 3D viewer's script) on the CadQuery website:

image

which actually looks like this:

image

with no var parent visible.

Is there a way to avoid this ugly side-effect?

Peque commented 2 years ago

@SeanDS Thanks for reporting! :blush:

Maybe there is a way. I unfortunately do not currently have time to look at this, but would happily accept a pull request! :rocket: