Skip to content

Commit

Permalink
Update content/contributing-terms.en.md
Browse files Browse the repository at this point in the history
Co-authored-by: Matti Schneider <matti@opentermsarchive.org>
  • Loading branch information
Cli4d and MattiSG authored Sep 1, 2023
1 parent fffad68 commit 2e67db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/contributing-terms.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ Having understood briefly how a declaration is structured in JSON format, we nee
4. Create a JSON file with, as filename, the service ID of the service you are adding the declaration for. This JSON file should be in the `declarations` folder of the repository. To learn more about selecting the right service ID, please read the [declaring a new service](#declaring-a-new-service) section.
5. Visit the declaration URL and use [browser developer tools](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Tools_and_setup/What_are_browser_developer_tools) to inspect the page and find the right selectors for the significant section containing the terms you want to declare and parts to remove.
6. After you've properly chosen your selectors and structured your JSON file, you should test and validate your JSON file. To do this, you need to run `npx ota validate --services [service name]` from the root of the repository. This will run a validation on the declaration, highlighting any changes required.
7. If all tests are good, make a pull request to the main repository.
7. If all tests pass, open a pull request to the main repository.

You can read more about the [CLI](https://docs.opentermsarchive.org/#cli) to learn more about other tests and linting you can run on your declaration.

Expand Down

0 comments on commit 2e67db2

Please sign in to comment.