Kaynağa Gözat

fix solution links

mitm001 5 yıl önce
ebeveyn
işleme
175cc7db47

+ 5 - 1
docs/modules/tutorials/pages/beginner/hello_input_system.adoc

@@ -370,7 +370,11 @@ inputManager.addMapping("Pause",  new KeyTrigger(usersPauseKey));
 TIP: Use xref:ROOT:jme3/faq.adoc#how-do-i-switch-between-third-person-and-first-person-view[flyCam.setEnabled(false);]
 
 
-include::partial$proposed-solutions-important.adoc[tags=solution;input]
+[IMPORTANT]
+====
+Link to user-proposed solutions: <<beginner/solutions.adoc#hello-input,Some proposed solutions>> +
++++<u>Be sure to try to solve them for yourself first!</u>+++
+====
 
 
 == Conclusion

+ 5 - 1
docs/modules/tutorials/pages/beginner/hello_main_event_loop.adoc

@@ -123,7 +123,11 @@ Here are some fun things to try:
 Look back at the xref:beginner/hello_node.adoc[Hello Node] tutorial if you do not remember the transformation methods for scaling, translating, and rotating.
 
 
-include::partial$proposed-solutions-important.adoc[]
+[IMPORTANT]
+====
+Link to user-proposed solutions: <<beginner/solutions.adoc#hello-update-loop,Some proposed solutions>> +
++++<u>Be sure to try to solve them for yourself first!</u>+++
+====
 
 
 == Conclusion

+ 5 - 1
docs/modules/tutorials/pages/beginner/hello_picking.adoc

@@ -382,7 +382,11 @@ Change the code as follows to simulate the player picking up objects into the in
 **  Position the nodes: The bottom left corner of the HUD is (0f,0f), and the top right corner is at (settings.getWidth(),settings.getHeight()).
 
 
-include::partial$proposed-solutions-important.adoc[]
+[IMPORTANT]
+====
+Link to user-proposed solutions: <<beginner/solutions.adoc#hello-picking,Some proposed solutions>> +
++++<u>Be sure to try to solve them for yourself first!</u>+++
+====
 
 
 

+ 0 - 17
docs/modules/tutorials/partials/proposed-solutions-important.adoc

@@ -1,17 +0,0 @@
-# tag::solution[]
-[IMPORTANT]
-====
-Link to user-proposed solutions:
-# tag::update[]
-<<beginner/solutions.adoc#hello-update-loop,Some proposed solutions>>
-# end::update[]
-# tag::input[]
-<<beginner/solutions.adoc#hello-input,Some proposed solutions>>
-# end::input[]
-# tag::picking[]
-<<beginner/solutions.adoc#hello-picking,Some proposed solutions>>
-# end::picking[]
-+
-+++<u>Be sure to try to solve them for yourself first!</u>+++
-====
-# end::solution[]