-
Notifications
You must be signed in to change notification settings - Fork 2
コードブロック後の修飾の抽出を厳密化 #9
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref. [1] で発見された問題。コードブロック後に改行を挟まずに文章を続け るとその文章がコード修飾指定のセクションとして抽出されて消失する問題。 対処法として改行を挿入する [2, 3] ことで回避できるが、改行がなくても正 しく表示されるようにしたい。ここでは、コード修飾の指定についてより厳密 な形式で抽出を行い、誤って関係ない物を抽出することを防ぐ [4]。 この変更のテストの過程で、既存のコード修飾の誤りが発見されたが対処した [5]。また、他にも消失している記述 [6] が発見されたが、[6] はこの変更に より自動的に修正されるので対処はしていない。 References: [1] cpprefjp/site#1362 (comment) [2] cpprefjp/site@c747f4a [3] cpprefjp/site@5259ff6 [4] cpprefjp#8 (comment) [5] cpprefjp/site@ebf8c8f [6] https://github.com/cpprefjp/site/blob/ebf8c8fd705a194adb7b3f83786dad9c843d143b/reference/generator/generator/iterator/op_increment.md?plain=1#L27
ありがとうございます!マージしてしまっていいでしょうか? |
OKです! よろしくおねがいします |
ありがとうございます! |
あ、 |
cpprefjp/siteの表示崩れチェッカーに検出を追加しておきます |
本当ですね…すみません。 |
追記: 手元で見たら動作確認のための再変換だけ実行開始して放置した状態だったので、すぐ変化を確認できました。取り敢えずこれで全てのはずです。 |
akinomyoga
referenced
this pull request
in cpprefjp/site
Dec 11, 2024
@akinomyoga 対応ありがとうございます! これはCIでのエラーチェックはしなくていい気がしてきました。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
説明は commit message に書いていますのでそちらをご参照下さい。
また、この修正の後は #8 における
qualified_fenced_code.py
とfix_display_error.py
の優先度 28 & 29 (つまり適用順序) を逆転したらfix_display_error.py
を単純化できるのではないかと思っています (ちゃんと確かめていないですが…)。