Skip to content

Commit

Permalink
🏚 Mark shared ArticlePage as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
fwkoch committed May 21, 2024
1 parent 44b3821 commit a6b0152
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-weeks-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/site': patch
---

Mark ArticlePage as deprecated
5 changes: 5 additions & 0 deletions packages/site/src/pages/Article.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ function combineDownloads(
return pageFrontmatter.exports;
}

/**
* @deprecated This component is not maintained, in favor of theme-specific ArticlePages
*
* As examples, MyST book and article themes define their own ArticlePage components.
*/
export const ArticlePage = React.memo(function ({
article,
hide_all_footer_links,
Expand Down

0 comments on commit a6b0152

Please sign in to comment.