|
48 | 48 | "sphinx.ext.todo", |
49 | 49 | "sphinx_copybutton", |
50 | 50 | "sphinx_sitemap", |
51 | | - "sphinxcontrib.httpdomain", |
52 | | - "sphinxcontrib.httpexample", |
| 51 | + "sphinxcontrib.httpdomain", # plone.restapi |
| 52 | + "sphinxcontrib.httpexample", # plone.restapi |
53 | 53 | "sphinxcontrib.spelling", |
54 | 54 | "sphinxext.opengraph", |
55 | | - # plone.api |
56 | | - 'sphinx.ext.viewcode', |
57 | | - 'sphinx.ext.autosummary', |
| 55 | + "sphinx.ext.viewcode", # plone.api |
| 56 | + "sphinx.ext.autosummary", # plone.api |
58 | 57 | ] |
59 | 58 |
|
60 | 59 |
|
|
115 | 114 | "**/README.rst", |
116 | 115 | "plone.restapi/.*", |
117 | 116 | "plone.restapi/bin", |
118 | | - "plone.restapi/docs/source/ideas", |
| 117 | + "plone.restapi/ideas", |
119 | 118 | "plone.restapi/include", |
120 | 119 | "plone.restapi/lib", |
121 | 120 | "plone.restapi/news", |
|
141 | 140 | "linkify", # Identify “bare” web URLs and add hyperlinks. |
142 | 141 | "colon_fence", # You can also use ::: delimiters to denote code fences,\ |
143 | 142 | # instead of ```. |
| 143 | + "substitution", # plone.restapi \ |
| 144 | + # https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2 |
144 | 145 | ] |
145 | 146 |
|
| 147 | +myst_substitutions = { |
| 148 | + "postman_basic_auth": "", |
| 149 | + "postman_headers": "", |
| 150 | + "postman_request": "", |
| 151 | + "postman_response": "", |
| 152 | + "postman_retain_headers": "", |
| 153 | + "fawrench": '<span class="fa fa-wrench" style="font-size: 1.6em;"></span>', |
| 154 | +} |
146 | 155 |
|
147 | 156 | # -- Intersphinx configuration ---------------------------------- |
148 | 157 |
|
|
0 commit comments