how to remove html tags and php serialization info from mysql result without php?

I'm storing a PHP array where key=>value pairs are information used to build jQuery UI tabs on a website. The string stored in the MySQL database looks...

Sphinx (documentation tool): set tab width in output

How do you set tab width in HTML output of Sphinx code snippets highlighted by Pygments? By default it is the annoying 8, but I want 4. Did not find a word about this setting in Sphinx conf.py.

Document python using Eclipse/Pydev

I am new to python development and use Eclipse/Pydev. Is there a nice way to integrate tools for generating documentations (e.g. Sphinx, pydoc) into the IDE to have a nice workflow, maybe showing...

sphinx-quickstart fails

I'm really having trouble getting to the first rung of the Sphinx tutorial ladder. I need to implement Sphinx for work projects. We are starting fresh with a new code-base (Django) for a large...

Sorting display by class using sphinx with 'autodoc'?

Is there a way to display a "Classes" list / tab using Sphinx, or to organize the html pages generated to show members by class, classes being visually well separated? I use Sphinx 1.1.3, an try...

Nesting Sphinx extension directives with reST

I'm trying to figure out if there's a way to nest Sphinx extension directives. I have a few custom node types that are working great, but I'd like a little more flexibility in the HTML I'm...

Open-in-new-tab link in Sphinx/reST

Is there any way to have links open in a new tab in Sphinx/reStructuredText? What in HTML would be target="_blank"? The only reference I could find is here, but with no answer.

Embed doxygen documentation in another site?

I'm trying to embed doxygen documentation into another website. At the moment I have it embedded with an iframe, but it has the side effect that if I open any of the links in the documentation on...

Django serving static pages from Sphinx

I have a large group of static html pages that I've generated from sphinx, and I'd like to show them on my Django site. I can connect to at least one page by putting the html/ folder form sphinx...

Add open-in-new-tab links in Sphinx/reStructuredText

Here is a solution for the same problem: https://stackoverflow.com/questions/11716781/open-a-link-in-a-new-window-in-restructuredtext However, when the document has a lot of links (especially when...

HAML - Inconsistent indentation: 1 tab used for indentation, but the rest of the document was indented using 2 spaces

Display error: Inconsistent indentation: 1 tab used for indentation, but the rest of the document was indented using 2 spaces around line 12 Why show error on this page haml. Why is wrong with...

ThinkingSphinx::ConnectionError asynchronous connection

My rails project running on server nginx + passenger. I noticed that thinking sphinx cannot respond to asynchronous connections. I run in two tabs on browser search query, and one of the responses...

Is it possible to link graphviz elements to sphinx links?

I use graphviz in my Sphinx documentation and would like to reuse links automatically generated by the RestructuredText code. You may want to jump directly to the UPDATE 2 at the bottom for...

How to Create Tabbed Code Blocks in Mkdocs or Sphinx?

Is there a way to create tabbed code blocks like the following in Mkdocs or Sphinx?

Disable click behavior for images

I am creating html documentation using sphinx and the read-the-docs theme. When I add a scaled image, it can be clicked and pops-up full-size in a new tab. How can I disable this behavior. For...

Sphinx generated html pages look different when pulled to a NAS drive git repository

I created some documentation using Sphinx on my local drive. I then initialised a git repository on a network drive, and fetched my work from my local drive so that I can share my documentation...

Sphinx documentation: define but hide heading/title text

I'm using Sphinx to document a Python package. The top of the title page / splash page holds a graphic with a logo and text for the project. This gives the visual appearance that I want, but...

Conda command fails silently

My anaconda is behaving oddly. conda list, conda debug, conda install, all return nothing. I have already reinstalled anaconda2, checked my path on .profile, and it's all there. 1. which -a...

pocketsphinx can't efficiently recognize words (commands) recorded via mic

I compiled this example C code of speech recognition librry pocketsphinx on my debian 9 system. I recorded a sample audio in a file called goforward.raw which has the command: "go forward" in...

Is 3-space indentation required in reST?

I'm documenting my Python code using Sphinx, and read in the Python developer's guide (and I think elsewhere as well) that reST files use an indentation of 3 spaces: All reST files use an...

Custom Vue dropdown maintain focus

I tried to find the solution here for this, but couldn't and decided to write a question. So I am trying to build a simple drop-down menu component in Vue which has toggle button and the user is...

Integrate pydoc HTML into Jupyter ignoring styling

I'm wanting a simple way to show rich HTML documentation of a python object in a Jupyter Notebook or JupyterLab context. It's possible this already exists. I basically want what Jupyter/IPython...

Using extra CSS file with Mkdocs hosted by ReadTheDocs

I have written some custom CSS I would like to be included in a Mkdocs site hosted by ReadTheDocs. It is not working because RTD isn't serving the CSS file. I have a .readthedocs.yml file that...

Preserve tabs in Sphinx Makefile code-block's

I use Sphinx with reStructuredText input and HTML output to document different pieces of the infrastructure. The idea is that a user who reads the documentation can copy examples and past them...

How to get cpp Doxygen module list in Sphinx?

Using the defgroup Doxygen keyword in a Doxygen comment block, it is possible to define a "module". Then, using the ingroup Doxygen keyword in any other Doxygen comment block, even in other source...

How do I get Sphinx code blocks working as tabs?

I have tried the extension sphinx-tabs. I use Python 3.8 and the latest Sphinx ver. I install with pip and add to conf.py but my code is never displayed properly. In conf.py I have...

RST conditional directives don't work using standard syntax

I've defined a conditional tag in my makefile so I can use the ONLY directive to conditionally remove blocks of text. Makefile entry: ... set BUILDDIR=_build sphinx-build -t internal ... I have...

How to convert a Word document into an html file through the chain pandoc -> sphinx and keeping the tabs of the document's code examples

I would like to create an HTML site from a Word document about Python programming. I use the chain word document -> [pandoc] -> rst file -> [sphinx] -> html site. Everything is working ok except...