Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add algolia config for the dev guide #2508

Merged
merged 2 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ jobs:
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_scu_dev.yml
env: # Or as an environment variable
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_dg_dev.yml
env: # Or as an environment variable
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}

deploy:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ algolia:
title: 'ACP User'
- name: 'scu_dev'
title: 'SCU Developer'
- name: 'dg_dev'
title: 'Development'
sass:
sass_dir: css
style: compressed
Expand Down
1 change: 1 addition & 0 deletions algolia_config/_acp_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ algolia:
- docs/ca/dev/**/*.md
- docs/pbc/all/**/*.md
- docs/sdk/dev/**/*.md
- docs/dg/dev/**/*.md
1 change: 1 addition & 0 deletions algolia_config/_ca_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ algolia:
- docs/pbc/all/**/*.md
- docs/acp/user/**/*.md
- docs/sdk/dev/**/*.md
- docs/dg/dev/**/*.md
15 changes: 15 additions & 0 deletions algolia_config/_dg_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
algolia:
index_name: 'dg_dev'
files_to_exclude:
- index.md
- 404.md
- 403.md
- search.md
- docs/scos/user/**/*.md
- docs/scos/dev/**/*.md
- docs/scu/dev/**/*.md
- docs/fes/dev/**/*.md
- docs/pbc/all/**/*.md
- docs/acp/user/**/*.md
- docs/sdk/dev/**/*.md
- docs/ca/dev/**/*.md
1 change: 1 addition & 0 deletions algolia_config/_pbc_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ algolia:
- docs/fes/dev/**/*.md
- docs/acp/user/**/*.md
- docs/sdk/dev/**/*.md
- docs/dg/dev/**/*.md
1 change: 1 addition & 0 deletions algolia_config/_scos_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ algolia:
- docs/pbc/all/**/*.md
- docs/acp/user/**/*.md
- docs/sdk/dev/**/*.md
- docs/dg/dev/**/*.md
1 change: 1 addition & 0 deletions algolia_config/_scos_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ algolia:
- docs/pbc/all/**/*.md
- docs/acp/user/**/*.md
- docs/sdk/dev/**/*.md
- docs/dg/dev/**/*.md
1 change: 1 addition & 0 deletions algolia_config/_scu_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ algolia:
- docs/fes/dev/**/*.md
- docs/acp/user/**/*.md
- docs/sdk/dev/**/*.md
- docs/dg/dev/**/*.md
1 change: 1 addition & 0 deletions algolia_config/_sdk_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ algolia:
- docs/ca/dev/**/*.md
- docs/acp/user/**/*.md
- docs/fes/dev/**/*.md
- docs/dg/dev/**/*.md
- docs/pbc/all/**/*.md
Loading