Skip to content

Commit

Permalink
Make breadcrumbs consistent with .NET and ASP.NET docs (#2159)
Browse files Browse the repository at this point in the history
* Make breadcrumbs consistent with .NET docs

* Add another level of breadcrumbs
  • Loading branch information
scottaddie committed Mar 4, 2020
1 parent c277b57 commit 0a9151c
Show file tree
Hide file tree
Showing 3 changed files with 230 additions and 158 deletions.
70 changes: 70 additions & 0 deletions entity-framework/breadcrumb/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
- name: Docs
tocHref: /
topicHref: /
items:
- name: Entity Framework
tocHref: /ef/
topicHref: /ef/index
items:
- name: EF Core & EF6
tocHref: /ef/efcore-and-ef6/
topicHref: /ef/efcore-and-ef6/index
items:
- name: Port from EF6 to EF Core
tocHref: /ef/efcore-and-ef6/porting/
topicHref: /ef/efcore-and-ef6/porting/index

- name: Entity Framework Core
tocHref: /ef/core/
topicHref: /ef/core/index
items:
- name: Releases and planning
tocHref: /ef/core/what-is-new/
topicHref: /ef/core/what-is-new/index
- name: Get started
tocHref: /ef/core/get-started/
topicHref: /ef/core/get-started/index
- name: Fundamentals
tocHref: /ef/core/miscellaneous/
topicHref: /ef/core/miscellaneous/connection-strings
- name: Create a model
tocHref: /ef/core/modeling/
topicHref: /ef/core/modeling/index
- name: Manage database schemas
tocHref: /ef/core/managing-schemas/
topicHref: /ef/core/managing-schemas/index
- name: Query data
tocHref: /ef/core/querying/
topicHref: /ef/core/querying/index
- name: Save data
tocHref: /ef/core/saving/
topicHref: /ef/core/saving/index
- name: Database providers
tocHref: /ef/core/providers/
topicHref: /ef/core/providers/index
- name: Command-line reference
tocHref: /ef/core/miscellaneous/cli/
topicHref: /ef/core/miscellaneous/cli/index

- name: Entity Framework 6
tocHref: /ef/ef6/
topicHref: /ef/ef6/index
items:
- name: What's new
tocHref: /ef/ef6/what-is-new/
topicHref: /ef/ef6/what-is-new/index
- name: Fundamentals
tocHref: /ef/ef6/fundamentals/
topicHref: /ef/ef6/fundamentals/install
- name: Create a model
tocHref: /ef/ef6/modeling/
topicHref: /ef/ef6/modeling/index
- name: Query data
tocHref: /ef/ef6/querying/
topicHref: /ef/ef6/querying/index
- name: Save data
tocHref: /ef/ef6/saving/
topicHref: /ef/ef6/saving/index
- name: Additional resources
tocHref: /ef/ef6/resources/
topicHref: /ef/ef6/resources/blogs
2 changes: 1 addition & 1 deletion entity-framework/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
}
],
"globalMetadata": {
"breadcrumb_path": "/ef/toc.json",
"breadcrumb_path": "/ef/breadcrumb/toc.json",
"searchScope": [
"Entity Framework"
],
Expand Down
Loading

0 comments on commit 0a9151c

Please sign in to comment.