Skip to content

chore: add wiki v2 pages#179

Merged
Apricot-S merged 8 commits intomasterfrom
add-wiki-v2-pages
Feb 5, 2026
Merged

chore: add wiki v2 pages#179
Apricot-S merged 8 commits intomasterfrom
add-wiki-v2-pages

Conversation

@Nihisil
Copy link
Contributor

@Nihisil Nihisil commented Feb 5, 2026

Closes #119

  • I didn't change v1 page names, so old links will continue to work
  • Added v2 version links to sidebar and home page
  • Updated formatting of v2 pages a bit
  • Added example of ura dora
  • Changed handle calculation/shanten to static method
  • Checked that all wiki examples are runnable

Also I deployed this branch to test all changes before merging to master: https://github.com/MahjongRepository/mahjong/wiki

It was required to make sure that wiki changes properly updated, since changes were huge. For minor wiki updates we don't need that, we can deploy them from master after PR.

@Nihisil Nihisil requested a review from Apricot-S February 5, 2026 08:37
@Nihisil Nihisil changed the title Add wiki v2 pages chore: add wiki v2 pages Feb 5, 2026
@Nihisil Nihisil added this to the v2.0.0 milestone Feb 5, 2026
tiles,
win_tile,
melds=melds,
dora_indicators=TilesConverter.string_to_136_array(honors='44447777'),
Copy link
Collaborator

@Apricot-S Apricot-S Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of 8 dora, please make it 4 dora and 4 ura dora.

To match the number of kans, it may be better to use 5 doras each. However, this is just an example, so I'm not sure if it's necessary to go that far.
In the current example, there are also eight of the same tile (7z).

What do you think?

Copy link
Contributor Author

@Nihisil Nihisil Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think just adding ura dora is fine for now

@Nihisil Nihisil requested a review from Apricot-S February 5, 2026 15:13
Copy link
Collaborator

@Apricot-S Apricot-S left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Apricot-S Apricot-S merged commit 5e21198 into master Feb 5, 2026
8 checks passed
@Apricot-S Apricot-S deleted the add-wiki-v2-pages branch February 5, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task] Create the v2 Wiki based on the v1 Wiki

2 participants