Skip to content

Commit 25a0698

Browse files
authored
Merge pull request #50 from pflooky/docs-fix-links
2 parents ef07ba9 + 3b03a5f commit 25a0698

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/docs-site-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
mkdocs-material-
3030
- run: pip install mkdocs-open-in-new-tab mike
3131
- run: pip install mkdocs-material
32-
- run: cp README.md docs/index.md
32+
- run: cat README.md | sed 's/docs\///g' | sed 's/CONTRIBUTING.md/contributing.md/g' > docs/index.md
33+
- run: cat CHANGELOG.md | sed 's/docs\///g' > docs/changelog.md
3334
- run: cp CONTRIBUTING.md docs/contributing.md
34-
- run: cp CHANGELOG.md docs/changelog.md
3535
- run: mike deploy --push --update-aliases ${{ github.ref_name }} latest

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This document tracks the history and evolution of the **Open Data Contract Stand
1616
* Reformat quality examples to be valid YAML.
1717
* Type of definition for authority have standard values: `businessDefinition`, `transformationImplementation`, `videoTutorial`, `tutorial`, and `implementation`.
1818
* Add in `isUnique`, `primaryKeyPosition`, `partitionKeyPosition`, and `clusterKeyPosition` to `column` definition.
19-
* Add [JSON schema](schema/odcs-json-schema.json) to validate YAML files for v2.2.1.
19+
* Add [JSON schema](https://github.com/bitol-io/open-data-contract-standard/blob/main/schema/odcs-json-schema.json) to validate YAML files for v2.2.1.
2020
* Integrated as part of [Bitol](https://lfaidata.foundation/projects/bitol/).
2121
* Reformat Markdown tables.
2222

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Thanks for your interest and for taking the time to come here! ❤️
1010
This standard describes a structure for a **data contract**. It's current version is v2.2.2. It is available for you as an Apache 2.0 license. Contributions are welcome!
1111

1212
## Discover the open standard
13-
Discover the [Open Data Contract Standard](docs/index.md). This file contains some explanations and several examples. More [examples](docs/examples/index.md) can be found here.
13+
Discover the [Open Data Contract Standard](docs/standard.md). This file contains some explanations and several examples. More [examples](docs/examples/index.md) can be found here.
1414

1515
## What is a Data Contract?
1616

@@ -23,13 +23,13 @@ A data contract defines the agreement between a data producer and consumers. A d
2323
* Security & stakeholders.
2424
* Custom properties.
2525

26-
![Data contract schema](./docs/img/data-contract-v2.2.1-schema.svg "Data contract schema")
26+
![Data contract schema](docs/img/data-contract-v2.2.1-schema.svg "Data contract schema")
2727

2828
*Figure 1: illustration of a data contract, its principal contributors, sections, and usage.*
2929

3030
### JSON Schema
3131

32-
JSON Schema for ODCS can be found [here](schema/odcs-json-schema.json). You can import this schema into your IDE for
32+
JSON Schema for ODCS can be found [here](https://github.com/bitol-io/open-data-contract-standard/blob/main/schema/odcs-json-schema.json). You can import this schema into your IDE for
3333
validation of your YAML files. Links below show how you can import the schema:
3434

3535
- [IntelliJ](https://www.jetbrains.com/help/idea/json.html#ws_json_schema_add_custom)
@@ -82,7 +82,7 @@ mike set-default --push latest #by default, users will go to
8282
```
8383

8484
#### Deploying a new version
85-
Given that the Github action [here](.github/workflows/docs-site-deploy.yaml) it set to trigger when a new tag version is
85+
Given that the Github action [here](https://github.com/bitol-io/open-data-contract-standard/blob/main/.github/workflows/docs-site-deploy.yaml) it set to trigger when a new tag version is
8686
created, all that is required is to:
8787
1. [Create a new release](https://github.com/bitol-io/open-data-contract-standard/releases)
8888
2. Put in new tag version for release (follows pattern v*)

0 commit comments

Comments
 (0)