You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by hb...@apache.org on 2022/10/24 01:23:37 UTC
[age-website] branch new-web updated: Build documentation for all documentation branches (#90)
This is an automated email from the ASF dual-hosted git repository.
hbshin pushed a commit to branch new-web
in repository https://gitbox.apache.org/repos/asf/age-website.git
The following commit(s) were added to refs/heads/new-web by this push:
new 2e92a2b Build documentation for all documentation branches (#90)
2e92a2b is described below
commit 2e92a2b61adff770978c985e875f643e0c7c87d6
Author: Pieterjan De Potter <pi...@ugent.be>
AuthorDate: Mon Oct 24 03:23:32 2022 +0200
Build documentation for all documentation branches (#90)
* Remove trailing whitespaces
* Update python library versions needed to build the documentation
* Update python version
* Fetch all branches, so multiversion documentation can be build
Co-authored-by: Hanbyeol Shin / David Shin / 신한별 <76...@users.noreply.github.com>
---
.github/workflows/web-deploy.yml | 33 +++++++++++------------
requirements.txt | 56 +++++++++++++++++++++++-----------------
2 files changed, 50 insertions(+), 39 deletions(-)
diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml
index f5fa7ce..7d043e9 100644
--- a/.github/workflows/web-deploy.yml
+++ b/.github/workflows/web-deploy.yml
@@ -21,9 +21,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- - run: yarn install
+ - run: yarn install
- run: yarn run build
- - run: cp .asf.yaml ./public
+ - run: cp .asf.yaml ./public
- name: Deploy-asf-staging
uses: peaceiris/actions-gh-pages@v3
@@ -32,41 +32,42 @@ jobs:
publish_branch: asf-site
publish_dir: ./public
destination_dir: ./
-
- - uses: actions/checkout@v2
+
+ - name: Checkout master branch
+ uses: actions/checkout@v3
with:
ref: master
- - name: git log confirm
- run: git log
-
+ - name: Fetch all branches
+ run: git fetch --all
+
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
-
+
- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
- python3 -m pip install --upgrade pip
-
+ python3 -m pip install --upgrade pip
+
- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"
-
+
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
- ${{ runner.os }}-pip-
-
+ ${{ runner.os }}-pip-
+
- name: Install dependencies
run: python3 -m pip install -r ./requirements.txt
-
- - run: sphinx-multiversion docs build/html
-
+
+ - run: sphinx-multiversion docs build/html
+
- run: cp ./index.html ./build/html
- name: Documents Deploy
diff --git a/requirements.txt b/requirements.txt
index 861ae70..0ebf40f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,31 +1,41 @@
alabaster==0.7.12
-attrs==21.2.0
-Babel==2.9.1
-certifi==2021.5.30
-charset-normalizer==2.0.4
-docutils==0.16
-idna==3.2
-imagesize==1.2.0
-Jinja2==3.0.1
-markdown-it-py==1.1.0
-MarkupSafe==2.0.1
-mdit-py-plugins==0.2.8
-myst-parser==0.15.2
-packaging==21.0
-Pygments==2.10.0
-pyparsing==2.4.7
-pytz==2021.1
-PyYAML==5.4.1
-requests==2.26.0
-rstcheck==3.3.1
-snowballstemmer==2.1.0
-Sphinx==4.1.2
+Babel==2.10.3
+certifi==2022.9.24
+charset-normalizer==2.1.1
+click==8.1.3
+colorama==0.4.5
+commonmark==0.9.1
+docutils==0.17.1
+idna==3.4
+imagesize==1.4.1
+Jinja2==3.1.2
+markdown-it-py==2.1.0
+MarkupSafe==2.1.1
+mdit-py-plugins==0.3.1
+mdurl==0.1.2
+myst-parser==0.18.1
+packaging==21.3
+pydantic==1.10.2
+Pygments==2.13.0
+pyparsing==3.0.9
+pytz==2022.4
+PyYAML==6.0
+requests==2.28.1
+rich==12.6.0
+rstcheck==6.1.0
+rstcheck-core==1.0.2
+shellingham==1.5.0
+snowballstemmer==2.2.0
+Sphinx==5.2.3
sphinx-multiversion==0.2.4
-sphinx-rtd-theme==0.5.2
+sphinx-rtd-theme==1.0.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
-urllib3==1.26.6
\ No newline at end of file
+typer==0.6.1
+types-docutils==0.18.3
+typing_extensions==4.3.0
+urllib3==1.26.12