Skip to content

Commit

Permalink
docs: update lock + general cleanup (apache#19350)
Browse files Browse the repository at this point in the history
* docs: update lock file

* remove redundant npm lock file

* add missing peer deps

* fix TODO and bump antd

* fix API spec script
  • Loading branch information
villebro authored and philipher29 committed Jun 9, 2022
1 parent 36ef4cd commit 855bb53
Show file tree
Hide file tree
Showing 7 changed files with 10,030 additions and 18,872 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This website is built using [Docusaurus 2](https://docusaurus.io/), a modern sta
### Installation

```
$ yarn
$ yarn install
```

### Local Development
Expand Down
22 changes: 5 additions & 17 deletions docs/docs/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ global.Buffer = Buffer;
import SwaggerUI from 'swagger-ui-react';
import openapi from '/resources/openapi.json';
import 'swagger-ui-react/swagger-ui.css';
// import { Alert } from "antd";
import { Alert } from 'antd';

## API

Expand All @@ -18,28 +18,16 @@ Superset's public **REST API** follows the
documented here. The docs bellow are generated using
[Swagger React UI](https://www.npmjs.com/package/swagger-ui-react).

<!--
TODO: (corbinrobb) Uncomment Alert if/when antd gets added and remove Infima alert. Fix SwaggerUI readability in dark mode.
-->

<!-- <Alert
<Alert
type="info"
message={

<div>
<strong>NOTE! </strong>
You can find an interactive version of this documentation on your local Superset
instance at <strong>/swagger/v1</strong> (if enabled)
instance at <strong>/swagger/v1</strong> (unless disabled)
</div>

}
/> -->

<div class="alert alert--info" role="alert">
<strong>NOTE! </strong>
You can find an interactive version of this documentation on your local Superset
instance at <strong>/swagger/v1</strong> (if enabled)
</div>
}
/>

<br />
<br />
Expand Down
Loading

0 comments on commit 855bb53

Please sign in to comment.