Commit 00ebfa0
Release Lit v3 pre-release docs with blog post (#1116)
* Copy over all unversioned content into a versioned directory
The only file changed in the move is the root `docs.json` file. Instead
a `v2.json` file was added.
* Add initial build-unversioned-docs script.
This copies over and adds the correct permalinks to the selected
version content. Currently moving `v2` -> `unversioned`.
* Fix wireit so npm run dev doesnt spin infinitely.
* Add rel=canonical link from latestVersion to unversioned page.
* Make all authored cross links versioned.
Unversioned links will be generated automatically by the generated
unversioned pages.
* Add fixUnversionedCrossLinks so unversioned cross-linking work.
This works by piping all the content through a function that will
fix cross links on unversioned pages.
* Add integration tests checking added features.
* unblock failing link by adding it to the known good list.
* Fix api shortcode such that it uses a versioned URL
The versioned URL is stripped for unversioned URLs by our tooling.
Add a test to confirm this behavior.
* Apply code review feedback. Thank you!
* Code review feedback from Justin
- Replaced sync fs with async fs.
- Made lightweight YAML parser more robust using regex.
* Add undiscoverable v3 generated documentation.
Currently the Lit 3 commit being used is
d04a3e30eb3ae3520fb0ac163fb5ddbbf6030620 because
lit/lit#3894 fixes building Lit 3.
API docs are visible at /docs/api/v3/
* Explicitly bump node heap size.
This will hopefully avoid the Github Actions failures.
* Add types/codemirror to fix TS 5 error.
Thank you Augustine! Re-ran generator with no content changes.
* Remove unneeded dependency
Co-authored-by: Augustine Kim <augustinekim@google.com>
* Code review feedback with Wireit env.
* Fix formatting & filter out v3/api/index.html page
* Copy over v2 docs to v3 unchanged.
* Add banner and config
* Fix all cross links in v3 docs to be v3 specific.
- Find replace all /v2/ with /v3/
- Replace api shortcode with api-v3 shortcode - linking to v3 api docs
* Add Lit 3.0 upgrade guide - first attempt.
* Add v3 to the Lit.dev dropdown.
* Upstream ssr client-usage docs to v3 page.
This makes the page a duplicate of the v2 page. Git for some reason did
not include these changes when merging from main.
* Remove pre-release v3 docs from search index
* Add version links so that v2 <-> v3 changing doesnt change page.
A user on v2 docs for a certain page should remain on that page when
switching to v3 and vice-versa. This change makes it so switching
between v2 and v3 will keep you on the same page, but provide the
different versions of the page.
Tested manually on every single page.
* Update tools section for v3 (#1118)
* Update tools section for v3
* Better wording for versions tested
* Add pre-releases banner content to v3 banner.
* Update packages/lit-dev-content/site/docs/v3/releases/upgrade.md
Co-authored-by: Augustine Kim <augustinekim@google.com>
* Update packages/lit-dev-content/site/docs/v3/releases/upgrade.md
Co-authored-by: Augustine Kim <augustinekim@google.com>
* Lit 3.0 pre-releases blog post (#1115)
* Lit 3.0 pre-releases blog post
* Apply suggestions from code review
* Add link to upgrade guide
---------
Co-authored-by: Augustine Kim <augustinekim@google.com>
* Remove a small paragraph that didn't really make sense from upgrade.
* Add missing word "can".
* Fix blog dropdown referring 3.0 -> v3
---------
Co-authored-by: Augustine Kim <augustinekim@google.com>
Co-authored-by: Justin Fagnani <justinfagnani@google.com>1 parent 09800da commit 00ebfa0
File tree
110 files changed
+11626
-155
lines changed- packages
- lit-dev-content
- site
- _includes
- blog
- docs
- v2
- components
- composition
- data
- frameworks
- libraries
- localization
- releases
- resources
- ssr
- templates
- tools
- v3
- components
- composition
- data
- frameworks
- internal
- libraries
- localization
- releases
- resources
- ssr
- templates
- tools
- lit-dev-tools-cjs/src/search/indexers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
110 files changed
+11626
-155
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
448 | 456 | | |
449 | 457 | | |
450 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
| |||
Lines changed: 66 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments