This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
docs(tutorial): add deprecation notice to v1.4.x tutorial and point to the correct branch #14675
Closed
gkalpak
wants to merge
3
commits into
angular:v1.4.x
from
gkalpak:v1.4.x-docs-tutorial-add-point-to-old-version
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,22 @@ | |
|
||
# PhoneCat Tutorial App | ||
|
||
<div class="alert alert-danger"> | ||
<p> | ||
This version of the tutorial is deprecated and no longer maintained. You can find the most | ||
recent version of the tutorial at https://docs.angularjs.org/tutorial/. | ||
</p> | ||
<p> | ||
It is recommended to use the latest tutorial version for the following reasons: | ||
<ul> | ||
<li>It showcases features introduced in AngularJS v1.5+</li> | ||
<li>It follows modern best practices in terms of architecture and code organization</li> | ||
<li>It has more up-to-date dependencies and tools</li> | ||
<li>It is actively maintained</li> | ||
</ul> | ||
</p> | ||
</div> | ||
|
||
A great way to get introduced to AngularJS is to work through this tutorial, which walks you through | ||
the construction of an AngularJS web app. The app you will build is a catalog that displays a list | ||
of Android devices, lets you filter the list to see only devices that interest you, and then view | ||
|
@@ -73,7 +89,7 @@ Clone the [angular-phonecat repository][angular-phonecat] located at GitHub by r | |
command: | ||
|
||
``` | ||
git clone --depth=14 https://github.com/angular/angular-phonecat.git | ||
git clone --depth=14 --branch=1.4-snapshot https://github.com/angular/angular-phonecat.git | ||
``` | ||
|
||
This command creates the `angular-phonecat` directory in your current directory. | ||
|
@@ -82,6 +98,11 @@ This command creates the `angular-phonecat` directory in your current directory. | |
download much smaller and faster. | ||
</div> | ||
|
||
<div class="alert alert-info"> | ||
The `--branch=1.4-snapshot` option tells Git to pull down the `1.4-snapshot` branch. | ||
The code for this older version of the tutorial is on that branch. | ||
</div> | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LG |
||
Change your current directory to `angular-phonecat`. | ||
|
||
``` | ||
|
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG