1
0
Fork 0

Remove docs

This commit is contained in:
Alex Kotov 2024-01-04 20:13:03 +04:00
parent 6eb616e097
commit 2bd9efab50
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
7 changed files with 1 additions and 66 deletions

1
.gitignore vendored
View File

@ -33,5 +33,4 @@ output/
# kotovalexarian
/deb_dist/
/docker/
/docs/
/pip_dist/

View File

@ -3,7 +3,6 @@ archivebox/
archivebox.egg-info/
build/
dist/
docs/
etc/
.github
.gitmodules

View File

@ -1014,7 +1014,7 @@ Extractors take the URL of a page to archive, write their output to the filesyst
</details>
#### Build the docs, pip package, and docker image
#### Build pip package and docker image
<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
# 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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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