1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
🐍 Ocean Protocol's official documentation https://docs.oceanprotocol.com
Go to file
David Hunt-Mateo 3cfd49cb36
Issue #1004 specify consumer parameters type and required (#1005)
* Update consumerParameters section of DDO spec, specify type/required
2022-05-26 10:36:07 -04:00
.github limit test runs, fix TOC 2022-03-30 11:17:34 +01:00
.husky fix pre-commit hook 2021-01-28 12:36:06 +01:00
content Issue #1004 specify consumer parameters type and required (#1005) 2022-05-26 10:36:07 -04:00
data Issue-#989: Use singular form in section 2022-05-17 12:18:38 +02:00
docs Merge pull request #936 from oceanprotocol/v4 2022-03-31 12:06:48 +02:00
src Issue-#968: Add a check before rendering 404 2022-05-01 15:06:51 +02:00
static sitemap tweaks 2019-11-25 16:50:43 +01:00
.codeclimate.yml Fix: Lint issue 2021-07-08 23:00:48 +02:00
.env.sample copy updates 2018-11-11 04:02:34 +01:00
.eslintrc fix eslint 2021-05-25 14:29:00 +02:00
.gitignore Issue-#850: Aquarius rest api 2022-02-24 20:04:19 +01:00
.markdownlint.json Fix linter issues 2022-03-31 10:10:17 +03:00
.nvmrc add nvmrc 2021-05-25 14:08:01 +02:00
.prettierignore ignore external docs for linting 2018-11-14 15:46:30 +01:00
.prettierrc package updates 2020-07-01 11:28:50 +02:00
config.js Issue-#953: Move fees page to concepts 2022-04-19 17:51:42 +02:00
docker-compose.yml add Docker 2018-11-10 14:47:09 +01:00
Dockerfile add Docker 2018-11-10 14:47:09 +01:00
gatsby-browser.js package updates 2020-07-01 11:28:50 +02:00
gatsby-config.js Issue-#850: Aquarius rest api 2022-02-24 20:15:01 +01:00
gatsby-node.js Issue-#921: Include pre-release 2022-03-30 10:19:16 +02:00
LICENSE Initial commit 2018-11-07 11:01:48 +01:00
package-lock.json Merge pull request #979 from oceanprotocol/dependabot/npm_and_yarn/axios-0.27.2 2022-05-17 22:08:06 +02:00
package.json Merge pull request #979 from oceanprotocol/dependabot/npm_and_yarn/axios-0.27.2 2022-05-17 22:08:06 +02:00
README.md 2021 -> 2022 2022-02-24 10:27:33 +01:00

banner

docs

🐬 Ocean Protocol documentation. https://docs.oceanprotocol.com

Build Status Netlify Status Maintainability js oceanprotocol css bigchaindb


These docs are meant to be viewed on docs.oceanprotocol.com. You can still browse them here but links or images might not work in some places.

If you want to contribute to these docs, then keep reading.


Content

To write or update content, refer to the documentation of the documentation:

Development

The site is a React app built with Gatsby, pulling its content from local and external Markdown files, and from various APIs.

To start, clone this repo and set your GITHUB_TOKEN (see GitHub GraphQL API):

git clone git@github.com:oceanprotocol/docs.git
cd docs/

# add GITHUB_TOKEN
cp .env.sample .env
vi .env

Then install dependencies and start up the development server:

npm i
npm start

Alternatively, you can use Docker Compose to do the same, but without using your local system:

docker-compose up

Either one of these commands will expose a hot-reloading server under:

Linting & Formatting

To enforce a consistent code style, linting is setup for pretty much every file. Linting is part of the test suite, meaning builds on Travis will fail in case of linting errors.

In this repo the following tools are setup for that:

# only run linting checks
npm run lint

# auto-formatting of all js, css, md, yml files
npm run format

Editor Setup: VS Code

If you use VS Code as your editor, you can install those extensions to get linting as you type, and auto-formatting as you save:

⬆️ Deployment

Every branch or Pull Request is automatically deployed by Netlify with their GitHub integration. A link to a preview deployment will appear under each Pull Request.

The latest deployment of the main branch is automatically aliased to docs.oceanprotocol.com.

License

Copyright ((C)) 2022 Ocean Protocol Foundation Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.