Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi all,
this PR is a followup to #37
As already mentioned in #37 I would like to shadow the /su2code/Tutorials folder for the tutorial section of the website. This provides a bit easier to understand structure and I think it is beneficial if one can simply copy the folders together to have everything "merged" to work on -> that requires _tutorial, tutorial_files (new) and /su2code/Tutorials to have the same folder structure... Much like Testcases in the code repo.
The code root has also ~15 less folders with this.
What I did: Created a tutorials_files folder following the
_<name>+<name>_filesconvention which is kinda already there. Using there the same folder structure as in '_tutorial' but adding an 'images' folder to each "leaf". Copying the tutorial images over into that structure which makes all the specific tutorial folders in the code root unnecessary. Adapting the relative paths to the images in the *md files.I tested each tutorial website locally and jekyll is so nice to complain in the terminal if it cannot find an image. So as far as I can tell nothing changes in the website that is seen... it is just under the hood that changes a bit.
Unfortunately it is not really straightforward possible to keep the markdown tutorial files and the images close togehter in on structure. I am not sure why that is but I am not alone with that idea. That's why there are the name_files directories for images and _name for the content that is processed.
Let me know what you think, Tobi