Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
2ead456
chore: remove external uploads mentions
timurbazhirov Aug 8, 2025
e3e0f91
update: add images
VsevolodX Aug 8, 2025
f38404c
update: use coords copy
VsevolodX Aug 8, 2025
ba951ff
update: use coords copy 2
VsevolodX Aug 8, 2025
d7fe18d
update: sync docs with NBs (gemini-cli) 2
VsevolodX Aug 8, 2025
07e51ef
Merge pull request #330 from Exabyte-io/update/SOF-7587
timurbazhirov Aug 9, 2025
e1b3281
Merge pull request #331 from Exabyte-io/update/SOF-7691-1
VsevolodX Aug 9, 2025
17cc467
chore: remove ExabyteML
timurbazhirov Aug 22, 2025
938b190
chore: update community programs page
timurbazhirov Aug 22, 2025
b0f1bf6
update: release version
timurbazhirov Aug 25, 2025
841b1e3
Merge pull request #329 from Exabyte-io/feature/SOF-7633
timurbazhirov Sep 27, 2025
ff8b687
chore: update HW descriptions for AWS, AZ
timurbazhirov Oct 8, 2025
ebb6429
chore: update HW descriptions for AWS, AZ
timurbazhirov Oct 8, 2025
62150e6
feat: add GCP description
timurbazhirov Oct 8, 2025
74a0b53
feat: add free tier description
timurbazhirov Oct 8, 2025
17c6652
chore: add migration page
timurbazhirov Oct 8, 2025
a988255
chore: add migration directives
timurbazhirov Oct 8, 2025
f877d1c
Merge branch 'main' into chore/SOF-7666
timurbazhirov Oct 8, 2025
5dad347
chore: add apptainer descrtipion
timurbazhirov Oct 8, 2025
ec56a31
chore: update mpirun commands
timurbazhirov Oct 8, 2025
c19dde2
Merge pull request #332 from Exabyte-io/chore/SOF-7666
timurbazhirov Oct 8, 2025
cfefb5d
Update mkdocs.yml
timurbazhirov Oct 9, 2025
83f27f3
update: colors, icons, cleanups
timurbazhirov Oct 9, 2025
954322e
Merge branch 'main' of github.com:Exabyte-io/documentation into chore…
timurbazhirov Oct 9, 2025
af91e10
update: index.md + migration
timurbazhirov Oct 9, 2025
8ccc0f4
update: index.md
timurbazhirov Oct 9, 2025
9c3956a
Merge pull request #333 from Exabyte-io/chore/SOF-7666
timurbazhirov Oct 9, 2025
8c7bbf4
update: build-tests.yml - deploy branch
timurbazhirov Oct 9, 2025
ca9f60c
fix: typo
timurbazhirov Oct 9, 2025
4b515c8
fix: formatting
timurbazhirov Oct 9, 2025
39721bb
chore: update sw directory
timurbazhirov Oct 9, 2025
d43bfc0
chore: update title
timurbazhirov Oct 9, 2025
e28711e
chore: update build-tests.yml
timurbazhirov Oct 9, 2025
f353129
chore: update edit_uri
timurbazhirov Oct 15, 2025
afedf5a
SOF-7764: instruction on how to add application container with apptai…
pranabdas Dec 6, 2025
ed93eec
Update content-highlights.md
timurbazhirov Dec 18, 2025
58b91d4
SOF-7764: how to build containerized applications with gpu support (#…
pranabdas Dec 18, 2025
147c700
chore: update the sandbox example
pranabdas Dec 19, 2025
f8e9715
Merge pull request #338 from Exabyte-io/docs/SOF-7764-3
timurbazhirov Dec 19, 2025
2ac21c9
SOF-7810: improve introduction in the landing page (#340)
pranabdas Jan 13, 2026
fcf499b
chore: update version
timurbazhirov Jan 14, 2026
c1c50f4
update doc on running jobs via web ui (#342)
pranabdas Jan 16, 2026
d459a0d
SOF-7810: update doc pages and screenshots of UI elements (#343)
pranabdas Jan 18, 2026
d49a830
SOF-7810: update platform homepage documentation (#345)
pranabdas Feb 2, 2026
2c25ed7
chore: update index.md
timurbazhirov Feb 2, 2026
48f6278
Merge pull request #341 from Exabyte-io/epic/SOF-7810
pranabdas Feb 3, 2026
3088e96
SOF-7810: tutorial on building containerized applications (#347)
pranabdas Feb 16, 2026
01cb22c
update: fix link
VsevolodX Feb 16, 2026
3621e88
Merge pull request #348 from Exabyte-io/fix/link
timurbazhirov Feb 16, 2026
f6ccc9e
Update NWChem official website link
edoapra Feb 24, 2026
46e8618
Merge pull request #349 from edoapra/patch-1
timurbazhirov Feb 25, 2026
a5c545f
fix: support widget text
timurbazhirov Feb 26, 2026
1cddb52
fix: support widget image
timurbazhirov Feb 26, 2026
ddf0e89
update: service levels md page
timurbazhirov Mar 19, 2026
f92aae3
update: restructure according to MCODE
VsevolodX Mar 19, 2026
f3730ac
update: corrections
VsevolodX Mar 19, 2026
da6c289
update: corrections 2
VsevolodX Mar 19, 2026
8088dc7
update: sort by dim
VsevolodX Mar 19, 2026
5dcf872
update: add mcode tags
VsevolodX Mar 19, 2026
5518f86
update: add Gr+N BS tutorial
VsevolodX Mar 19, 2026
7f0b53a
update: correct proeprties
VsevolodX Mar 19, 2026
db42327
update: rename
VsevolodX Mar 20, 2026
49a0420
Merge branch 'feature/SOF-7869' into feature/SOF-7869-1
VsevolodX Mar 20, 2026
f23508a
chore: periods
VsevolodX Mar 20, 2026
a5b94ce
chore: path
VsevolodX Mar 20, 2026
bebb3cd
update: add auth in jl docs
VsevolodX Mar 20, 2026
ac5d2bf
update: add images
VsevolodX Mar 20, 2026
244d591
update: add OFplus and c2-standard-60 for GCP
timurbazhirov Mar 20, 2026
c65e906
update: add images + cleanup
VsevolodX Mar 20, 2026
42cd073
update: nodect GCP
timurbazhirov Mar 20, 2026
45059b6
Merge pull request #353 from Exabyte-io/feature/SOF-7869
VsevolodX Mar 20, 2026
e740c1d
update: add gif
VsevolodX Mar 20, 2026
e30980b
Merge pull request #354 from Exabyte-io/feature/SOF-7869-1
VsevolodX Mar 20, 2026
4450387
update: google.md
timurbazhirov Mar 21, 2026
ef7cf02
chore: update the available version of espresso (#350)
pranabdas Mar 25, 2026
da66aec
update: community-programs.md
timurbazhirov Apr 11, 2026
53c3de9
chore: update mkdocs.yml
timurbazhirov Apr 27, 2026
3eff171
SOF-7874: tutorial on mattersim python ml workflow (#357)
pranabdas May 16, 2026
8e686e5
SOF-7904: implement skip and until for text-to-speech generation (#362)
pranabdas May 16, 2026
cfa0846
chore(deps): bump pymdown-extensions from 10.21.2 to 10.21.3
dependabot[bot] May 19, 2026
c4351c0
chore(deps): bump idna from 3.11 to 3.15
dependabot[bot] May 19, 2026
49d3dfa
improvement: split into guide, reference, dev - w/ Opus 4.6
timurbazhirov May 20, 2026
886ca0d
improvement: netlify build
timurbazhirov May 20, 2026
a04620b
chore: update docs to cross-reference sections
timurbazhirov May 21, 2026
be377cb
chore: update GH WF
timurbazhirov May 21, 2026
f738cad
fix: use pip install instead of venv for split site builds in CI
timurbazhirov May 21, 2026
7234e77
feat: add post-build internal link checker to CI
timurbazhirov May 21, 2026
3f7c6bb
chore: update link checking
timurbazhirov May 21, 2026
da4a5ee
chore: update link checking
timurbazhirov May 21, 2026
01aaf49
chore: cleanup links
timurbazhirov May 21, 2026
ffb3dab
fix: links
timurbazhirov May 30, 2026
8a13948
fix: links + explanation
timurbazhirov May 31, 2026
7246076
Merge pull request #369 from Exabyte-io/improvement/split-guide-refer…
timurbazhirov May 31, 2026
1f13ae2
Merge pull request #368 from Exabyte-io/improvement/split-guide-refer…
timurbazhirov May 31, 2026
c52536f
fix: build tests
timurbazhirov May 31, 2026
222e58d
chore: isolate base mkdocs file
timurbazhirov May 31, 2026
b51e17e
chore: fix test
timurbazhirov May 31, 2026
9d4a52f
chore: use --8<-- syntax for snippets inclusion
timurbazhirov May 31, 2026
2dbe5c9
chore: cleanups
timurbazhirov May 31, 2026
92b1ec9
chore: netlify build script
timurbazhirov Jun 1, 2026
d556df4
chore: cleanup
timurbazhirov Jun 1, 2026
a39b70e
Merge pull request #366 from Exabyte-io/improvement/split-guide-refer…
timurbazhirov Jun 1, 2026
6b6fec6
fix: s3-deploy.yml
timurbazhirov Jun 1, 2026
f16f6e9
fix: s3-deploy.yml
timurbazhirov Jun 1, 2026
e143460
improvement: isolate data standards
timurbazhirov Jun 1, 2026
befded4
improvement: isolate tutorials section
timurbazhirov Jun 1, 2026
baaf479
improvement: isolate cli, resources sections
timurbazhirov Jun 2, 2026
b1609b6
improvement: tutorials section refactored
timurbazhirov Jun 2, 2026
ea491a7
improvement: getting started
timurbazhirov Jun 2, 2026
2055614
improvement: cleanups
timurbazhirov Jun 2, 2026
07af7b6
improvement: tutorials via iterative agentic reviews
timurbazhirov Jun 2, 2026
b59a915
improvement: search hint
timurbazhirov Jun 2, 2026
b1ac8f1
Merge pull request #374 from Exabyte-io/improvement/refactor-tutorials
timurbazhirov Jun 2, 2026
1626166
Merge pull request #364 from Exabyte-io/dependabot/pip/pymdown-extens…
timurbazhirov Jun 2, 2026
7ba2b61
Merge pull request #365 from Exabyte-io/dependabot/pip/idna-3.15
timurbazhirov Jun 2, 2026
5ac9df5
Merge branch 'main' into improvement/review-session
timurbazhirov Jun 2, 2026
2b2358b
chore: fix links
timurbazhirov Jun 2, 2026
a8880ca
Merge pull request #376 from Exabyte-io/improvement/review-session
timurbazhirov Jun 2, 2026
852d6ad
SOF-7907: doc on contributing new application (#363)
pranabdas Jun 11, 2026
44efe9c
chore(deps): bump tornado from 6.5.5 to 6.5.6 (#377)
dependabot[bot] Jun 13, 2026
7379e4b
chore(deps): bump tornado from 6.5.6 to 6.5.7 (#378)
dependabot[bot] Jun 19, 2026
a490e46
SOF-7933: update currently available software modules
pranabdas Jun 19, 2026
5a59389
bump gh actions/checkout
pranabdas Jun 19, 2026
ec24e83
chore: minor edit
pranabdas Jun 19, 2026
22c252b
format module list one item per line for better redability
pranabdas Jun 20, 2026
ef7e767
minor edit
pranabdas Jun 20, 2026
1d2529a
Merge pull request #379 from mat3ra/docs/SOF-7933
timurbazhirov Jun 24, 2026
6ceb5ca
chore: update GitHub org references from Exabyte-io to mat3ra
timurbazhirov Jun 26, 2026
4a96e5b
chore: update contribute-new-application.md
timurbazhirov Jun 26, 2026
6488d14
Merge pull request #380 from mat3ra/chore/update-org-name
timurbazhirov Jun 26, 2026
269e93c
chore: update service-levels.md
timurbazhirov Jul 5, 2026
60ee809
update: formation energy tutorial (gemini)
VsevolodX Jul 9, 2026
90c49e6
chore: cleanup
VsevolodX Jul 9, 2026
27e04ce
update: cleanup
VsevolodX Jul 16, 2026
6ddee33
SOF-7962: update job designer documentation (#382)
pranabdas Jul 25, 2026
69fb943
chore(deps): bump pip from 23.3.2 to 26.1.2 (#387)
dependabot[bot] Jul 25, 2026
bd2628b
chore(deps): bump httplib2 from 0.22.0 to 0.32.0 (#388)
dependabot[bot] Jul 25, 2026
375368b
feat: add docs RAG agent demo (BM25 + Claude on Vertex)
timurbazhirov Jul 28, 2026
de2f292
chore: add plans folder for the docs agent initiative
timurbazhirov Jul 28, 2026
0533c8f
docs: add implementation and platform-actions plans for the docs agent
timurbazhirov Jul 31, 2026
7910bc9
docs: record the M2 evaluation results and set the quality thresholds
timurbazhirov Jul 31, 2026
f043879
docs: record the answer-quality baseline and the defects it found
timurbazhirov Jul 31, 2026
3c4ebb9
feat: add the Ask AI documentation widget
timurbazhirov Jul 31, 2026
69cb5eb
docs: mark the service and widget done
timurbazhirov Jul 31, 2026
d97c981
feat: point the widget at the deployed service and trigger index refr…
timurbazhirov Aug 1, 2026
52b8135
docs: record the deployment and what it changed about the launch deci…
timurbazhirov Aug 1, 2026
0e522fa
feat: brand the widget and link the terms and sources it shows
timurbazhirov Aug 1, 2026
0b40f1e
fix: open the widget's links in the same page
timurbazhirov Aug 1, 2026
fd52da4
style: colour the widget's links like links
timurbazhirov Aug 1, 2026
c79896f
feat: keep the conversation across page loads
timurbazhirov Aug 1, 2026
4bf41e0
fix: keep citations on the documentation build being read
timurbazhirov Aug 1, 2026
951fe70
test: cover the widget's behaviour in a browser
timurbazhirov Aug 1, 2026
e799fa2
docs: record the widget as done and the local SDK as the deploy blocker
timurbazhirov Aug 1, 2026
8f66727
docs: record the actual cause of the deploy-machine auth failures
timurbazhirov Aug 1, 2026
ded88fa
docs: mark the launch quality gate as met with replication
timurbazhirov Aug 1, 2026
d899208
Merge pull request #392 from mat3ra/feature/SOF-7992-agent-rag
timurbazhirov Aug 5, 2026
8d4690b
update: add interface + defect energy
VsevolodX Aug 5, 2026
6954372
update: images for formation energy
VsevolodX Aug 5, 2026
f70d0e0
update: corrections
VsevolodX Aug 5, 2026
6648096
update: corrections 2
VsevolodX Aug 5, 2026
ad740d6
update: correction to use relative file paths that match the current …
VsevolodX Aug 5, 2026
935945a
chore: relative
VsevolodX Aug 7, 2026
65f3301
update: tutorials images directive
VsevolodX Aug 8, 2026
7836bd6
chore: remove useless
VsevolodX Aug 8, 2026
4b4686b
Merge pull request #394 from mat3ra/feature/SOF-7969
VsevolodX Aug 15, 2026
09970ce
feat: add tutorial for twisted MoS2 bilayer band structure
VsevolodX Aug 18, 2026
839b239
update: match the article's 20 A cell, clarify the cutoff
VsevolodX Aug 19, 2026
53877d0
update: follow the graphene precedent for the MoS2 simulation entry
VsevolodX Aug 20, 2026
e823f2f
update: point the graphene tutorial at the renamed notebook
VsevolodX Aug 20, 2026
c71bf07
update: describe the 20 A cell, not the removed INTERFACE_VACUUM
VsevolodX Aug 20, 2026
f61c413
update: point the structure tutorial at the notebook it embeds
VsevolodX Aug 20, 2026
95f1cc8
Merge pull request #396 from mat3ra/feature/SOF-8014
VsevolodX Aug 21, 2026
d6f61c7
fix: index.md
timurbazhirov Aug 23, 2026
a365710
chore: index-guide.md
timurbazhirov Aug 23, 2026
2de8b60
fix: gitlab.bandit.B506 security vulnerability
anupamme Aug 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
71 changes: 58 additions & 13 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build tests and GitHub release
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
run-py-tests:
Expand All @@ -16,42 +16,87 @@ jobs:
os: ["ubuntu-24.04"]
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
# No need to run with many Py versions - as long as one is passing, we should be OK
# - "3.11"
# - "3.12"
# - "3.13"

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
lfs: true
submodules: true

- name: Setup python 3
uses: actions/setup-python@v5
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}

- name: Build documentation
uses: Exabyte-io/action-mkdocs-build@main
- name: Install dependencies
run: |
pip install -r requirements.txt

- name: Build documentation (legacy)
run: |
python -m mkdocs build -f mkdocs.yml

- name: Build split sites
run: |
python -m mkdocs build -f mkdocs-guide.yml -d site/guide
python -m mkdocs build -f mkdocs-interface.yml -d site/interface
python -m mkdocs build -f mkdocs-concepts.yml -d site/reference
python -m mkdocs build -f mkdocs-resources.yml -d site/resources
python -m mkdocs build -f mkdocs-developers.yml -d site/developers
python -m mkdocs build -f mkdocs-cli.yml -d site/command-line
python -m mkdocs build -f mkdocs-standards.yml -d site/standards

# Fix and copy subsite homepages to root of each subsite
fix_homepage() {
local src="$1"
local dst="$2"
if [ -f "$src" ]; then
sed \
-e 's|"base": ".."|"base": "."|' \
-e 's|"\.\./assets/|"./assets/|g' \
-e 's|"\.\./search/|"./search/|g' \
-e 's|"\.\./extra/|"./extra/|g' \
-e 's|"\.\./images/|"./images/|g' \
-e 's|href="\.\./|href="./|g' \
-e 's|src="\.\./|src="./|g' \
"$src" > "$dst"
fi
}
fix_homepage site/guide/index-guide/index.html site/guide/index.html
fix_homepage site/interface/index-interface/index.html site/interface/index.html
fix_homepage site/reference/index-concepts/index.html site/reference/index.html
fix_homepage site/resources/index-resources/index.html site/resources/index.html
fix_homepage site/developers/index-developers/index.html site/developers/index.html
fix_homepage site/command-line/index-cli/index.html site/command-line/index.html
fix_homepage site/standards/index-standards/index.html site/standards/index.html



- name: Check for broken internal links
run: python scripts/links/check-links.py site

publish-py-package:
needs:
- run-py-tests
runs-on: ubuntu-24.04
if: (github.repository != 'Exabyte-io/template-definitions-js-py') && (github.ref_name == 'master')
if: (github.ref_name == 'main')

steps:
- name: Checkout this repository
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: true

- name: Checkout actions repository
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: Exabyte-io/actions
repository: mat3ra/actions
token: ${{ secrets.BOT_GITHUB_TOKEN }}
path: actions

Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/docs-agent-index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Refresh the documentation agent index

# The agent answers from a snapshot of this repository's content, baked into
# its container image. When the content changes, the snapshot is stale until
# the service is rebuilt.
#
# This workflow does no ingestion of its own: all agent logic lives in the
# documentation-agent repository, which checks this repository out at the
# commit below and builds its own index. The two pipelines stay decoupled —
# this one only says "the documentation moved, here is where".

on:
push:
branches:
- main
paths:
- "lang/en/docs/**"
workflow_dispatch:

jobs:
notify:
runs-on: ubuntu-24.04
steps:
- name: Tell the agent repository to rebuild
# A token with `repo` scope on mat3ra/documentation-agent. The default
# GITHUB_TOKEN cannot dispatch across repositories.
env:
TOKEN: ${{ secrets.DOCS_AGENT_DISPATCH_TOKEN }}
run: |
if [ -z "$TOKEN" ]; then
echo "DOCS_AGENT_DISPATCH_TOKEN is not set; skipping the rebuild trigger." >&2
exit 0
fi
curl -fsS -X POST \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/mat3ra/documentation-agent/dispatches \
-d "{\"event_type\":\"documentation-updated\",\"client_payload\":{\"sha\":\"${GITHUB_SHA}\"}}"
echo "Requested a rebuild from documentation@${GITHUB_SHA}"
48 changes: 42 additions & 6 deletions .github/workflows/s3-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,58 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
lfs: true
submodules: true

- name: Set python 3 version
uses: actions/setup-python@v5
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.10"

- name: Build pages
uses: Exabyte-io/action-mkdocs-build@main
- name: Build pages (legacy)
uses: mat3ra/action-mkdocs-build@main

- name: Build split sites
run: |
python -m mkdocs build -f mkdocs-guide.yml -d site/guide
python -m mkdocs build -f mkdocs-interface.yml -d site/interface
python -m mkdocs build -f mkdocs-concepts.yml -d site/reference
python -m mkdocs build -f mkdocs-resources.yml -d site/resources
python -m mkdocs build -f mkdocs-developers.yml -d site/developers
python -m mkdocs build -f mkdocs-cli.yml -d site/command-line
python -m mkdocs build -f mkdocs-standards.yml -d site/standards

# Fix and copy subsite homepages to root of each subsite
fix_homepage() {
local src="$1"
local dst="$2"
if [ -f "$src" ]; then
sed \
-e 's|"base": ".."|"base": "."|' \
-e 's|"\.\./assets/|"./assets/|g' \
-e 's|"\.\./search/|"./search/|g' \
-e 's|"\.\./extra/|"./extra/|g' \
-e 's|"\.\./images/|"./images/|g' \
-e 's|href="\.\./|href="./|g' \
-e 's|src="\.\./|src="./|g' \
"$src" > "$dst"
fi
}
fix_homepage site/guide/index-guide/index.html site/guide/index.html
fix_homepage site/interface/index-interface/index.html site/interface/index.html
fix_homepage site/reference/index-concepts/index.html site/reference/index.html
fix_homepage site/resources/index-resources/index.html site/resources/index.html
fix_homepage site/developers/index-developers/index.html site/developers/index.html
fix_homepage site/command-line/index-cli/index.html site/command-line/index.html
fix_homepage site/standards/index-standards/index.html site/standards/index.html


- name: Deploy to Production (dev branch, old docs)
if: github.ref == 'refs/heads/dev'
uses: Reggionick/s3-deploy@v4
uses: Reggionick/s3-deploy@04c48f45adfd7a34c66348cf9cd1b6cd117cc467 # v4.0.0
with:
folder: site
bucket: docs.mat3ra.com
Expand All @@ -46,7 +81,7 @@ jobs:

- name: Deploy to Development (main branch, new docs)
if: github.ref == 'refs/heads/main'
uses: Reggionick/s3-deploy@v4
uses: Reggionick/s3-deploy@04c48f45adfd7a34c66348cf9cd1b6cd117cc467 # v4.0.0
with:
folder: site
bucket: docs-new.mat3ra.com
Expand All @@ -55,3 +90,4 @@ jobs:
invalidation: /*
no-cache: true
private: true

56 changes: 56 additions & 0 deletions .github/workflows/widget-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Ask AI widget tests

# The widget ships to every documentation page, so a regression in it is a
# regression on the whole site. These tests need no cloud access and no model
# calls: the agent service is faked at the network boundary.

on:
push:
branches:
- main
paths:
- "extra/js/docs-agent.js"
- "extra/css/docs-agent.css"
- "tests/widget/**"
- ".github/workflows/widget-tests.yml"
pull_request:
paths:
- "extra/js/docs-agent.js"
- "extra/css/docs-agent.css"
- "tests/widget/**"
- ".github/workflows/widget-tests.yml"

jobs:
playwright:
runs-on: ubuntu-24.04
defaults:
run:
working-directory: tests/widget

steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: false

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install
run: npm ci || npm install

- name: Install the browser
run: npx playwright install --with-deps chromium

- name: Run the tests
run: npx playwright test

- name: Upload the report on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: tests/widget/playwright-report
retention-days: 7
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,19 @@ service-account-key.json
scripts/*.mp3
scripts/*.mp4

# RAG demo generated index
scripts/rag/chunks.jsonl

# Pyenv
.python-version
# Agents workdir
tmp
.local-mkdocs*.yml

# Local clone of the documentation-agent service repo (see plans/)
reference/

# Widget browser tests
tests/widget/node_modules/
tests/widget/test-results/
tests/widget/playwright-report/
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "esse"]
path = data/esse
url = https://github.com/Exabyte-io/esse.git
url = https://github.com/mat3ra/esse.git
Loading