Skip to content

Commit 23c7b8c

Browse files
author
Joan Fontanals
authored
docs: thumbnails fix (#6033)
Signed-off-by: Joan Fontanals Martinez <[email protected]>
1 parent 87aeff0 commit 23c7b8c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/label-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
git fetch origin
5252
export NUM_RELEASES=2 # only 2 last tags to save build time
5353
bash makedoc.sh local-only
54-
netlify deploy --dir=_build/dirhtml --alias=${{ env.BRANCH_NAME }} --message="Deploying docs to ${{ env.BRANCH_NAME }} branch"
54+
netlify deploy --dir=./docs/_build/dirhtml --alias=${{ env.BRANCH_NAME }} --message="Deploying docs to ${{ env.BRANCH_NAME }} branch"
5555
env:
5656
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
5757
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

docs/jina-ai-cloud/login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Login & Token Management
22

3-
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.
3+
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.
44

55
## via Webpage
66

docs/makedoc.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ if [[ $1 == "local-only" ]]; then
1111
ghcr.io/jina-ai/protoc-gen-doc --doc_opt=markdown,docs.md
1212

1313
make dirhtml
14+
mkdir -p _build/dirhtml/.github
15+
cp -r ../.github/images _build/dirhtml/.github
1416
else
1517
export NUM_RELEASES=${NUM_RELEASES:-10}
1618
export DEFAULT_BRANCH='master'

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sphinx-autodoc-typehints==1.18.3
77
sphinx_copybutton
88
sphinx-notfound-page==0.7.1
99
gitpython==3.1.30
10-
sphinx-sitemap
10+
sphinx-sitemap==2.5.0
1111
sphinxext-opengraph
1212
furo
1313
myst-parser

0 commit comments

Comments
 (0)