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

chore(zh-tw): introducing new markdownlint rules #23150

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Aug 19, 2024

Description

introducing new markdownlint rules

Motivation

We've applied those rules in en-us.

@yin1999 yin1999 requested a review from a team as a code owner August 19, 2024 03:05
@yin1999 yin1999 requested review from t7yang and removed request for a team August 19, 2024 03:05
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Aug 19, 2024
Copy link
Contributor

Preview URLs (11 pages)
Flaws (968)

URL: /zh-TW/docs/Web/SVG/Tutorial/Paths
Title: 路徑
Flaw count: 22

  • macros:
    • /zh-TW/docs/Web/SVG/Tutorial/Texts does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Texts
    • /zh-TW/docs/Web/SVG/Tutorial/Basic_Transformations does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Basic_Transformations
    • /zh-TW/docs/Web/SVG/Tutorial/Clipping_and_masking does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Clipping_and_masking
    • /zh-TW/docs/Web/SVG/Tutorial/Other_content_in_SVG does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Other_content_in_SVG
    • /zh-TW/docs/Web/SVG/Tutorial/Filter_effects does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Filter_effects
    • and 9 more flaws omitted
  • images:
    • File not present on disk, an empty file, or not an image
    • File not present on disk, an empty file, or not an image
    • File not present on disk, an empty file, or not an image
    • File not present on disk, an empty file, or not an image
  • broken_links:
    • Can't resolve /zh-TW/Web/SVG/Element/path
    • Anchor not lowercase
    • Can't resolve /zh-TW/Web/SVG/Element/ellipse
    • Can't resolve /zh-TW/HTML/Canvas

URL: /zh-TW/docs/Web/SVG/Tutorial/Getting_Started
Title: 入門
Flaw count: 15

  • macros:
    • /zh-TW/docs/Web/SVG/Tutorial/Texts does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Texts
    • /zh-TW/docs/Web/SVG/Tutorial/Basic_Transformations does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Basic_Transformations
    • /zh-TW/docs/Web/SVG/Tutorial/Clipping_and_masking does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Clipping_and_masking
    • /zh-TW/docs/Web/SVG/Tutorial/Other_content_in_SVG does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Other_content_in_SVG
    • /zh-TW/docs/Web/SVG/Tutorial/Filter_effects does not exist but fell back to /en-US/docs/Web/SVG/Tutorial/Filter_effects
    • and 9 more flaws omitted
  • broken_links:
    • Can't resolve /zh-TW/SVG/Namespaces_Crash_Course

URL: /zh-TW/docs/Web/CSS/border-image
Title: border-image
Flaw count: 9

  • macros:
    • /zh-TW/docs/Web/CSS/border-style does not exist but fell back to /en-US/docs/Web/CSS/border-style
    • /zh-TW/docs/Web/CSS/background-image does not exist but fell back to /en-US/docs/Web/CSS/background-image
    • /zh-TW/docs/Web/CSS/uri does not exist but fell back to /en-US/docs/Web/CSS/url
    • /zh-TW/docs/Web/CSS/border-width does not exist but fell back to /en-US/docs/Web/CSS/border-width
    • /zh-TW/docs/Web/CSS/border-width does not exist but fell back to /en-US/docs/Web/CSS/border-width
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension
Title: 你的第一個 WebExtension
Flaw count: 49

  • macros:
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Examples does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Examples
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/What_next does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/What_next
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/API does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/API
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Background_scripts does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Match_patterns does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns
    • and 26 more flaws omitted
  • broken_links:
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/manifest_version
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/name
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/version
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/description
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/icons
    • and 13 more flaws omitted

URL: /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Content_scripts
Title: 內容腳本
Flaw count: 48

  • macros:
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Examples does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Examples
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/What_next does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/What_next
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/API does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/API
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Background_scripts does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Match_patterns does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns
    • and 26 more flaws omitted
  • broken_links:
    • Can't resolve /zh-TW/Add-ons/WebExtensions/Background_scripts
    • Can't resolve /zh-TW/Add-ons/WebExtensions/API
    • Can't resolve /zh-TW/Add-ons/WebExtensions/Content_scripts#WebExtension_APIs
    • Can't resolve /zh-TW/Add-ons/WebExtensions/Content_scripts#Communicating_with_background_scripts
    • Can't resolve /zh-TW/Add-ons/WebExtensions/Match_patterns
    • and 12 more flaws omitted

URL: /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Your_second_WebExtension
Title: 你的第二個 WebExtension
Flaw count: 38

  • macros:
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Examples does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Examples
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/What_next does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/What_next
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/API does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/API
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Background_scripts does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts
    • /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Match_patterns does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns
    • and 26 more flaws omitted
  • broken_links:
    • Can't resolve /zh-TW/Add-ons/WebExtensions/Your_first_WebExtension
    • Can't resolve /zh-TW/docs/Mozilla/Add-ons/WebExtensions/Browser_action
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/manifest_version
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/name
    • Can't resolve /zh-TW/Add-ons/WebExtensions/manifest.json/version
    • and 2 more flaws omitted

URL: /zh-TW/docs/Learn/Server-side/Django/Generic_views
Title: Django Tutorial Part 6: Generic list and detail views
Flaw count: 152

  • macros:
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content
    • /zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content does not exist but fell back to /en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content
    • and 145 more flaws omitted
  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase

URL: /zh-TW/docs/Learn/Server-side/Django/development_environment
Title: 架設 Django 開發環境
Flaw count: 152

  • macros:
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content
    • /zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content does not exist but fell back to /en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content
    • and 145 more flaws omitted
  • broken_links:
    • Can't resolve /zh-TW/docs/Learn/Common_questions/Available_text_editors
    • Can't resolve /zh-TW/docs/Python/Virtualenv

URL: /zh-TW/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals
Title: 基本 HTML 文字
Flaw count: 164

  • macros:
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content
    • /zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content does not exist but fell back to /en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content
    • and 158 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 13 possible)

URL: /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started
Title: HTML 入門
Flaw count: 160

  • macros:
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content
    • /zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content does not exist but fell back to /en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content
    • and 151 more flaws omitted
  • broken_links:
    • Can't resolve /zh-TW/Learn/Getting_started_with_the_web/Installing_basic_software
    • Can't resolve /zh-TW/Learn/Getting_started_with_the_web/Dealing_with_files
    • Can't resolve /zh-TW/docs/Web/HTML/Applying_color
  • translation_differences:
    • Differences in the important macros (1 in common of 19 possible)

URL: /zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
Title: HTML中的圖片
Flaw count: 159

  • macros:
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter
    • /zh-TW/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content
    • /zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content does not exist but fell back to /en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content
    • and 148 more flaws omitted
  • images:
    • File not present on disk, an empty file, or not an image
  • broken_links:
    • Can't resolve /zh-TW/docs/
    • Can't resolve /zh-TW/docs/
    • Can't resolve /zh-TW/docs/
    • Anchor not lowercase
  • translation_differences:
    • Differences in the important macros (1 in common of 5 possible)

Copy link
Contributor

@jasonren0403 jasonren0403 left a comment

Choose a reason for hiding this comment

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

👍

@jasonren0403 jasonren0403 merged commit 745c8b7 into mdn:main Aug 22, 2024
8 checks passed
@yin1999 yin1999 deleted the markdown-lint-rule-zh-tw branch August 22, 2024 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants