From a02ebd10c87c5de39489227fe174856d12d324a5 Mon Sep 17 00:00:00 2001 From: Stockless Date: Fri, 6 Dec 2024 23:16:52 -0300 Subject: [PATCH 1/4] Limited size of large assets in light mode --- docs/src/how-to/5-contribute-to-koma.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/src/how-to/5-contribute-to-koma.md b/docs/src/how-to/5-contribute-to-koma.md index 13f2abd74..68f994022 100644 --- a/docs/src/how-to/5-contribute-to-koma.md +++ b/docs/src/how-to/5-contribute-to-koma.md @@ -24,7 +24,9 @@ If you try to commit or generate a pull request at this point, you will get an ` To create this fork, go to the official [KomaMRI repository](https://github.com/JuliaHealth/KomaMRI.jl) and follow the steps below: -![](../assets/create-fork-step1.png) +```@raw html + +``` ![](../assets/create-fork-step2.png) ### 3. Access your GitHub account in VSCode @@ -100,7 +102,9 @@ To create this new branch, go to **Source Control** -> **...** -> **Branch** -> This will open a menu to select an starting point for your branch. Select `my-fork/master` as your starting point, and give it the name `my-new-feature`. -![](../assets/create-branch-step1.png) +```@raw html + +``` ![](../assets/create-branch-step2.png) >💡In your VScode terminal use `git status` to check if your branch is correctly created. Your branch should be listed at the top of the output. From e18a3dcb0704933c1cae1aa1e25240f30af287f0 Mon Sep 17 00:00:00 2001 From: Stockless Date: Fri, 6 Dec 2024 23:16:52 -0300 Subject: [PATCH 2/4] Limited size of large assets in light mode --- docs/src/how-to/5-contribute-to-koma.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/src/how-to/5-contribute-to-koma.md b/docs/src/how-to/5-contribute-to-koma.md index 13f2abd74..68f994022 100644 --- a/docs/src/how-to/5-contribute-to-koma.md +++ b/docs/src/how-to/5-contribute-to-koma.md @@ -24,7 +24,9 @@ If you try to commit or generate a pull request at this point, you will get an ` To create this fork, go to the official [KomaMRI repository](https://github.com/JuliaHealth/KomaMRI.jl) and follow the steps below: -![](../assets/create-fork-step1.png) +```@raw html + +``` ![](../assets/create-fork-step2.png) ### 3. Access your GitHub account in VSCode @@ -100,7 +102,9 @@ To create this new branch, go to **Source Control** -> **...** -> **Branch** -> This will open a menu to select an starting point for your branch. Select `my-fork/master` as your starting point, and give it the name `my-new-feature`. -![](../assets/create-branch-step1.png) +```@raw html + +``` ![](../assets/create-branch-step2.png) >💡In your VScode terminal use `git status` to check if your branch is correctly created. Your branch should be listed at the top of the output. From 87b7e29158d40f77a218040a6def57cb092d0bff Mon Sep 17 00:00:00 2001 From: Stockless Date: Thu, 12 Dec 2024 19:02:09 -0300 Subject: [PATCH 3/4] fixed centering assets in light mode --- docs/src/assets/center-images.css | 10 ++++------ docs/src/how-to/5-contribute-to-koma.md | 9 ++------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/docs/src/assets/center-images.css b/docs/src/assets/center-images.css index b85de4403..e8940f978 100644 --- a/docs/src/assets/center-images.css +++ b/docs/src/assets/center-images.css @@ -1,7 +1,5 @@ img { - display: block; - margin-left: auto; - margin-right: auto; - max-width: none; - height: auto; - } \ No newline at end of file + display: block; /* Ensures the image behaves as a block element */ + margin-left: auto; + margin-right: auto; +} \ No newline at end of file diff --git a/docs/src/how-to/5-contribute-to-koma.md b/docs/src/how-to/5-contribute-to-koma.md index 68f994022..8637f1fb7 100644 --- a/docs/src/how-to/5-contribute-to-koma.md +++ b/docs/src/how-to/5-contribute-to-koma.md @@ -24,9 +24,7 @@ If you try to commit or generate a pull request at this point, you will get an ` To create this fork, go to the official [KomaMRI repository](https://github.com/JuliaHealth/KomaMRI.jl) and follow the steps below: -```@raw html - -``` +![](../assets/create-fork-step1.png) ![](../assets/create-fork-step2.png) ### 3. Access your GitHub account in VSCode @@ -101,10 +99,7 @@ To create this new branch, go to **Source Control** -> **...** -> **Branch** -> ``` This will open a menu to select an starting point for your branch. Select `my-fork/master` as your starting point, and give it the name `my-new-feature`. - -```@raw html - -``` +![](../assets/create-branch-step1.png) ![](../assets/create-branch-step2.png) >💡In your VScode terminal use `git status` to check if your branch is correctly created. Your branch should be listed at the top of the output. From ce1fa47c9cb2308f34c00a6fab5ac242af64b6b6 Mon Sep 17 00:00:00 2001 From: Stockless Date: Thu, 12 Dec 2024 19:19:14 -0300 Subject: [PATCH 4/4] resized large assets --- docs/src/how-to/5-contribute-to-koma.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/how-to/5-contribute-to-koma.md b/docs/src/how-to/5-contribute-to-koma.md index 8637f1fb7..7507d0ad8 100644 --- a/docs/src/how-to/5-contribute-to-koma.md +++ b/docs/src/how-to/5-contribute-to-koma.md @@ -113,7 +113,7 @@ To do this, in VScode go to the Source Control panel in the Activity Bar. Assuming you are currently in your `my-new-feature` branch, the Source Control panel should show your changes to the project and the option to create a commit message. ```@raw html - + ``` If you hove over the `Changes` tab, it should show a `+` icon. Press it to stage all changes in the project. @@ -130,7 +130,7 @@ If you want to send your commited new version of the repository, you can create To create this pull request, in VScode, go to the `GitHub Pull Request` panel in the Activity Bar and hove over the `Pull request` tab. This should show a Create pull request icon to press. ```@raw html - + ``` In the `Create` tab that appears, select `JuliaHealth/master` as the base and the branch you are working with to merge. @@ -138,7 +138,7 @@ In the `Create` tab that appears, select `JuliaHealth/master` as the base and th To finish your pull request, give it a name with a clear mention of the subject of the contribution you made, and a description that explains the issue or feature you are addresing in your branch, and press the Create button. ```@raw html - + ``` >💡 **Tips for a successful Pull Request:** > - Try to address one issue or feature per pull request to make it easier for reviewers.