Skip to content

Support Toki Pona #105

Description

@object-Object

https://github.com/FallingColors/HexMod/actions/runs/31510000119/job/93841252641?pr=1248

[INFO] Loading hexdoc.
    Python:         3.11.15 (linux)
    hexdoc:         1!0.1.0a40
    plugins:        minecraft-1.20.1.1.0.dev1, hexcasting-0.11.3.1.0
    mod_plugin:     hexcasting-0.11.3.1.0
    cwd:            /home/runner/work/HexMod/HexMod
    props_dir:      ./doc
    mod_templates:  ./doc/src/hexdoc_hexcasting/_templates
    site_url:       https://hexcasting.hexxy.media/
  [INFO] Exporting resources.
  [INFO] Loading and rendering textures to _site/src/docs/v/latest/1248/merge.
  ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
  │ /opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/hexdoc/ │
  │ cli/ci.py:50 in build                                                        │
  │                                                                              │
  │    47 │   │   pages_url = get_pages_url(env.repo)                            │
  │    48 │   os.environ["GITHUB_PAGES_URL"] = pages_url                         │
  │    49 │                                                                      │
  │ ❱  50 │   site_path = hexdoc_app.build(                                      │
  │    51 │   │   Path("_site/src/docs"),                                        │
  │    52 │   │   clean=True,                                                    │
  │    53 │   │   branch=env.branch,                                             │
  │                                                                              │
  │ /opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/hexdoc/ │
  │ cli/app.py:212 in build                                                      │
  │                                                                              │
  │   209 │   │                                                                  │
  │   210 │   │   book_id, book_data = book_plugin.load_book_data(props.book_id, │
  │   211 │   │                                                                  │
  │ ❱ 212 │   │   all_i18n = I18n.load_all(                                      │
  │   213 │   │   │   loader,                                                    │
  │   214 │   │   │   enabled=book_plugin.is_i18n_enabled(book_data),            │
  │   215 │   │   )                                                              │
  │                                                                              │
  │ /opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/hexdoc/ │
  │ minecraft/i18n.py:132 in load_all                                            │
  │                                                                              │
  │   129 │   │   │   lang = lang_id.path                                        │
  │   130 │   │   │   if not langcodes.tag_is_valid(lang):                       │
  │   131 │   │   │   │   modid = resource_dir.modid or lang_id.namespace        │
  │ ❱ 132 │   │   │   │   raise ValueError(                                      │
  │   133 │   │   │   │   │   textwrap.dedent(f"""\                              │
  │   134 │   │   │   │   │   │   Attempted to load invalid lang (provided by {m │
  │   135 │   │   │   │   │   │   Resource dir: {resource_dir.path}              │
  ╰──────────────────────────────────────────────────────────────────────────────╯
  ValueError: Attempted to load invalid lang (provided by hexcasting): tok
  Resource dir: /home/runner/work/HexMod/HexMod/doc/../Common/src/main/resources

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions