Skip to content

Commit bf717c0

Browse files
committed
Update to openapi-docs 3.0.1, need to disable local-search because of an error.
1 parent 4a4360d commit bf717c0

File tree

7 files changed

+8939
-5469
lines changed

7 files changed

+8939
-5469
lines changed

docs/web-services-api/index.md renamed to docs/web-services/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Web Services API
22
================
33

44
This is the content for tutorials how to work with the webservices API of Joomla.
5+
56
:::caution TODO
67

78
This page is unfinished, please use the **Edit this Page** link at the bottom of this page to help make it more useful.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docusaurus.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ const config = {
8585
sidebarPath: require.resolve('./sidebars.js'),
8686
editUrl: 'https://github.com/joomla/manual/tree/main/',
8787
lastVersion: '5.1',
88-
docLayoutComponent: "@theme/DocPage",
8988
docItemComponent: "@theme/ApiItem", // Derived from docusaurus-theme-openapi-docs
9089
/*lastVersion: '4.3',*/
9190
versions: {
@@ -278,13 +277,15 @@ const config = {
278277
},
279278
}),
280279
plugins: [
280+
/*
281281
[
282282
require.resolve("@cmfcmf/docusaurus-search-local"),
283283
{
284284
indexBlog: false,
285285
language: "en",
286286
},
287287
],
288+
*/
288289
[
289290
'content-docs',
290291
/** @type {import('@docusaurus/plugin-content-docs').Options} */
@@ -313,8 +314,8 @@ const config = {
313314
docsPluginId: "classic",
314315
config: {
315316
joomla: {
316-
specPath: "docs/using-core-functions/webservices/assets/webservices-openapi.yaml",
317-
outputDir: "docs/using-core-functions/webservices",
317+
specPath: "docs/web-services/specification/_assets/webservices-openapi.yaml",
318+
outputDir: "docs/web-services/specification",
318319
sidebarOptions: {
319320
groupPathsBy: "tag",
320321
},

package-lock.json

Lines changed: 8932 additions & 5464 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@docusaurus/preset-classic": "3.4.0",
2222
"@docusaurus/theme-mermaid": "3.4.0",
2323
"@mdx-js/react": "^3.0.1",
24-
"docusaurus-plugin-openapi-docs": "^1.5.1-hotfix1",
25-
"docusaurus-theme-openapi-docs": "^1.5.1",
24+
"docusaurus-plugin-openapi-docs": "3.0.1",
25+
"docusaurus-theme-openapi-docs": "3.0.1",
2626
"clsx": "^2.1.1",
2727
"patch-package": "^8.0.0",
2828
"prism-react-renderer": "^2.3.1",

0 commit comments

Comments
 (0)