-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: clickable chapter title (#1744)
* feat: clickable chapter title * chore: fix active link color * chore: add rule to support backwards compatibility * chore: fix pagination section * chore: remove console.log * chore: updated smoke test navigation.yaml * chore: add documentation overview page * chore: add api-smoke-test overview pages * chore: changeset
- Loading branch information
1 parent
81f0bc6
commit 561a159
Showing
23 changed files
with
321 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'@commercetools-website/self-learning-smoke-test': minor | ||
'@commercetools-website/api-docs-smoke-test': minor | ||
'@commercetools-docs/gatsby-theme-docs': minor | ||
'@commercetools-website/docs-smoke-test': minor | ||
'@commercetools-website/documentation': minor | ||
'@commercetools-website/site-template': minor | ||
--- | ||
|
||
Enable support for clickable chapter titles in websites. This is NOT a breaking change as we keep supporting non clickable chapters. |
This file contains 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 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 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
9 changes: 9 additions & 0 deletions
9
websites/api-docs-smoke-test/src/content/docs-replications/overview.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Docs Replications | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [Long Page with Many Types](/docs-replications/long-page) |
10 changes: 10 additions & 0 deletions
10
websites/api-docs-smoke-test/src/content/e2e-tests/overview.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: E2E Tests | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [Soft Linking First Page](/e2e-tests/soft-linking-first-page) | ||
- [Soft Linking Second Page](/e2e-tests/soft-linking-second-page) |
10 changes: 10 additions & 0 deletions
10
websites/api-docs-smoke-test/src/content/endpoints/overview.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Endpoints | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [Methods](/endpoints/methods) | ||
- [All Endpoints of Resource](/endpoints/endpoints-for-resource) |
12 changes: 12 additions & 0 deletions
12
websites/api-docs-smoke-test/src/content/layouts/overview.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: Layouts | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [API Type Large Desktop](/layouts/type-large-desktop) | ||
- [API Type Regular Desktop](/layouts/type-regular-desktop) | ||
- [API Endpoint Large Desktop](/layouts/endpoint-large-desktop) | ||
- [API Endpoint Regular Desktop](/layouts/endpoint-regular-desktop) |
12 changes: 12 additions & 0 deletions
12
websites/api-docs-smoke-test/src/content/types/overview.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: Types | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [General](/types/general) | ||
- [Scalars](/types/scalars) | ||
- [Examples](/types/examples) | ||
- [Enums, Constants & Unions](/types/enums-constants-unions) |
This file contains 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
17 changes: 17 additions & 0 deletions
17
websites/docs-smoke-test/src/content/components/overview.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Components | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [Code blocks](/components/code-blocks) | ||
- [Code Examples](/components/code-examples) | ||
- [Content notifications](/components/content-notifications) | ||
- [Images](/components/images) | ||
- [Cards](/components/cards) | ||
- [RSS Feeds](/components/rss-feeds) | ||
- [Child section navigation](/components/child-section-navigation) | ||
- [Mermaid Diagrams](/components/mermaid-diagram) | ||
- [Video Player](/components/video-player) |
10 changes: 10 additions & 0 deletions
10
websites/docs-smoke-test/src/content/empty-pages/overview-1.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Empty pages | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [PageWithLongNameThatOverflowsBecauseItsOneWord](/empty-pages/empty-page-three) | ||
- [BetaPageWithLongNameThatOverflowsBecauseItsOneWord](/empty-pages/empty-page-four) |
10 changes: 10 additions & 0 deletions
10
websites/docs-smoke-test/src/content/empty-pages/overview.mdx
This file contains 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Empty pages | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [Page with some very long title too much for our innocent API to handle](/empty-pages/empty-page-one) | ||
- [Beta Page with some very long title too much for our innocent API to handle](/empty-pages/empty-page-two) |
This file contains 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Views | ||
showTimeToRead: false | ||
timeToRead: false | ||
--- | ||
|
||
# Contents of this chapter | ||
|
||
- [Markdown](/views/markdown) | ||
- [Empty](/views/empty) | ||
- [Beta with long page title to see how the index nav behaves](/views/beta) | ||
- [Nested headings](/views/nested-headings) | ||
- [Two-level nav](/views/two-level-index-nav) | ||
- [Links](/views/links) | ||
- [Code blocks](/views/code-blocks) | ||
- [Code examples](/views/code-examples) | ||
- [Custom Anchor](/views/custom-anchor) | ||
- [Wide Layout](/views/wide) |
This file contains 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
Oops, something went wrong.