Typos fixed (lines 186, 768)

- syntax fixes (lines 342, 386)
This commit is contained in:
Darío Hereñú 2021-11-18 13:59:08 -03:00 committed by GitHub
parent 4fa9e29d78
commit 94115b2629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,7 @@ Components are grouped under the following sections:
* [Search](https://github.com/datopian/portal.js/tree/main/src/components/search): Components used for building a search interface for datasets * [Search](https://github.com/datopian/portal.js/tree/main/src/components/search): Components used for building a search interface for datasets
* [Blog](https://github.com/datopian/portal.js/tree/main/src/components/blog): Components for building a simple blog for datasets * [Blog](https://github.com/datopian/portal.js/tree/main/src/components/blog): Components for building a simple blog for datasets
* [Views](https://github.com/datopian/portal.js/tree/main/src/components/views): Components like charts, tables, maps for generating data views * [Views](https://github.com/datopian/portal.js/tree/main/src/components/views): Components like charts, tables, maps for generating data views
* [Misc](https://github.com/datopian/portal.js/tree/main/src/components/misc): Miscellaneos components like errors, custom links, etc used for extra design. * [Misc](https://github.com/datopian/portal.js/tree/main/src/components/misc): Miscellaneous components like errors, custom links, etc used for extra design.
### UI Components ### UI Components
@ -339,7 +339,7 @@ KeyInfo component accepts two properties:
The `ResourceInfo` components displays key properties like the name, size, format, modification dates, as well as a download link in a resource object. See an example of a `ResourceInfo` component in the `Data Files` section [here](https://portal-js.vercel.app/). The `ResourceInfo` components displays key properties like the name, size, format, modification dates, as well as a download link in a resource object. See an example of a `ResourceInfo` component in the `Data Files` section [here](https://portal-js.vercel.app/).
You can import and use the`ResourceInfo` component as demonstrated below: You can import and use the `ResourceInfo` component as demonstrated below:
```javascript ```javascript
import { ResourceInfo } from 'portal' import { ResourceInfo } from 'portal'
@ -383,7 +383,7 @@ The `ReadMe` component is used for displaying a compiled dataset Readme in a rea
> Note: By compiled ReadMe, we mean ReadMe that has been converted to plain string using a package like [remark](https://www.npmjs.com/package/remark). > Note: By compiled ReadMe, we mean ReadMe that has been converted to plain string using a package like [remark](https://www.npmjs.com/package/remark).
You can import and use the`ReadMe` component as demonstrated below: You can import and use the `ReadMe` component as demonstrated below:
```javascript ```javascript
import { ReadMe } from 'portal' import { ReadMe } from 'portal'
import remark from 'remark' import remark from 'remark'
@ -765,7 +765,7 @@ ___
## Concepts and Terms ## Concepts and Terms
In this section, we explain some of the terms and concepts used throughtout the portal.js documentation. In this section, we explain some of the terms and concepts used throughtout the portal.js documentation.
> Some of these concepts are part of officila specs, and when appropriate, we'll link to the sources where you can get more details. > Some of these concepts are part of official specs, and when appropriate, we'll link to the sources where you can get more details.
### Dataset ### Dataset
A dataset extends the [Frictionless data package](https://specs.frictionlessdata.io/data-package/#metadata) to add an extra organization property. The organization property describes the organization the dataset belongs to, and it should have the following properties: A dataset extends the [Frictionless data package](https://specs.frictionlessdata.io/data-package/#metadata) to add an extra organization property. The organization property describes the organization the dataset belongs to, and it should have the following properties:
```javascript ```javascript