diff --git a/.gitignore b/.gitignore index 4e807897..d3977726 100644 --- a/.gitignore +++ b/.gitignore @@ -33,5 +33,4 @@ output/ # kotovalexarian /deb_dist/ /docker/ -/docs/ /pip_dist/ diff --git a/.npmignore b/.npmignore index 2e609e81..1f2581fd 100644 --- a/.npmignore +++ b/.npmignore @@ -3,7 +3,6 @@ archivebox/ archivebox.egg-info/ build/ dist/ -docs/ etc/ .github .gitmodules diff --git a/README.md b/README.md index c9dc458c..a7d48227 100644 --- a/README.md +++ b/README.md @@ -1014,7 +1014,7 @@ Extractors take the URL of a page to archive, write their output to the filesyst -#### Build the docs, pip package, and docker image +#### Build pip package and docker image
Click to expand... @@ -1023,7 +1023,6 @@ Extractors take the URL of a page to archive, write their output to the filesyst ./bin/build.sh # or individually: -./bin/build_docs.sh ./bin/build_pip.sh ./bin/build_deb.sh ./bin/build_docker.sh @@ -1040,7 +1039,6 @@ Extractors take the URL of a page to archive, write their output to the filesyst ./bin/release.sh # or individually: -./bin/release_docs.sh ./bin/release_pip.sh ./bin/release_deb.sh ./bin/release_docker.sh diff --git a/bin/build.sh b/bin/build.sh index 894263ec..af33eb52 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -17,7 +17,6 @@ cd "$REPO_DIR" # pipenv install --dev # the order matters -./bin/build_docs.sh ./bin/build_pip.sh ./bin/build_deb.sh ./bin/build_docker.sh diff --git a/bin/build_docs.sh b/bin/build_docs.sh deleted file mode 100755 index 5fa220fb..00000000 --- a/bin/build_docs.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash - -### Bash Environment Setup -# http://redsymbol.net/articles/unofficial-bash-strict-mode/ -# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html -# set -o xtrace -set -o errexit -set -o errtrace -set -o nounset -set -o pipefail -IFS=$'\n' - -REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )" - -if [[ -f "$REPO_DIR/.venv/bin/activate" ]]; then - source "$REPO_DIR/.venv/bin/activate" -else - echo "[!] Warning: No virtualenv presesnt in $REPO_DIR.venv" -fi -cd "$REPO_DIR" - - -echo "[*] Fetching latest docs version" -cd "$REPO_DIR/docs" -git pull -cd "$REPO_DIR" - -echo "[+] Building docs" -sphinx-apidoc -o docs archivebox -cd "$REPO_DIR/docs" -make html -# open docs/_build/html/index.html to see the output -cd "$REPO_DIR" diff --git a/bin/release.sh b/bin/release.sh index 0ca018eb..ca18a96d 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -20,14 +20,12 @@ cd "$REPO_DIR" # Run all the build scripts ./bin/build_git.sh -./bin/build_docs.sh ./bin/build_pip.sh ./bin/build_deb.sh ./bin/build_docker.sh # Push relase to public repositories ./bin/release_git.sh -./bin/release_docs.sh ./bin/release_pip.sh ./bin/release_deb.sh ./bin/release_docker.sh diff --git a/bin/release_docs.sh b/bin/release_docs.sh deleted file mode 100755 index f6f57823..00000000 --- a/bin/release_docs.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash - -### Bash Environment Setup -# http://redsymbol.net/articles/unofficial-bash-strict-mode/ -# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html -# set -o xtrace -set -o errexit -set -o errtrace -set -o nounset -set -o pipefail -IFS=$'\n' - -REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )" -VERSION="$(jq -r '.version' < "$REPO_DIR/package.json")" -cd "$REPO_DIR" - - -echo "[^] Pushing docs to github" -cd docs/ -git add . -git commit -am "$VERSION release" -git push -git tag -a "v$VERSION" -m "v$VERSION" -git push origin master -git push origin --tags