-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge
dev
into main
to update the documentation and add doc-gener…
…ating shell scripts (#40) * doc: update the documentation; * doc: update the documentation;
- Loading branch information
Showing
5 changed files
with
87 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Created by Wenjie Du <wenjay.du@gmail.com> | ||
# License: GPL-v3 | ||
|
||
# This shell script is created to help generate PyPOTS html documentation for review before publishing. | ||
|
||
make html && \ | ||
python -m http.server 8099 -d _build/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Created by Wenjie Du <wenjay.du@gmail.com> | ||
# License: GPL-v3 | ||
|
||
# This shell script is created to help generate PyPOTS documentation. | ||
|
||
git clone https://github.com/WenjieDu/PyPOTS pypots_latest && rm -rf pypots_latest/pypots/tests | ||
|
||
# Generate the docs according to the latest code on branch main | ||
SPHINX_APIDOC_OPTIONS=members,undoc-members,show-inheritance sphinx-apidoc pypots_latest -o pypots_latest/rst | ||
|
||
# Only save the files we need. | ||
cp pypots_latest/rst/pypots.classification.rst \ | ||
pypots_latest/rst/pypots.clustering.rst \ | ||
pypots_latest/rst/pypots.data.rst \ | ||
pypots_latest/rst/pypots.forecasting.rst \ | ||
pypots_latest/rst/pypots.imputation.rst \ | ||
pypots_latest/rst/pypots.rst \ | ||
pypots_latest/rst/pypots.utils.rst \ | ||
. | ||
|
||
# Delete the useless files. | ||
rm -rf pypots_latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters