You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated `make-doc.sh` to ensure correct paths for Sphinx documentation generation.
- Ensured `sphinx-apidoc` generates documentation from the correct source directory.
- Added `make -C doc html` to build the HTML documentation in the correct directory.
Copy file name to clipboardExpand all lines: ci/docs.sh
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,13 @@ sudo make
19
19
20
20
# make documentation
21
21
show-green "Building documentation"
22
-
./make-doc.sh
22
+
cd doc
23
+
make html
24
+
cd ..
23
25
mkdir deploy
24
26
cp -r doc/_build/html deploy/sugar3
25
27
touch deploy/.nojekyll
26
28
# create an index.html so that users don't become confused
27
29
show-green "Writing index.html"
28
30
echo"<h1>Page Moved</h1>"> deploy/index.html
29
-
echo"<p>We have moved this page to <a href=\"https://github.com/sugarlabs/sugar-docs/blob/master/README.md\">GitHub</a>.</p>">> deploy/index.html
30
-
echo"<p>How did you get here? Please <a href=\"https://github.com/sugarlabs/sugar-docs/issues\">report</a> any lingering links.</p>">> deploy/index.html
31
-
32
-
show-green "Done"
31
+
echo"<p>We have moved this page to <a href=\"https://github.com/sugarlabs/sugar-docs/blob/master/README.md\">GitHub</a>.</p>">> deploy/index.html
0 commit comments