Skip to content

Commit

Permalink
fix: DocSearch (#773)
Browse files Browse the repository at this point in the history
* update api-key

* run lint

* remove env

* add .env to gitignore
  • Loading branch information
tomfrenken authored Apr 13, 2022
1 parent b1951d2 commit da0d5c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ yarn-error.log*

*.iml
.idea/
.env
4 changes: 2 additions & 2 deletions docs/js/features/odata/generate-odata-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ This file is used for generation and contains a mapping from the original file n

- `directoryName` - the name of the subdirectory the client code will be generated into.
- `servicePath` - the URL path to be prepended before every request.
By default, this is read from the EDMX file, if available.
Otherwise, the value will be set as `VALUE_IS_UNDEFINED`, and an error will be logged.
By default, this is read from the EDMX file, if available.
Otherwise, the value will be set as `VALUE_IS_UNDEFINED`, and an error will be logged.
In this case, you can specify `servicePath` in the `serviceMapping.json` manually and re-generate again.
- `npmPackageName` - the name of the npm package, if a `package.json` is generated.
This information is optional.
Expand Down
3 changes: 2 additions & 1 deletion docs/js/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ To easily search for services and get typed client library for them, use our [AP

### Fixed Issues
-->

## 2.2.0 [Core Modules] - Apr 6, 2022

### Compatibility Notes

- [eslint-config] Replace `valid-jsdoc` with `eslint-plugin-jsdoc` plugin for checking JSDoc comments, since the `valid-jsdoc` rule is deprecated in ESLint.
To stop your project from using a specific rule, turn it off by setting the rule ID to `off` under the `rules` key inside your configuration file.
To stop your project from using a specific rule, turn it off by setting the rule ID to `off` under the `rules` key inside your configuration file.
- [generator] Stop exporting service classes (e.g., `BusinessPartnerService`) from generated clients, use `businessPartnerService()` instead.
- [generator] Stop exporting API classes (e.g., `BusinessPartnerAPI`) from generated clients, use `businessPartnerService().businessPartnerApi` instead.

Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ module.exports = {
darkTheme: require('prism-react-renderer/themes/dracula')
},
algolia: {
apiKey: '84d46c71e9f2445436400effad7c4e1b',
apiKey: '441c57554e5a0ca9338cc9f047fb10c8',
indexName: 'sap_cloud-sdk',
// appId: 'app-id', // Optional, if you run the DocSearch crawler on your own
appId: 'E4A268JVO0',
algoliaOptions: {} // Optional, if provided by Algolia
},
// ***************************************************************
Expand Down

0 comments on commit da0d5c3

Please sign in to comment.