Skip to content

Commit

Permalink
Update to openapi-docs 3.0.1, need to disable local-search because of…
Browse files Browse the repository at this point in the history
… an error.
  • Loading branch information
HLeithner committed Aug 10, 2024
1 parent 4a4360d commit bf717c0
Show file tree
Hide file tree
Showing 7 changed files with 8,939 additions and 5,469 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Web Services API
================

This is the content for tutorials how to work with the webservices API of Joomla.

:::caution TODO

This page is unfinished, please use the **Edit this Page** link at the bottom of this page to help make it more useful.
Expand Down
7 changes: 4 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ const config = {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/joomla/manual/tree/main/',
lastVersion: '5.1',
docLayoutComponent: "@theme/DocPage",
docItemComponent: "@theme/ApiItem", // Derived from docusaurus-theme-openapi-docs
/*lastVersion: '4.3',*/
versions: {
Expand Down Expand Up @@ -278,13 +277,15 @@ const config = {
},
}),
plugins: [
/*
[
require.resolve("@cmfcmf/docusaurus-search-local"),
{
indexBlog: false,
language: "en",
},
],
*/
[
'content-docs',
/** @type {import('@docusaurus/plugin-content-docs').Options} */
Expand Down Expand Up @@ -313,8 +314,8 @@ const config = {
docsPluginId: "classic",
config: {
joomla: {
specPath: "docs/using-core-functions/webservices/assets/webservices-openapi.yaml",
outputDir: "docs/using-core-functions/webservices",
specPath: "docs/web-services/specification/_assets/webservices-openapi.yaml",
outputDir: "docs/web-services/specification",
sidebarOptions: {
groupPathsBy: "tag",
},
Expand Down
14,396 changes: 8,932 additions & 5,464 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"@docusaurus/preset-classic": "3.4.0",
"@docusaurus/theme-mermaid": "3.4.0",
"@mdx-js/react": "^3.0.1",
"docusaurus-plugin-openapi-docs": "^1.5.1-hotfix1",
"docusaurus-theme-openapi-docs": "^1.5.1",
"docusaurus-plugin-openapi-docs": "3.0.1",
"docusaurus-theme-openapi-docs": "3.0.1",
"clsx": "^2.1.1",
"patch-package": "^8.0.0",
"prism-react-renderer": "^2.3.1",
Expand Down

0 comments on commit bf717c0

Please sign in to comment.