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

Introduction tells you to clone the repository instead of using the generated exercises zip from the website #129

Open
michielp1807 opened this issue Aug 27, 2024 · 4 comments

Comments

@michielp1807
Copy link
Contributor

michielp1807 commented Aug 27, 2024

The introduction tells you to clone the repository to get access to the exercises. However, if you do this, the paths described in the exercises do not match the folder layout, as the exercises assume the folder layout of the generated exercises zip from the main page of the website.

For example, for Exercise 2.3.1, it says to follow the instructions of exercises/2-foundations-of-rust/3-advanced-syntax/1-error-propagation/src/main.rs. However, the exercise is actually located in content/mods/A-foundations/topics/optionals-errors/exercises/error-propagation/src/main.rs in the cloned repository. And similarly for the other exercises.

@hdoordt
Copy link
Member

hdoordt commented Aug 27, 2024

This might be more of a documentation issue, because this is intentional: the paths refer to the exercise structure in the generated exercise package. Modmod is used to take the content in the content folder and put it in the right place according to the given track specification. You can download the exercise package corresponding to your track here: https://teach-rs.trifectatech.org/

@hdoordt hdoordt closed this as completed Aug 27, 2024
@hdoordt hdoordt closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
@michielp1807
Copy link
Contributor Author

Ah right, that makes sense. We might need to change the introduction, which currently tells you to clone the GitHub repo instead of downloading the generated exercise package.

@hdoordt
Copy link
Member

hdoordt commented Aug 27, 2024

Good call. Reopening this again

@hdoordt hdoordt reopened this Aug 27, 2024
@hdoordt
Copy link
Member

hdoordt commented Sep 1, 2024

@michielp1807 can you update the title to match the actual issue of the introduction content not reflecting reality?

@michielp1807 michielp1807 changed the title The exercise paths do not match the folder structure Introduction tells you to clone the repository instead of using the generated exercises zip from the website Sep 2, 2024
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

No branches or pull requests

2 participants