0

I'm trying to use Sphinx to create some HTML divs for each of my methods.

The problem is, I'd like to completely customize the code Sphinx generates.

I believe doing this would require creating a custom directive and telling Sphinx how to parse it.

How would I do that?

0

1 Answer 1

1

If you are are looking to customize the the HTML that is generated, try modifying the HTML builder. Make a copy of the existing HTML builder and customize it to your liking. The builder documentation may also help.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.