Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 765 for script (0.05 seconds)

  1. docs/ru/docs/_llm-test.md

    # Тестовый файл LLM { #llm-test-file }
    
    Этот документ проверяет, понимает ли <abbr title="Large Language Model - Большая языковая модель">LLM</abbr>, переводящая документацию, `general_prompt` в `scripts/translate.py` и языковой специфичный промпт в `docs/{language code}/llm-prompt.md`. Языковой специфичный промпт добавляется к `general_prompt`.
    
    Тесты, добавленные здесь, увидят все создатели языковых специфичных промптов.
    
    Использование:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  2. docs/ru/docs/virtual-environments.md

    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ .venv\Scripts\Activate.ps1
    ```
    
    </div>
    
    ////
    
    //// tab | Windows Bash
    
    Или если вы используете Bash для Windows (например, [Git Bash](https://gitforwindows.org/)):
    
    <div class="termy">
    
    ```console
    $ source .venv/Scripts/activate
    ```
    
    </div>
    
    ////
    
    /// tip | Подсказка
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 33.5K bytes
    - Click Count (0)
  3. scripts/tests/test_translation_fixer/test_complex_doc/test_compex_doc.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_complex_doc/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc.md")],
        indirect=True,
    )
    def test_fix(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 902 bytes
    - Click Count (0)
  4. docs/zh/docs/_llm-test.md

    # LLM 测试文件 { #llm-test-file }
    
    本文用于测试用于翻译文档的 <abbr title="Large Language Model - 大型语言模型">LLM</abbr> 是否理解 `scripts/translate.py` 中的 `general_prompt` 以及 `docs/{language code}/llm-prompt.md` 中的语言特定提示。语言特定提示会追加到 `general_prompt` 之后。
    
    这里添加的测试会被所有语言特定提示的设计者看到。
    
    用法如下:
    
    * 准备语言特定提示——`docs/{language code}/llm-prompt.md`。
    * 将本文重新翻译为你的目标语言(例如使用 `translate.py` 的 `translate-page` 命令)。这会在 `docs/{language code}/docs/_llm-test.md` 下创建翻译。
    * 检查翻译是否正确。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/packaging/deb/packaging.properties

    #
    
    # Environment file
    packaging.env.file=/etc/default/fess
    
    # Simple marker to check that properties are correctly overridden
    packaging.type=deb
    
    # Custom header for package scripts
    packaging.scripts.header=#!/bin/sh${line.separator}set -e
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 401 bytes
    - Click Count (0)
  6. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_number_mismatch.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_code_blocks/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  7. .github/workflows/build-docs.yml

            run: uv sync --locked --no-dev --group docs
          - name: Update Languages
            run: uv run ./scripts/docs.py update-languages
          - uses: actions/cache@v5
            with:
              key: mkdocs-cards-${{ matrix.lang }}-${{ github.ref }}
              path: docs/${{ matrix.lang }}/.cache
          - name: Build Docs
            run: uv run ./scripts/docs.py build-lang ${{ matrix.lang }}
          - uses: actions/upload-artifact@v7
            with:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 14 15:01:34 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  8. .github/workflows/translate.yml

          - name: Export Language Codes
            id: show-langs
            run: |
              echo "langs=$(uv run ./scripts/translate.py llm-translatable-json)" >> $GITHUB_OUTPUT
              echo "commands=$(uv run ./scripts/translate.py commands-json)" >> $GITHUB_OUTPUT
            env:
              LANGUAGE: ${{ github.event.inputs.language }}
              COMMAND: ${{ github.event.inputs.command }}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 15:36:56 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. scripts/format.sh

    #!/usr/bin/env bash
    set -x
    
    ruff check fastapi tests docs_src scripts --fix
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Aug 17 03:59:06 GMT 2024
    - 119 bytes
    - Click Count (0)
  10. .github/workflows/deploy-docs.yml

          - name: Deploy Docs Status Error
            if: failure()
            run: uv run ./scripts/deploy_docs_status.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
              RUN_ID: ${{ github.run_id }}
              STATE: "error"
          - name: Comment Deploy
            run: uv run ./scripts/deploy_docs_status.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 03 00:12:02 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top