Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Telemetry: track Sphinx `extensions` and `html_theme` variables Pretty simple implementation to track Sphinx's extensions and theme. This is not the best implementation, but I think it could be good as a first start. The new `doctool` key added will have this shape: ``` "doctool": { "extensions": [ "readthedocs_ext.readthedocs", "notfound.extension", "autoapi.extension", "sphinx_tabs.tabs", "sphinx-prompt", "sphinxemoji.sphinxemoji" ], "name": "sphinx", "theme": "sphinx_rtd_theme" }, ``` Closes #9627 * Lint * Lint * Use `Version.is___type()` to know if it's Sphinx/MkDocs or generic * Telemetry: use `readthedocs-sphinx-ext`'s dump to load the data Our extension is now dumping the data we want to consume here. So, we are just reading that file and saving it as part of the `BuildData` object. * These are properties, not functions * Missing `return` * Return `doctool` data even if the file does not exist
- Loading branch information