-
Notifications
You must be signed in to change notification settings - Fork 510
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
chore: remove index.html support #7575
Conversation
803c043
to
53def3d
Compare
The how it works section of the readme will also need some updating. |
94dd3cd
to
397f491
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test failure (see here):
Error: MacroLiveSampleError within /home/runner/work/yari/yari/testing/content/files/en-us/learn/css/css_layout/introduction/flex/index.md, line 19 column 1 (unable to find any live code samples for "flex_1" within /en-US/docs/Learn/CSS/CSS_layout/Introduction/Flex)
at buildDocument (/home/runner/work/yari/yari/build/index.ts:369:17)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async buildDocumentInteractive (/home/runner/work/yari/yari/build/cli.ts:61:29)
at async buildDocuments (/home/runner/work/yari/yari/build/cli.ts:156:20)
at async Se._action (/home/runner/work/yari/yari/build/cli.ts:445:60)
at async Se.run (/home/runner/work/yari/yari/node_modules/@caporal/core/dist/index.js:1:27579)
error: MacroLiveSampleError within /home/runner/work/yari/yari/testing/content/files/en-us/learn/css/css_layout/introduction/flex/index.md, line 19 column 1 (unable to find any live code samples for "flex_1" within /en-US/docs/Learn/CSS/CSS_layout/Introduction/Flex)
at async Te._run (/home/runner/work/yari/yari/node_modules/@caporal/core/dist/index.js:1:32257)
Hi @caugner, should we modify the testing documents. For there are no {{page}} macro left in en-US (maybe we should deprecate See mdn/content#3196. |
This pull request has merge conflicts that must be resolved before it can be merged. |
ad2891e
to
3930a98
Compare
Using mdn/markdown, ran `yarn m2h`.
Some flaws do not seem to support Markdown: - bad_pre - images - sectioning - (possibly others)
3930a98
to
f17e713
Compare
This pull request has merge conflicts that must be resolved before it can be merged. |
Closing, as the build system is currently being rewritten, which will also fix this. |
Summary
Fixes #7574.
Problem
We are now 100% Markdown i.e. all content (and translated-content) is using
index.md
exclusively, but yari still supportsindex.html
.Solution
Remove support for content in
index.html
files.Screenshots
n/a
How did you test this change?