Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser agnostic i18n Locale transform #12238

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Commits on Apr 7, 2024

  1. WIP: New i18n logic based on inline_parse function

    Allows to not rely on strange hacks that are RST dependant. There is
    still an issue With the warning of missing literal block
    n-peugnet committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    0ab14a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2682f8b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38c004b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a2510a View commit details
    Browse the repository at this point in the history
  5. Only output a single paragraph in RSTParser's parse_inline

    So we trim the literal suffix to avoid warnings and we add it back at the end
    n-peugnet committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    3c97944 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    66b14d3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5994ca5 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Fix last ruff error

    n-peugnet committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    0794348 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    358c611 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2024

  1. Configuration menu
    Copy the full SHA
    94b9b9d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Configuration menu
    Copy the full SHA
    17455d6 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    c10b0ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fc3f28 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe7675f View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    7f94dcf View commit details
    Browse the repository at this point in the history
  2. Add warning messages to doccument in parse_inline

    As recommended by @chrisjsewell. Because even if they are ignored by the
    i18n transform, parse_inline() could still be used in other places.
    n-peugnet committed May 8, 2024
    Configuration menu
    Copy the full SHA
    14e4833 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Fix ruff lints

    n-peugnet committed May 9, 2024
    Configuration menu
    Copy the full SHA
    c81d310 View commit details
    Browse the repository at this point in the history
  2. Apply ruff format patch

    n-peugnet committed May 9, 2024
    Configuration menu
    Copy the full SHA
    910dbd7 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Refactor to fix MyPy error

    n-peugnet committed May 10, 2024
    Configuration menu
    Copy the full SHA
    3b92bfb View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Add tests for parse_inline

    n-peugnet committed May 11, 2024
    Configuration menu
    Copy the full SHA
    8c40fb6 View commit details
    Browse the repository at this point in the history
  2. Fix ruff lints

    n-peugnet committed May 11, 2024
    Configuration menu
    Copy the full SHA
    ca54a6c View commit details
    Browse the repository at this point in the history
  3. Skip parse_inline() tests with docutils < 0.19

    As frontend.get_defaut_settings() function recommended in docutils's
    docs [1] is not there.
    [1] https://docutils.sourceforge.io/docs/dev/hacking.html#parsing-the-document
    n-peugnet committed May 11, 2024
    Configuration menu
    Copy the full SHA
    7de9a40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7500a00 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. Configuration menu
    Copy the full SHA
    e7e7fad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dba713d View commit details
    Browse the repository at this point in the history

Commits on May 19, 2024

  1. Configuration menu
    Copy the full SHA
    2c37780 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d5441d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    463ac3d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d84d4e6 View commit details
    Browse the repository at this point in the history