I am working on creating a Sphinx theme based on Accelerated Mobile Pages (AMP). While creating it, I came to realize that since AMP uses amp-img
tag in place of the img
tag. Is there a way to convert all the img tag in the sphinx generated docs to amp-img
Asked
Active
Viewed 99 times
1

barryhunter
- 20,886
- 3
- 30
- 43

Ujjwal Bhardwaj
- 725
- 5
- 11
1 Answers
0
There is nothing out of the box. The easiest option is to post-process your HTML output from Sphinx.

Steve Piercy
- 13,693
- 1
- 44
- 57