Expose exact LLM token usage for agentic queries (#2580) #713
This file contains hidden or 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
| # NRL MkDocs build (strict) — CI artifact only; does NOT publish to GitHub Pages. | |
| # | |
| # Public documentation at https://nvidia.github.io/NeMo-Retriever/ is deployed only by | |
| # nrl-docs-github-pages.yml. The Dockerfile no longer defines a `docs` target; this workflow | |
| # matches the Pages pipeline (pip + mkdocs build) instead of the legacy Docker docs stage. | |
| name: Documentation build (full pipeline, CI only) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "docs/**" | |
| - "nemo_retriever/**" | |
| - ".github/workflows/docs-deploy.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: docs-docker-full-pipeline | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| name: Build Documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| cache-dependency-path: docs/requirements.txt | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r docs/requirements.txt | |
| pip install -e ./nemo_retriever | |
| - name: Build MkDocs (NRL, strict) | |
| working-directory: docs | |
| env: | |
| SITE_URL: https://nvidia.github.io/NeMo-Retriever/ | |
| DISABLE_MKDOCS_2_WARNING: "true" | |
| run: mkdocs build -f mkdocs.yml --strict | |
| - name: Upload site artifact | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: nrl-docs-site | |
| path: docs/site |