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

Restructure content according to methodology #317

Merged
merged 9 commits into from
Oct 16, 2023

Conversation

razvand
Copy link
Contributor

@razvand razvand commented Aug 3, 2023

Restructure repository according to Open Education Hub Methodology.

@razvand razvand added enhancement New feature or request area/content Content (Markdown) update labels Aug 3, 2023
Copy link
Contributor

@gabrielmocanu gabrielmocanu left a comment

Choose a reason for hiding this comment

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

  1. Rename the contentdirectory to chapters.
  2. Restructure the drill directory as we discussed:
content/software-stack/system-calls/drills/
|-- basic-syscall/
|   |-- README.md
|   |-- support/
|   `-- solution/
|-- libc-syscall/
|   |-- README.md
|   `-- support/
`-- syscall-wrapper/
    |-- README.md
    |-- support/
    `-- solution/

@razvand
Copy link
Contributor Author

razvand commented Aug 10, 2023

@gabrielmocanu, I applied your comments. See the last two commits.

@github-actions github-actions bot added area/code Update or new source code support / solution files area/quiz Update or new quiz question labels Aug 11, 2023
@teodutu
Copy link
Member

teodutu commented Sep 12, 2023

@razvand add the Makefile and build files from the oer-template repo here so I can test this and merge it: open-education-hub/oer-template#9.

@RazvanN7
Copy link
Contributor

@teodutu this currently does not follow the structure stated in the methodology

@teodutu
Copy link
Member

teodutu commented Sep 12, 2023

Yup, but at least it's closer. Restructuring the repo according to the updated methodology is probably an unrealistic goal until tomorrow.

@teodutu teodutu added the needs-rendering The PR makes changes to the website that need to be rendered label Oct 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

Signed-off-by: Razvan Deaconescu <razvan.deaconescu@upb.ro>
Signed-off-by: Razvan Deaconescu <razvan.deaconescu@upb.ro>
Signed-off-by: Razvan Deaconescu <razvan.deaconescu@upb.ro>
@teodutu teodutu force-pushed the razvand/restructure-content branch from 70ee8ad to a7e5cd2 Compare October 6, 2023 12:18
@teodutu teodutu added needs-rendering The PR makes changes to the website that need to be rendered and removed needs-rendering The PR makes changes to the website that need to be rendered labels Oct 6, 2023
Move the remaining media files into their subchapters according to the
restructuring.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
The new structure of the repo means that media paths will differ between
the stored and rendered slides, but MarkdownPP cannot make modifications
to links to such files. This commit introduces a custom preprocessor
that handles `!INCLUDE`s as well as changing the links to fit the path
where the slides are build.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
It is useful for testing changes made to `config.yml` or written content
files locally.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
@github-actions github-actions bot added the kind/new New content / item label Oct 9, 2023
@teodutu teodutu added needs-rendering The PR makes changes to the website that need to be rendered and removed needs-rendering The PR makes changes to the website that need to be rendered labels Oct 9, 2023
@teodutu teodutu added the needs-rendering The PR makes changes to the website that need to be rendered label Oct 9, 2023
@github-actions github-actions bot added the kind/improve Improve / Update existing content / item label Oct 10, 2023
@Alex-deVis
Copy link
Contributor

@teodutu, @gabrielmocanu the rendered version link [1] does not work.

[1] http://open-education-hub.github.io/operating-systems/317/

@gabrielmocanu
Copy link
Contributor

@teodutu, @gabrielmocanu the rendered version link [1] does not work.

[1] http://open-education-hub.github.io/operating-systems/317/

Render it again. Probably another PR was merged.

@razvand
Copy link
Contributor Author

razvand commented Oct 15, 2023

@teodutu , I'll check this later today, so we can integrate it.

…he methodology

Update `config.yml` and the content folders to render the website
according to the new methodology.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
@teodutu teodutu added needs-rendering The PR makes changes to the website that need to be rendered and removed needs-rendering The PR makes changes to the website that need to be rendered labels Oct 15, 2023
@github-actions
Copy link
Contributor

@teodutu
Copy link
Member

teodutu commented Oct 15, 2023

I finally fixed the errors. @razvand @Alex-deVis take a look at the restructured Software Stack chapter [1] and see if you like it.

[1] https://open-education-hub.github.io/operating-systems/317/Software%20Stack/

@Alex-deVis
Copy link
Contributor

@teodutu, I think it would be better to put the Mini-libc project under software-stack/projects rather than software-stack/libc/projects as this is a project for the whole chapter, not only for that section.

I find it more intuitive for questions/ to contain a list of quizzes, each file named after the quiz, not after the chapter. If you want students to solve a certain question after reading a chapter you can simply reference it.
To put it simply: libc/drills/questions should contain 6 files (each being a quiz): printf() system call, strcpy() system call, printf() vs write() ...

Also, even if it is repetitive, I think it is a good idea to keep the Assignments page as it helps to find projects quickly.

These points aside, everything looks good and we should merge it ASAP. We can make changes based on live feedback in the following weeks.

@teodutu
Copy link
Member

teodutu commented Oct 16, 2023

@Alex-deVis I think the subchapters need to be split into another category such that the sidebar looks like this:

Software Stack:
|-- Slides
|-- That other category
|   |-- Overview
|   |-- ...
|   `-- Applications
`-- Projects

How to name "That other category"?

@teodutu
Copy link
Member

teodutu commented Oct 16, 2023

On second thought, I think we should stick to the methodology and nest mini-libc under libc because that's what is closest to it.

@Alex-deVis
Copy link
Contributor

Alex-deVis commented Oct 16, 2023

IMO the idea of a project is something tied to the chapter as a whole (in this case to Software Stack), but I do not mind the current form as long as we keep the Assignments section for accessibility.

@teodutu
Copy link
Member

teodutu commented Oct 16, 2023

Whatever gets this merged faster.

…ining a single question

This fits the methodology according to which there should be one only one
question per file.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
@teodutu teodutu added needs-rendering The PR makes changes to the website that need to be rendered and removed needs-rendering The PR makes changes to the website that need to be rendered labels Oct 16, 2023
@github-actions
Copy link
Contributor

Alex-deVis

This comment was marked as duplicate.

Copy link
Contributor

@Alex-deVis Alex-deVis left a comment

Choose a reason for hiding this comment

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

Looks good.

@teodutu teodutu merged commit d2ca79a into open-education-hub:main Oct 16, 2023
1 of 4 checks passed
teodutu added a commit to teodutu/operating-systems that referenced this pull request Oct 23, 2023
… action

PR open-education-hub#317 restructured the repository. A part of its changes meant removing
the `chapters` directory. This commit fixes open-education-hub#340 by removing mentions to
it from the `README.md` and from the labeler action.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
teodutu added a commit that referenced this pull request Oct 23, 2023
… action

PR #317 restructured the repository. A part of its changes meant removing
the `chapters` directory. This commit fixes #340 by removing mentions to
it from the `README.md` and from the labeler action.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
teodutu pushed a commit to teodutu/operating-systems that referenced this pull request Nov 20, 2023
Updated comment to reflect actual content in code.

Signed-off-by: Tache Robert Andrei <tacheandu@gmail.com>

Propagate changes to the repo's layout to the `README.md` and labeler action

PR open-education-hub#317 restructured the repository. A part of its changes meant removing
the `chapters` directory. This commit fixes open-education-hub#340 by removing mentions to
it from the `README.md` and from the labeler action.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
gabrielmocanu pushed a commit to cs-pub-ro/operating-systems that referenced this pull request Mar 9, 2024
… action

PR open-education-hub#317 restructured the repository. A part of its changes meant removing
the `chapters` directory. This commit fixes open-education-hub#340 by removing mentions to
it from the `README.md` and from the labeler action.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
gabrielmocanu pushed a commit to cs-pub-ro/operating-systems that referenced this pull request Mar 9, 2024
… action

PR open-education-hub#317 restructured the repository. A part of its changes meant removing
the `chapters` directory. This commit fixes open-education-hub#340 by removing mentions to
it from the `README.md` and from the labeler action.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Update or new source code support / solution files area/content Content (Markdown) update area/quiz Update or new quiz question enhancement New feature or request kind/improve Improve / Update existing content / item kind/new New content / item needs-rendering The PR makes changes to the website that need to be rendered
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants