Skip to content
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

Revise index generation to use new content tree (Issue 2418 task 8) #2450

Merged
merged 5 commits into from
Sep 23, 2022

Conversation

alflennik
Copy link
Contributor

@alflennik alflennik commented Aug 29, 2022

See #2418 for more information about the task.

Copy link
Contributor

@mcking65 mcking65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, working great!

However, I think we need to do two more things with this PR.

  1. Delete the content/index.html file generated by the old version of the script.
  2. Change content of scripts/reference-tables.template to match what is in prod on the WAI site. One of our goals of the restructure is for all content in prod to be in the aria-practices repo. The jekyll build should not add or modify content.

@mcking65 mcking65 changed the title Implement 2418 task 8 Revise index generation to use new content tree (Issue 2418 task 8) Sep 4, 2022
@alflennik
Copy link
Contributor Author

@mcking65 Thanks for the feedback, and I implemented the fixes. I had indeed missed the previous index.html file, thanks for noticing it. I also updated the copy to match the production site.

Copy link
Contributor

@mcking65 mcking65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good; just one more thing. I think we need some edits to the head in the template. I don't know which script and css is needed. We should think about both what is needed in prod and what helps people when viewing the content locally in clones of the repo.

@@ -11,15 +11,12 @@
<script src="js/app.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The paths on the file refs in the script and css don't appear correct

@alflennik
Copy link
Contributor Author

@mcking65 Thanks again for pointing out the broken link, I fixed it and several other broken links on this page, and now the JS and CSS running on this page are the same as the other example pages.

@mcking65 mcking65 merged commit 910362f into move-examples Sep 23, 2022
@mcking65 mcking65 deleted the move-examples-8 branch September 23, 2022 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants