Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for update_content (0.05 sec)

  1. scripts/contributors.py

        translation_reviewers_path = Path("./docs/en/data/translation_reviewers.yml")
    
        updated = [
            update_content(content_path=contributors_path, new_content=top_contributors),
            update_content(content_path=translators_path, new_content=top_translators),
            update_content(
                content_path=translation_reviewers_path,
                new_content=top_translations_reviewers,
            ),
        ]
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. scripts/sponsors.py

        for node in nodes:
            tiers[node.tier.monthlyPriceInDollars][node.sponsorEntity.login] = (
                node.sponsorEntity
            )
        return tiers
    
    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top