|
@@ -1,15 +1,15 @@
|
|
#!/usr/bin/env bash
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
# Copy relevant files from root to documentation
|
|
# Copy relevant files from root to documentation
|
|
-cp ./CONTRIBUTING.md documentation/source
|
|
|
|
-cp ./LICENSE.md documentation/source
|
|
|
|
-cp ./README.md documentation/source/welcome.md
|
|
|
|
|
|
+cp ../CONTRIBUTING.md ../documentation/source/CONTRIBUTING.md
|
|
|
|
+cp ../LICENSE.md ../documentation/source/LICENSE.md
|
|
|
|
+cp ../README.md ../documentation/source/welcome.md
|
|
|
|
|
|
# Editing the links to contain assets/ instead of docs/assets in the urls
|
|
# Editing the links to contain assets/ instead of docs/assets in the urls
|
|
-sed -i 's/docs\/assets/assets/g' documentation/source/welcome.md
|
|
|
|
|
|
+sed -i 's/docs\/assets/assets/g' ../documentation/source/welcome.md
|
|
|
|
|
|
# Copying the assets to the documentation
|
|
# Copying the assets to the documentation
|
|
-cd documentation && echo "Copying assets..."
|
|
|
|
|
|
+#cd ../documentation && echo "Copying assets..."
|
|
|
|
|
|
# Compiling
|
|
# Compiling
|
|
# Copying to documentation/ to docs/ for github pages
|
|
# Copying to documentation/ to docs/ for github pages
|
|
@@ -19,4 +19,4 @@ cd .. && sphinx-build -b html documentation/source docs && \
|
|
echo "Successfully generated docs"
|
|
echo "Successfully generated docs"
|
|
|
|
|
|
# Starting an http server, mimicking github pages root directory (static HTML serving from docs/)
|
|
# Starting an http server, mimicking github pages root directory (static HTML serving from docs/)
|
|
-#cd docs && python -m http.server 8080
|
|
|
|
|
|
+#cd docs && python -m http.server 8080
|