Skip to content

Commit

Permalink
First real build
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Dikhoff committed Oct 25, 2024
1 parent 02c2945 commit 734a860
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

# Init env vars

date=`date`
workDir=`pwd`
sshCommand="ssh -v" # Add -v, -vv, or -vvv for verbose debugging
Expand All @@ -25,7 +24,6 @@ liveRepo="[email protected]:Redot-Engine/$liveRoot.git"
buildDir="html/en/$gitBranch" # TODO: implement i18n support

# Report vars and intention

echo "Building $gitCommitMessage"
echo "Live branch: $redotDocsLiveBranch"
echo "Live root: $liveRoot, live repo: $liveRepo, build dir: $buildDir, report dir: $reportDir"
Expand All @@ -36,15 +34,13 @@ rm -rf $migrateDir
rm -rf $sphinxDir
rm -rf $repoDir

# Init git

echo "Migrate Godot to Redot"
mkdir -p $migrateDir
# python migrate.py $inputDir $migrateDir
python migrate.py $inputDir $migrateDir

echo "Translate to html"
mkdir -p $sphinxDir
# sphinx-build -b html -j 4 $migrateDir $sphinxDir
sphinx-build -b html -j 4 $migrateDir $sphinxDir

echo "DUMMY FILE FOR TESTING: $date" > $sphinxDir/test.html

Expand Down Expand Up @@ -77,6 +73,7 @@ then
chmod 0644 ~/.ssh/known_hosts
chmod 0755 ~/.ssh

# Init git
git remote set-url origin [email protected]:Redot-Engine/redot-docs-live.git

echo "Setting credentials"
Expand Down
4 changes: 2 additions & 2 deletions index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:allow_comments: False

Godot Docs – *master* branch - experimental
===========================================
Godot Docs – *master* branch
============================

Welcome to the official documentation of `Godot Engine <https://godotengine.org>`__,
the free and open source community-driven 2D and 3D game engine! If you are new
Expand Down

0 comments on commit 734a860

Please sign in to comment.