-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Remove unwanted macros #4579
Comments
These reported macros no longer appear in en-US content:- ~/content$ grep -rw fx_minversion_header
~/content$ grep -rw fx_minversion_inline
~/content$ grep -rw gecko_minversion_header
node_modules/@mdn/yari/kumascript/src/info.js: "gecko_minversion_header",
~/content$ grep -rw gecko_minversion_inline
node_modules/@mdn/yari/kumascript/src/info.js: "gecko_minversion_inline",
~/content$ grep -rw IncludeSubnav
node_modules/@mdn/yari/content/translation.js: "IncludeSubnav",
node_modules/@mdn/yari/kumascript/macros/IncludeSubnav.ejs:// The IncludeSubnav macro is considered deprecated.
node_modules/@mdn/yari/kumascript/index.js: 'The following documents form a circular dependency when rendering (via the "page" and/or "IncludeSubnav" macros):';
~/content$ grep -r "{languages("
~/content$ |
This is done for mdn/content, apparently, but there are lots in mdn/translated-content still. @ddbeck , can you transfer this issue there? |
Tagging all active locales "for reach", if macros are already absent from any, please let me know so that I can remove the right tags. |
@SphinxKnight removed all those macros in |
@JuanVqz @Graywolf9 Once my last PR will be approved i guess i can take on this issue. The total files with one or more macros on it are 193, and the macros to remove in all files are 290. |
@todomagichere I did create a new issue to track all the removed macros, could you please add more info there? Thanks! |
Thank you so much @escattone I note that |
Tbh, #5603 arrived later than this one (2021 ;)) |
The all macros have been removed in the |
Done for |
I think this is done in doing:
throws 0 results
|
We'd like to remove the following macros from all documents (English, non-English, and archived):
fx_minversion_header
fx_minversion_inline
gecko_minversion_header
gecko_minversion_inline
languages
The text was updated successfully, but these errors were encountered: