Single analytics file for all builders #3896
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request breaks out the analytics file
readthedocs-dynamic-include.js
which is typically created with each docs build into a separate file which will live athttps://media.readthedocs.org/javascript/readthedocs-analytics.js
.readthedocs-dynamic-include.js
only for mkdocs. Referencing the same analytics file will be done for sphinx builds as well but that change will be in https://github.com/rtfd/readthedocs-sphinx-ext (probably an update on Remove dynamic include file readthedocs-sphinx-ext#33)readthedocs-analytics.js
file which is cached (albeit only for a week with our current settings).