-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Templates: remove old dashboard files #12086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note, ext-theme overlays on top of the readthedocs.org templates, so there are some templates that may still come through from the old templates. Same for maybe JS, especially anything that was authored inline in HTML etc. This is just something to be careful around, but this is part of the deprecation plan eventually either way. |
Santos mentioned this tool we can use for this: https://github.com/nedbat/django_coverage_plugin |
I did a diff of the template files we have in .org and the ones in ext-theme. This is the list of all the files that are in .org but not on ext-theme:
However, it seems that they are not required and may be overwritten already in ext-theme but in different paths. Example: Also, all the tests are passing in #12091 and I would expect the tests to fail if the template required doesn't exist. |
This won't be super useful since if the template is used but we don't have a test for it, the coverage will be 0% and it may seems it's not used, but it's just because we don't have a test for it. In any case, I opened a PR at #12100 to try this out. |
Try this plyugin to find out templates that are not used from this repository and can be removed from here. Related #12086
Yes, diffing is not a good mechanism for comparison, many paths will not be the same. See: |
OK. I'm splitting this work so we don't need to remove all the HTML now and we can do it once we are migrated into the new dashboard. I opened an issue for this #12105 and I opened a PR for that work as well. |
We have deprecated the old dashboard. We are ready to remove all the code related to it now. There HTML, CSS and JS files. Besides, there are some Invoke tasks to build these assets that can be removed as well.
The text was updated successfully, but these errors were encountered: