Skip to content

Commit f7f312e

Browse files
theletterfjarrodek
authored andcommitted
Update README.MD (#606)
Fixed basic grammar, style, etc.
1 parent 2d13379 commit f7f312e

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

README.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,31 @@ MuleSoft's API Console is a full-fledged API documentation tool that generates m
88

99
## API console 5.0 is here!
1010

11-
Great news! Next version of API console is here! The upgrade includes new design, new data model and and build process that allows reduce size of the console.
11+
Great news! The next version of API console is here! The upgrade includes new design, new data model and and build process that allows to reduce the size of the console.
1212

1313
### AMF (AML Modeling Framework) support
1414

1515
We are working very hard to deliver first in class solutions for API documentation.
16-
MuleSoft's AMF allows to parse any* API document and produces common data model. API console consumes this model instead of RAML JS parser's.
1716

18-
\* Currently AMF supports RAML 0.8, RAML 1.0, OAS 2.0 and OAS 3.0. It can be extended by defining new vocabulary to support other API spec formats.
17+
MuleSoft's AMF allows to parse any* API document and produces common data model. API console consumes this model instead of RAML JS parsers.
18+
19+
\* Currently, AMF supports RAML 0.8, RAML 1.0, OAS 2.0 and OAS 3.0. It can be extended by defining new vocabularies to support other API spec formats.
1920

2021
### Redesign
2122

22-
New API console has been tested with users and the redesigned, then tested with used again and then redesigned again to ensure we offer best in class API documentation tools.
23-
New navigation allows understand structure of the API better and users can navigate through the documentation faster.
23+
The new API console has undergone several rounds of testing and redesign to ensure that we offer best in class API documentation tools.
24+
25+
The revamped navigation allows to better understand the structure of the API, and users can navigate through the documentation faster.
2426

25-
New documentation page focuses on presenting the information which is the API and not features of the app itself. This allows users to learn faster and be more productive.
27+
The new documentation pages focus on presenting the API and not features of the app itself. This allows users to learn faster and be more productive.
2628

27-
### Re-build
29+
### Rebuild
2830

29-
New [build tools][] allows you to customize the bundle to your needs and possibly reduce size of the console even more than when using default settings. Check out "Building the console" section for more information.
31+
New [build tools][] allows you to customize the bundle to your needs and possibly reduce the size of the console even more than when using default settings. Check out the "Building the console" section for more information.
3032

3133
## Introduction
3234

33-
API console is an web application created on top of the [Web Components specifications](https://www.webcomponents.org/introduction) and powered by the [Polymer library](https://www.polymer-project.org/). Familiarity with Polymer isn't necessary to use the console.
35+
API console is a web application created on top of the [Web Components specifications](https://www.webcomponents.org/introduction) and powered by the [Polymer library](https://www.polymer-project.org/). Familiarity with Polymer isn't necessary to use the console.
3436

3537
The following sections briefly describe how to build and use the console. For more information, see the [docs](docs) directory in this repository.
3638

@@ -62,11 +64,11 @@ To build the API Console as a standalone application use our [build tools][].
6264

6365
### Using API components
6466

65-
This is advanced option for developers to embed the console or one of it's components into existing web page.
67+
This is an advanced option for developers to embed the console or one of its components into existing web page.
6668

67-
API console is a web component. This mean it can be used in any web environments (browser, Chrome frame, Electron app etc). Also it can be mixed with any framework as it does not reference other frameworks.
69+
API console is a web component. This mean it can be used in any web environments (browser, Chrome frame, Electron app, etc.). Also, it can be mixed with any framework, as it does not reference other frameworks.
6870

69-
This version of the console still works with `bower` as a dependency manager as it works with HTML imports. Next version will work with ES6 module imports which supports npm as a dependency management system.
71+
This version of the console still works with `bower` as a dependency manager, as it works with HTML imports. Next version will work with ES6 module imports, which supports npm as a dependency management system.
7072

7173
First, use [Bower][] to install the console and its dependencies:
7274

@@ -88,13 +90,13 @@ Finally use the HTML tag:
8890
</body>
8991
```
9092

91-
See complete documentation about how to import sources into your web page in the [api console element docs][]. Also, if you are a developer you can check out [demo application source code][].
93+
See the complete documentation on how to import sources into your web page in the [api console element docs][]. Also, if you are a developer check out the [demo application source code][].
9294

93-
You can also build API Console as a embeddable HTML element using one of our [build tools][].
95+
You can also build API Console as an embeddable HTML element using one of our [build tools][].
9496

9597
## API Console configuration options
9698

97-
Configuration options differ from the previous version. Because API Console is a (custom) HTML element its configuration is based on HTML attributes. You can pass values as an attribute value, or use a boolean option by simply setting the attribute. Configuration from JavaScript code is based on setting a JavaScript property as the attribute name on the element. If the attribute name contains dashes then make the property name [camel case][].
99+
Configuration options differ from the previous version. Because API Console is a (custom) HTML element, its configuration is based on HTML attributes. You can pass values as an attribute value, or use a boolean option by simply setting the attribute. Configuration from JavaScript code is based on setting a JavaScript property as the attribute name on the element. If the attribute name contains dashes, then convert the property name to [camel case][].
98100

99101
Example:
100102

@@ -110,11 +112,11 @@ console.narrow = true;
110112
console.appendHeaders = 'x-api-key: 1234';
111113
```
112114

113-
See the full list of API Console configuration options in the [configuring the api console][] document.
115+
See the full list of API Console configuration options in [configuring the api console][].
114116

115117
## Build tools
116118

117-
A set of build tools is included to help you create API Console from the RAML file. Build tools are configured to produce a production optimized version of API Console. The build tools can generate both standalone and embeddable version of the console. You can also configure data source strategy (RAML, JSON or inline JSON as a data source).
119+
A set of build tools is included to help you create API Console from the API specification file. Build tools are configured to produce a production optimized version of API Console. The build tools can generate both standalone and embeddable version of the console. You can also configure the data source strategy (RAML, JSON, or inline JSON as a data source).
118120

119121
The following build tools are available:
120122

@@ -123,9 +125,9 @@ The following build tools are available:
123125
* `api-console-builder`
124126
* `amf-client-js`
125127

126-
Depending on your needs you can choose whether you want to use a CLI tool or a node module.
128+
Depending on your needs, you can choose whether you want to use a CLI tool or a node module.
127129

128-
Build tools can be helpful in the CI process to automate the documentation release cycle. See the [build tools][] documentation for more information and build strategies.
130+
Build tools can be helpful in the CI process to automate documentation release cycles. See the [build tools][] documentation for more information and build strategies.
129131

130132
## Theming
131133
API Console supports theming and comes with a default theme. You can create your own theme. For example, you can tweak the style of the console to match your corporate style guide.
@@ -136,7 +138,7 @@ Theming is based on CSS variables and CSS mixins. Basic concepts of using the va
136138

137139
Cross-origin resource sharing (CORS) allows sharing resources from one domain to other domains. Browsers block all requests to other domains but with a special set of headers authors can allow other domains to request a resource. For more information, see the [CORS Wiki][].
138140

139-
If your API does not allow CORS and you hosting your API documentation in different domain then API Console won't be able to make a request to an endpoint. API Console currently supports 3 ways of dealing with this issue:
141+
If your API does not allow CORS and you are hosting your API documentation in different domain, API Console won't be able to make a request to an endpoint. API Console currently supports three ways of dealing with this issue:
140142

141143
- by installing the __API Console Chrome extension__
142144
- by setting up a __proxy server__
@@ -146,7 +148,7 @@ Read our [CORS guideline][] for more information about each of these solutions.
146148

147149
## Preview and development
148150

149-
The API Console is a custom element that serves as a shell element for other custom web components. To develop the API Console most probably you'd have to develop one of over a hundred other web components that creates the console. All the elements are described in [the elements catalog][the elements catalogue].
151+
The API Console is a custom element that serves as a shell element for other custom web components. All the elements are described in [the elements catalog][the elements catalogue].
150152

151153
1. Clone the element.
152154
```
@@ -169,7 +171,7 @@ bower install && npm i
169171
polymer serve --open
170172
```
171173

172-
5. If you are planning to parse own RAML/OAS file then additionally run this command to run AMF parsing service for the demo page:
174+
5. If you are planning to parse your own RAML/OAS file, run this command to run AMF parsing service for the demo page:
173175
```
174176
npm start
175177
```

0 commit comments

Comments
 (0)