Skip to content

Commit

Permalink
docs: thumbnails fix (#6033)
Browse files Browse the repository at this point in the history
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
  • Loading branch information
JoanFM committed Aug 24, 2023
1 parent 87aeff0 commit 23c7b8c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
git fetch origin
export NUM_RELEASES=2 # only 2 last tags to save build time
bash makedoc.sh local-only
netlify deploy --dir=_build/dirhtml --alias=${{ env.BRANCH_NAME }} --message="Deploying docs to ${{ env.BRANCH_NAME }} branch"
netlify deploy --dir=./docs/_build/dirhtml --alias=${{ env.BRANCH_NAME }} --message="Deploying docs to ${{ env.BRANCH_NAME }} branch"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
Expand Down
2 changes: 1 addition & 1 deletion docs/jina-ai-cloud/login.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Login & Token Management

To use Jina AI Cloud, you need to log in, either via a GitHub or Google account. This section describes how to log in Jina AI Cloud and manage the personal access token. You can do it via webpage, via CLI or via Python API.
To use Jina AI Cloud, you need to log in, either via a GitHub or Google account. This section describes how to log in Jina AI Cloud and manage the personal access token. You can do it via webpage, CLI or Python API.

## via Webpage

Expand Down
2 changes: 2 additions & 0 deletions docs/makedoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ if [[ $1 == "local-only" ]]; then
ghcr.io/jina-ai/protoc-gen-doc --doc_opt=markdown,docs.md

make dirhtml
mkdir -p _build/dirhtml/.github
cp -r ../.github/images _build/dirhtml/.github
else
export NUM_RELEASES=${NUM_RELEASES:-10}
export DEFAULT_BRANCH='master'
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sphinx-autodoc-typehints==1.18.3
sphinx_copybutton
sphinx-notfound-page==0.7.1
gitpython==3.1.30
sphinx-sitemap
sphinx-sitemap==2.5.0
sphinxext-opengraph
furo
myst-parser
Expand Down

0 comments on commit 23c7b8c

Please sign in to comment.