-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cleanup): deleted deprecated files and folders
Deleted 'docs-cactus' and 'weaver/docs' folders. Ensured that the latest contents in the above are reflected in the 'docs' folder. Updated MAINTAINERS.md file with contents from 'weaver/MAINTAINERS.md'. Deleted unnecessary 'MAINTAINERS.md' and 'CONTRIBUTING.md' in the 'weaver' folder. Fixed indentations and removed dead code in source files. Modified GitHub action to test docs build upon change Signed-off-by: VRamakrishna <[email protected]>
- Loading branch information
1 parent
de05302
commit fbc7a26
Showing
204 changed files
with
100 additions
and
8,521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ on: | |
|
||
paths: | ||
- 'docs/**' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
|
@@ -31,7 +31,7 @@ jobs: | |
|
||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Python 3.x | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ jobs: | |
docs_changed: | ||
- '.github/workflows/test_weaver-node-pkgs.yaml' | ||
- 'weaver/docs/**' | ||
- 'docs/**' | ||
unit_test_weaver_node_sdk_local: | ||
needs: check_code_changed | ||
|
@@ -132,23 +132,22 @@ jobs: | |
run: npm run test | ||
working-directory: weaver/core/identity-management/iin-agent | ||
|
||
build_docs: | ||
needs: check_code_changed | ||
if: needs.check_code_changed.outputs.docs_changed == 'true' | ||
build-docs: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ env.NODEJS_LTS_VERSION }} | ||
uses: actions/setup-node@v4.0.2 | ||
- name: Use Python 3.x | ||
uses: actions/setup-python@v4 | ||
with: | ||
node-version: ${{ env.NODEJS_LTS_VERSION }} | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: NPM INSTALL | ||
run: npm install | ||
working-directory: weaver/docs | ||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
working-directory: docs | ||
|
||
- name: Build | ||
run: npm run build | ||
working-directory: weaver/docs | ||
run: git pull && mkdocs build | ||
working-directory: docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.