Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for langs2 (0.03 sec)

  1. .github/workflows/translate.yml

            type: string
            required: false
            default: ""
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      langs:
        runs-on: ubuntu-latest
        outputs:
          langs: ${{ steps.show-langs.outputs.langs }}
          commands: ${{ steps.show-langs.outputs.commands }}
        steps:
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:48:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. .github/workflows/build-docs.yml

          - name: Export Language Codes
            id: show-langs
            run: |
              echo "langs=$(python ./scripts/docs.py langs-json)" >> $GITHUB_OUTPUT
    
      build-docs:
        needs:
          - changes
          - langs
        if: ${{ needs.changes.outputs.docs == 'true' }}
        runs-on: ubuntu-latest
        strategy:
          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
        steps:
          - name: Dump GitHub context
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. scripts/docs.py

        shutil.rmtree(site_path, ignore_errors=True)
        langs = [
            lang.name
            for lang in get_lang_paths()
            if (lang.is_dir() and lang.name in SUPPORTED_LANGS)
        ]
        cpu_count = os.cpu_count() or 1
        process_pool_size = cpu_count * 4
        typer.echo(f"Using process pool size: {process_pool_size}")
        with Pool(process_pool_size) as p:
            p.map(build_lang, langs)
    
    
    @app.command()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  4. scripts/translate.py

    
    def get_llm_translatable() -> list[str]:
        translatable_langs = []
        langs = get_langs()
        for lang in langs:
            if lang == "en":
                continue
            lang_prompt_path = Path(f"docs/{lang}/llm-prompt.md")
            if lang_prompt_path.exists():
                translatable_langs.append(lang)
        return translatable_langs
    
    
    @app.command()
    def list_llm_translatable() -> list[str]:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top