Skip to content

Commit

Permalink
Update local search plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed Jan 17, 2020
1 parent 7d42721 commit 81a3ed2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/docs/apis/air-pollution.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $co = $owm->getAirPollution($type, $lat, $lng, $date = "current");

The return value depends on the `$type` and is discussed in the next sections.

### Carbon Monoxide (CO)
## Carbon Monoxide (CO)

```php
$co = $owm->getAirPollution("CO", "52", "13");
Expand All @@ -45,7 +45,7 @@ if ($co === null) {
}
```

### Ozone (O3)
## Ozone (O3)

```php
$o3 = $owm->getAirPollution("O3", "52", "13");
Expand All @@ -56,7 +56,7 @@ if ($o3 === null) {
}
```

### Nitrogen Dioxide (NO2)
## Nitrogen Dioxide (NO2)

```php
$no2 = $owm->getAirPollution("NO2", "52", "13");
Expand All @@ -69,7 +69,7 @@ if ($no2 === null) {
}
```

### Sulfor Dioxide (SO2)
## Sulfor Dioxide (SO2)

```php
$so2 = $owm->getAirPollution("SO2", "52", "13");
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ module.exports = {
],
],
plugins: [
// require('path').resolve(__dirname, '../../docusaurus-search-local/src'),
// require('path').resolve(__dirname, '../../docusaurus-search-local'),
'@cmfcmf/docusaurus-search-local'
]
};
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"deploy": "docusaurus deploy"
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^0.0.2",
"@cmfcmf/docusaurus-search-local": "^0.0.3",
"@docusaurus/core": "^2.0.0-alpha.40",
"@docusaurus/preset-classic": "^2.0.0-alpha.40",
"classnames": "^2.2.6",
Expand Down
8 changes: 4 additions & 4 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -837,10 +837,10 @@
lodash "^4.17.13"
to-fast-properties "^2.0.0"

"@cmfcmf/docusaurus-search-local@^0.0.2":
version "0.0.2"
resolved "https://registry.yarnpkg.com/@cmfcmf/docusaurus-search-local/-/docusaurus-search-local-0.0.2.tgz#ddc6503cf53d0c2b523b744259f7d09fc8763c65"
integrity sha512-HeTkKdt7KO1R7uXDJfeG1srzPePhbEZLXd0JodBw+L8XH0Ubcth4rHExjqMZH9KWdbNfzoii4qqchNzhkQuFew==
"@cmfcmf/docusaurus-search-local@^0.0.3":
version "0.0.3"
resolved "https://registry.yarnpkg.com/@cmfcmf/docusaurus-search-local/-/docusaurus-search-local-0.0.3.tgz#eb81d56faad5c75e554bd37ca300f6a4e83ea423"
integrity sha512-OElwHa/evfNaWkZ+8QggNeSH7O5m39HdTcWTxe6pyQgjr9pmXhczdWUa2yFw4RWiX2o7oxSwfkwuAhG/gfe0/g==
dependencies:
autocomplete.js "^0.37.0"
classnames "^2.2.6"
Expand Down

0 comments on commit 81a3ed2

Please sign in to comment.