Skip to content

Commit

Permalink
CLDR-17934 site: checkin initial sitemap.tsv
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Sep 11, 2024
1 parent 8fb8c93 commit 6e6d6f5
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/site/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
/assets/vendor
/sitemap.xml
/sitemap.md
/sitemap.tsv


6 changes: 3 additions & 3 deletions docs/site/assets/js/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function writeSiteMapSheet({ all, allDirs }, path, outsheet) {
// 'path' is '' or 'foo/' or 'foo/bar/baz/' at this point.
const slashes = path.replace(/[^\/]+/g, ""); // foo/bar/ => //
const indent = tabs(slashes.length); // number of slashes => number of tabs
outsheet.push(`${indent}${title}\t${mkurl(indexPath)}`);
outsheet.push(`${indent}${dropmd(indexPath)}`);

// now, gather the children.
const children = all.filter(({ fullPath }) => {
Expand All @@ -111,7 +111,7 @@ function writeSiteMapSheet({ all, allDirs }, path, outsheet) {
return false;
});

children.sort((a, b) => coll.compare(a.fullPath, b.fullPath));
children.sort((a, b) => coll.compare(a.title, b.title));

children.forEach(({ title, fullPath }) => {
// if an index, recurse instead.
Expand All @@ -121,7 +121,7 @@ function writeSiteMapSheet({ all, allDirs }, path, outsheet) {
writeSiteMapSheet({ all, allDirs }, `${baseName}/`, outsheet);
} else {
// write leaf (non-index) child pages
outsheet.push(`${indent}\t${title}\t${mkurl(fullPath)}`);
outsheet.push(`${indent}\t${baseName}`);
}
});
}
Expand Down
194 changes: 194 additions & 0 deletions docs/site/sitemap.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
index
index/acknowledgments
index/charts
ddl
downloads
downloads/cldr-31
downloads/cldr-32
downloads/cldr-33
downloads/cldr-33-1
downloads/cldr-34
downloads/cldr-35
downloads/cldr-36
downloads/cldr-37
downloads/cldr-38
downloads/cldr-39
downloads/cldr-40
downloads/cldr-41
downloads/cldr-42
downloads/cldr-43
downloads/cldr-44
downloads/cldr-45
downloads/cldr-46
downloads/brs-copy-en_gb-to-en_001
index/keyboard-workgroup
index/process
index/process/cldr-data-retention-policy
index/downloads
index/downloads/cldr-43
index/downloads/cldr-44
index/cldr-spec
index/cldr-spec/collation-guidelines
index/cldr-spec/core-data-for-new-locales
index/cldr-spec/coverage-levels
index/cldr-spec/currency-process
index/cldr-spec/definitions
index/cldr-spec/picking-the-right-language-code
index/cldr-spec/plural-rules
index/cldr-spec/transliteration-guidelines
index/survey-tool
index/survey-tool/bulk-data-upload
index/survey-tool/faq-and-known-bugs
index/survey-tool/managing-users
index/survey-tool/coverage
index/survey-tool/survey-tool-accounts
index/corrigenda
covered-by-other-projects
index/draft-schedule
translation
translation/characters
translation/characters/character-labels
translation/characters/short-names-and-keywords
translation/characters/typographic-names
translation/core-data
translation/core-data/characters
translation/core-data/numbering-systems
translation/core-data/exemplars
translation/currency-names-and-symbols
translation/currency-names-and-symbols/currency-names
translation/currency-names-and-symbols/special-cases
translation/date-time
translation/date-time/date-times-terminology
translation/date-time/date-time-names
translation/date-time/date-time-patterns
translation/date-time/date-time-symbols
translation/displaynames
translation/displaynames/countryregion-territory-names
translation/displaynames/languagelocale-name-patterns
translation/displaynames/languagelocale-names
translation/displaynames/locale-option-names-key
translation/displaynames/script-names
translation/error-codes
translation/translation-guide-general
translation/translation-guide-general/capitalization
translation/translation-guide-general/default-content
translation/translation-guide-general/references
translation/getting-started
translation/getting-started/data-stability
translation/getting-started/empty-cache
translation/getting-started/errors-and-warnings
translation/getting-started/resolving-errors
translation/getting-started/plurals
translation/getting-started/review-formats
translation/getting-started/guide
translation/getting-started/survey-tool-phases
translation/getting-started/vetting-view
translation/grammatical-inflection
translation/miscellaneous-displaying-lists
translation/number-currency-formats
translation/number-currency-formats/number-and-currency-patterns
translation/number-currency-formats/number-symbols
translation/number-currency-formats/other-patterns
translation/miscellaneous-person-name-formats
translation/time-zones-and-city-names
translation/transforms
translation/unique-translations
translation/units
translation/units/measurement-systems
translation/units/unit-names-and-patterns
translation/language-specific
translation/language-specific/lakota
translation/language-specific/odia
translation/language-specific/persian
development
development/adding-locales
development/creating-the-archive
development/cldr-development-site
development/cldr-development-site/running-cldr-tools
development/cldr-development-site/updating-englishroot
development/cldr-big-red-switch
development/cldr-big-red-switch/generating-charts
development/coding-cldr-tools
development/coding-cldr-tools/documenting-cldr-tools
development/guidance-on-direct-modifications-to-cldr-data
development/development-process
development/development-process/design-proposals
development/development-process/design-proposals/alternate-time-formats
development/development-process/design-proposals/bcp-47-changes-draft
development/development-process/design-proposals/bcp47-syntax-mapping
development/development-process/design-proposals/bcp47-validation-and-canonicalization
development/development-process/design-proposals/bidi-handling-of-structured-text
development/development-process/design-proposals/change-to-sites
development/development-process/design-proposals/chinese-and-other-calendar-support-intercalary-months-year-cycles
development/development-process/design-proposals/consistent-casing
development/development-process/design-proposals/coverage-revision
development/development-process/design-proposals/currency-code-fallback
development/development-process/design-proposals/day-period-design
development/development-process/design-proposals/delimiter-quotation-mark-proposal
development/development-process/design-proposals/english-inheritance
development/development-process/design-proposals/european-ordering-rules-issues
development/development-process/design-proposals/extended-windows-olson-zid-mapping
development/development-process/design-proposals/fractional-plurals
development/development-process/design-proposals/generic-calendar-data
development/development-process/design-proposals/grammar-capitalization-forms-for-datetime-elements-and-others
development/development-process/design-proposals/grapheme-usage
development/development-process/design-proposals/hebrew-months
development/development-process/design-proposals/index-characters
development/development-process/design-proposals/islamic-calendar-types
development/development-process/design-proposals/iso-636-deprecation-requests-draft
development/development-process/design-proposals/json-packaging-approved-by-the-cldr-tc-on-2015-03-25
development/development-process/design-proposals/language-data-consistency
development/development-process/design-proposals/language-distance-data
development/development-process/design-proposals/list-formatting
development/development-process/design-proposals/locale-format
development/development-process/design-proposals/localized-gmt-format
development/development-process/design-proposals/math-formula-preferences
development/development-process/design-proposals/new-bcp47-extension-t-fields
development/development-process/design-proposals/new-time-zone-patterns
development/development-process/design-proposals/path-filtering
development/development-process/design-proposals/pattern-character-for-related-year
development/development-process/design-proposals/pinyin-fixes
development/development-process/design-proposals/post-mortem
development/development-process/design-proposals/proposed-collation-additions
development/development-process/design-proposals/resolution-of-cldr-files
development/development-process/design-proposals/script-metadata
development/development-process/design-proposals/search-collators
development/development-process/design-proposals/secularneutral-eras
development/development-process/design-proposals/specifying-text-break-variants-in-locale-ids
development/development-process/design-proposals/suggested-exemplar-revisions
development/development-process/design-proposals/supported-numberingsystems
development/development-process/design-proposals/thoughts-on-survey-tool-backend
development/development-process/design-proposals/time-zone-data-reorganization
development/development-process/design-proposals/transform-fallback
development/development-process/design-proposals/transform-keywords
development/development-process/design-proposals/unihan-data
development/development-process/design-proposals/units-pixels-ems-display-resolution
development/development-process/design-proposals/uts-35-splitting
development/development-process/design-proposals/voting
development/development-process/design-proposals/xmb
development/maven
development/new-cldr-developers
development/running-tests
development/running-tools
development/updating-codes
development/updating-codes/likelysubtags-and-default-content
development/updating-codes/update-currency-codes
development/updating-codes/update-language-script-info
development/updating-codes/update-language-script-info/language-script-description
development/updating-codes/update-languagescriptregion-subtags
development/updating-codes/update-time-zone-data-for-zoneparser
development/updating-codes/update-validity-xml
development/updating-codes/external-version-metadata
development/updating-codes/updating-population-gdp-literacy
development/updating-codes/updating-script-metadata
development/updating-codes/updating-subdivision-codes
development/updating-codes/updating-subdivision-translations
development/updating-codes/updating-un-codes
development/updating-dtds
index/json-format-data
index/language-support-levels
index/locale-coverage
index/requesting-additionsupdates-to-cldr-languagepopulation-data
stable-links-info
index/cldr-presentations
index/bcp47-extension

0 comments on commit 6e6d6f5

Please sign in to comment.