Reputation: 1156
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?
Upvotes: 0
Views: 577
Reputation: 3405
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.
Upvotes: 1