Remove docs
This commit is contained in:
parent
6eb616e097
commit
2bd9efab50
7 changed files with 1 additions and 66 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -33,5 +33,4 @@ output/
|
||||||
# kotovalexarian
|
# kotovalexarian
|
||||||
/deb_dist/
|
/deb_dist/
|
||||||
/docker/
|
/docker/
|
||||||
/docs/
|
|
||||||
/pip_dist/
|
/pip_dist/
|
||||||
|
|
|
@ -3,7 +3,6 @@ archivebox/
|
||||||
archivebox.egg-info/
|
archivebox.egg-info/
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
docs/
|
|
||||||
etc/
|
etc/
|
||||||
.github
|
.github
|
||||||
.gitmodules
|
.gitmodules
|
||||||
|
|
|
@ -1014,7 +1014,7 @@ Extractors take the URL of a page to archive, write their output to the filesyst
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
#### Build the docs, pip package, and docker image
|
#### Build pip package and docker image
|
||||||
|
|
||||||
<details><summary><i>Click to expand...</i></summary>
|
<details><summary><i>Click to expand...</i></summary>
|
||||||
|
|
||||||
|
@ -1023,7 +1023,6 @@ Extractors take the URL of a page to archive, write their output to the filesyst
|
||||||
./bin/build.sh
|
./bin/build.sh
|
||||||
|
|
||||||
# or individually:
|
# or individually:
|
||||||
./bin/build_docs.sh
|
|
||||||
./bin/build_pip.sh
|
./bin/build_pip.sh
|
||||||
./bin/build_deb.sh
|
./bin/build_deb.sh
|
||||||
./bin/build_docker.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
|
./bin/release.sh
|
||||||
|
|
||||||
# or individually:
|
# or individually:
|
||||||
./bin/release_docs.sh
|
|
||||||
./bin/release_pip.sh
|
./bin/release_pip.sh
|
||||||
./bin/release_deb.sh
|
./bin/release_deb.sh
|
||||||
./bin/release_docker.sh
|
./bin/release_docker.sh
|
||||||
|
|
|
@ -17,7 +17,6 @@ cd "$REPO_DIR"
|
||||||
# pipenv install --dev
|
# pipenv install --dev
|
||||||
|
|
||||||
# the order matters
|
# the order matters
|
||||||
./bin/build_docs.sh
|
|
||||||
./bin/build_pip.sh
|
./bin/build_pip.sh
|
||||||
./bin/build_deb.sh
|
./bin/build_deb.sh
|
||||||
./bin/build_docker.sh
|
./bin/build_docker.sh
|
||||||
|
|
|
@ -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"
|
|
|
@ -20,14 +20,12 @@ cd "$REPO_DIR"
|
||||||
|
|
||||||
# Run all the build scripts
|
# Run all the build scripts
|
||||||
./bin/build_git.sh
|
./bin/build_git.sh
|
||||||
./bin/build_docs.sh
|
|
||||||
./bin/build_pip.sh
|
./bin/build_pip.sh
|
||||||
./bin/build_deb.sh
|
./bin/build_deb.sh
|
||||||
./bin/build_docker.sh
|
./bin/build_docker.sh
|
||||||
|
|
||||||
# Push relase to public repositories
|
# Push relase to public repositories
|
||||||
./bin/release_git.sh
|
./bin/release_git.sh
|
||||||
./bin/release_docs.sh
|
|
||||||
./bin/release_pip.sh
|
./bin/release_pip.sh
|
||||||
./bin/release_deb.sh
|
./bin/release_deb.sh
|
||||||
./bin/release_docker.sh
|
./bin/release_docker.sh
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in a new issue