Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/honest-rats-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/docusaurus-theme-llms-txt': patch
---

Fix for copy button not showing up on pages with trailing slash
6 changes: 6 additions & 0 deletions packages/docusaurus-theme-llms-txt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @signalwire/docusaurus-theme-llms-txt

## 1.0.0-alpha.9

### Patch Changes

- Fix for copy button not showing up on pages with trailing slash

## 1.0.0-alpha.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-llms-txt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@signalwire/docusaurus-theme-llms-txt",
"version": "1.0.0-alpha.8",
"version": "1.0.0-alpha.9",
"description": "Docusaurus theme components for llms-txt plugin including CopyPageButton",
"main": "./lib/index.js",
"types": "src/theme-llms-txt.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ export default function CopyPageContent({
// Resolve final configuration
const finalConfig = useCopyButtonConfig(pluginConfig);

// Resolve route data for the current path by checking both trailing-slash and non-slash keys in `lookupKeys`.
// Resolve route data for the current path by checking both
// trailing-slash and non-slash keys in `lookupKeys`.
let routeData: RouteData | undefined;
if (copyContentData) {
for (const key of lookupKeys) {
Expand Down
7 changes: 7 additions & 0 deletions website/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# website

## 0.0.2-alpha.0

### Patch Changes

- Updated dependencies
- @signalwire/docusaurus-theme-llms-txt@1.0.0-alpha.9

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@docusaurus/types": "^3.9.1",
"@mdx-js/react": "^3.0.0",
"@signalwire/docusaurus-plugin-llms-txt": "2.0.0-alpha.7",
"@signalwire/docusaurus-theme-llms-txt": "1.0.0-alpha.8",
"@signalwire/docusaurus-theme-llms-txt": "1.0.0-alpha.9",
"clsx": "^2.0.0",
"docusaurus-plugin-sass": "^0.2.6",
"prism-react-renderer": "^2.3.0",
Expand Down