Skip to content

Commit a07472d

Browse files
authored
Move pub terms to site-wide glossary (#6804)
This PR moves the pub-related term entries from the [pub-specific glossary](https://dart.dev/tools/pub/glossary) to the site wide glossary. Entry long descriptions are kept mostly the same with some minor adjustments for consistency with the other entries and site standards, as well as moving some link references out to related links. Contributes to #6461 Preview: https://dart-dev--pr6804-feat-pub-glossary-terms-88oiyu98.web.app/resources/glossary
1 parent 3fcd1a2 commit a07472d

19 files changed

+546
-365
lines changed

firebase.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
{ "source": "/go/automated-publishing", "destination": "/tools/pub/automated-publishing", "type": 301 },
173173
{ "source": "/go/cloud", "destination": "/server/google-cloud?utm_source=go-link&utm_medium=referral&utm_campaign=go-cloud", "type": 301 },
174174
{ "source": "/go/json-codable", "destination": "https://medium.com/dartlang/an-update-on-dart-macros-data-serialization-06d3037d4f12", "type": 301 },
175-
{ "source": "/go/content-hashes", "destination": "/tools/pub/glossary#content-hashes", "type": 301 },
175+
{ "source": "/go/content-hashes", "destination": "/resources/glossary#pub-content-hash", "type": 301 },
176176
{ "source": "/go/core-lints", "destination": "https://github.com/dart-lang/lints", "type": 301 },
177177
{ "source": "/go/dart-fix", "destination": "/tools/dart-fix", "type": 301 },
178178
{ "source": "/go/dart2js-info", "destination": "https://github.com/dart-lang/sdk/tree/main/pkg/dart2js_info", "type": 301 },
@@ -394,9 +394,10 @@
394394
{ "source": "/to/package-discontinue", "destination": "/tools/pub/publishing#discontinue", "type": 301 },
395395
{ "source": "/to/package-retraction", "destination": "/tools/pub/publishing#retract", "type": 301 },
396396
{ "source": "/to/pub-cache", "destination": "/tools/pub/cmd/pub-cache", "type": 301 },
397-
{ "source": "/to/pub-content-hashes", "destination": "/tools/pub/glossary#content-hashes", "type": 301 },
397+
{ "source": "/to/pub-content-hashes", "destination": "/resources/glossary#pub-content-hashes", "type": 301 },
398398
{ "source": "/to/pub-false-secrets", "destination": "/tools/pub/pubspec#false_secrets", "type": 301 },
399399
{ "source": "/to/pub-ignore", "destination": "/tools/pub/publishing#what-files-are-published", "type": 301 },
400+
{ "source": "/to/pub-lockfile", "destination": "/resources/glossary#lockfile", "type": 301 },
400401
{ "source": "/to/pub-security-advisories", "destination": "/tools/pub/security-advisories", "type": 301 },
401402
{ "source": "/to/pub-workspaces", "destination": "/tools/pub/workspaces", "type": 301 },
402403
{ "source": "/to/publish-from-github", "destination": "/tools/pub/automated-publishing#publishing-packages-using-github-actions", "type": 301 },
@@ -444,6 +445,7 @@
444445
{ "source": "/tools/pub/create-library-packages", "destination": "/tools/pub/create-packages", "type": 301 },
445446
{ "source": "/tools/pub/faq", "destination": "/tools/pub/cmd", "type": 301 },
446447
{ "source": "/tools/pub/get-started", "destination": "/tools/pub/packages", "type": 301 },
448+
{ "source": "/tools/pub/glossary", "destination": "/resources/glossary", "type": 301 },
447449
{ "source": "/tools/pub/installing", "destination": "/tools/pub/environment-variables", "type": 301 },
448450
{ "source": "/tools/pub/transformers{,/**}", "destination": "https://github.com/dart-lang/build", "type": 301 },
449451
{ "source": "/tools/sdk/archive", "destination": "/get-dart/archive", "type": 301 },
@@ -463,7 +465,7 @@
463465
{ "source": "/tutorials/web/low-level-html/:rest*", "destination": "/interop/js-interop/package-web", "type": 301 },
464466
{ "source": "/web/dart-2", "destination": "/tools/webdev", "type": 301 },
465467
{ "source": "/web/js-interop", "destination": "/interop/js-interop", "type": 301 },
466-
{ "source": "/{docs,tools}/{pub-package-manager,pub/cmd,pub/tools/pub}/glossary", "destination": "/tools/pub/glossary", "type": 301 }
468+
{ "source": "/{docs,tools}/{pub-package-manager,pub/cmd,pub/tools/pub}/glossary", "destination": "/resources/glossary", "type": 301 }
467469
]
468470
},
469471
"emulators": {

0 commit comments

Comments
 (0)