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

GitHub pagify #9

Closed
wants to merge 16 commits into from
Closed

GitHub pagify #9

wants to merge 16 commits into from

Conversation

michael-burke4
Copy link
Contributor

Marking this as a draft as theres a couple concerns I want some input on before I PR for real:

Right now I've just pasted all of the 'articles' from the kernel stash into the _articles directory, it'd probably be better to add a dedicated articles repo as a submodule. Also, if these aren't meant to be public yet I can remove them!

I ran into an annoying issue where relative links to .md pages within the website sometimes wouldn't get properly translated into .html links. As in: by default jekyll (or a jekyll plugin that is on by default in gh pages) automatically translates any links to .md pages within the same website to .html. So if a .md doc like "/course/fall2023/index.md" has a link to "/course/fall2023/L1.md", jekyll would automatically translate that L1.md link to L1.html. Some of these links would not get translated, so instead of showing a nicely rendered html page, the links would bring you to a raw plain text view in your browser. As a band-aid I removed the .md extension from any links, so that L1 link for example would read "/course/fall2023/L1". This solution works, and changing all .md links to .html manually would work, but both are inelegant and confusing when making the website. I'll take a stab at making .md links work again, but if the no extension/manual .html is fine then we could stick with that.

@michael-burke4
Copy link
Contributor Author

michael-burke4 commented May 27, 2024

Also there's a couple of dead cgit links in some of the assignments that link to what would be example/starter code. I don't know if we should delete those links or have them link somewhere else.

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