Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#462 fix documentation scripts

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/sg-19_fix_documentation_scripts
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      scripts/generate_docs.sh
@@ -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
Discard