Pārlūkot izejas kodu

fix broken tutorials

mitm001 5 gadi atpakaļ
vecāks
revīzija
fc787e5c07

+ 6 - 0
.github/workflows/main.yml

@@ -104,6 +104,12 @@ jobs:
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
+    # Antora will not copy folders outside the family tree so we move the
+    # tutorials into the build/site folder so the peaceiris action will commit
+    # the files.
+    - name: Copy tutorials to build
+      run: cp -r ./docs/modules/ROOT/resources/tutorials ./build/site/
+      
     # Commit changes to the gh-pages branch. Antora requires an empty
     # '.nojekyll' be present in the branch due to certain directories starting
     # with an underscore. This action has an option, set by default, to add that

+ 2 - 2
docs/modules/ROOT/pages/jme3/math_for_dummies.adoc

@@ -10,9 +10,9 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 == jMonkeyEngine3 Math for Dummies
 
-+++
+++++
 <iframe src=https://wiki.jmonkeyengine.org/tutorials/math width="100%" height="850px" alt=""></iframe>
-+++
+++++
 
 //iframe::https://wiki.jmonkeyengine.org/tutorials/math[width="100%", height="850px", alt="", scroll="true",border="true",align="false"]
 

+ 2 - 2
docs/modules/ROOT/pages/jme3/scenegraph_for_dummies.adoc

@@ -10,9 +10,9 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 == jMonkeyEngine3 Scene Graph for Dummies
 
-+++
+++++
 <iframe src=https://wiki.jmonkeyengine.org/tutorials/scenegraph width="100%" height="850px" alt=""></iframe>
-+++
+++++
 
 //iframe::https://wiki.jmonkeyengine.org/tutorials/scenegraph[width="100%", height="850px", alt="", scroll="true",border="true",align="false"]