-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* major sync with dvc.org * Update yarn.lock * Fix broken link on docs index Co-authored-by: rogermparent <[email protected]>
- Loading branch information
1 parent
22de500
commit 66362c6
Showing
14 changed files
with
85 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
**Please see our contributing guide at | ||
[dvc.org](https://dvc.org/doc/user-guide/contributing/docs).** | ||
[cml.dev](https://cml.dev/doc/contributing/docs).** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,32 +4,29 @@ name: Check new links against deployment | |
on: | ||
- deployment | ||
- deployment_status | ||
|
||
jobs: | ||
run: | ||
name: Initialize | ||
runs-on: ubuntu-latest | ||
if: github.event.deployment.ref != 'master' && github.event.deployment_status.state == 'success' | ||
|
||
if: | ||
github.event.deployment.ref != 'master' && | ||
github.event.deployment_status.state == 'success' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- id: build_check | ||
uses: LouisBrunner/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: Report | ||
status: queued | ||
|
||
- name: Run Link Check | ||
id: check | ||
uses: 'iterative/link-check.action@v0.7' | ||
uses: iterative/link-check.action@v0.8 | ||
with: | ||
diff: true | ||
configFile: 'config/link-check/config.yml' | ||
configFile: config/link-check/config.yml | ||
rootURL: '${{ github.event.deployment.payload.web_url }}' | ||
output: checksAction | ||
|
||
- uses: LouisBrunner/[email protected] | ||
if: ${{ success() }} | ||
with: | ||
|
@@ -38,7 +35,6 @@ jobs: | |
status: completed | ||
conclusion: ${{ steps.check.outputs.conclusion }} | ||
output: ${{ steps.check.outputs.output }} | ||
|
||
- uses: LouisBrunner/[email protected] | ||
if: ${{ failure() }} | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.cache/ | ||
.github | ||
public/ | ||
.github/PULL_REQUEST_TEMPLATE.md | ||
src/components/pages/Home/UseCasesSection/index.tsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,45 @@ | ||
# CML website | ||
![CML](https://static.iterative.ai/img/title_strip_trim.svg) | ||
|
||
This repo hosts the Gatsby-based website for | ||
[CML](https://github.com/iterative/cml). | ||
[![CircleCI](https://circleci.com/gh/iterative/cml.dev.svg?style=svg)](https://circleci.com/gh/iterative/cml.dev) | ||
[![Link Check](https://github.com/iterative/cml.dev/workflows/Check%20all%20links%20in%20the%20repository/badge.svg)](https://github.com/iterative/cml.dev/actions?query=workflow%3A%22Check+all+links+in+the+repository%22) | ||
|
||
It's primarily a marketing website with some light docs, but the primary docs | ||
are in the GitHub README. | ||
[CML](https://github.com/iterative/cml) project website's source code. | ||
[Documentation](https://cml.dev/doc) content. Contributions are welcome! | ||
|
||
## Running this site locally | ||
# Contributing Docs | ||
|
||
Start by cloning this repo: | ||
Please see our [Contributing guide](https://cml.dev/doc/contributing/docs) for | ||
more details. | ||
|
||
Get the full history with | ||
## Running this site locally | ||
|
||
```bash | ||
git clone https://github.com/iterative/cml.dev | ||
``` | ||
|
||
Alternatively, you can save some space with a shallow clone: | ||
|
||
```bash | ||
git clone --depth 1 https://github.com/iterative/cml.dev | ||
``` | ||
|
||
From here, go into the cloned directory and install packages | ||
|
||
```bash | ||
# Alternatively, save space with a shallow clone: | ||
# git clone --depth 1 https://github.com/iterative/cml.dev | ||
cd cml.dev | ||
# Install dependencies | ||
yarn | ||
``` | ||
|
||
With the setup finished, you can now spin up the development server at | ||
`localhost:8000` with `gatsby develop` or try a full local build at | ||
`localhost:9000` with `gatsby build && gatsby serve`. | ||
|
||
# Getting help | ||
|
||
If you have any questions, please join the [community](https://cml.dev/chat) and | ||
use the `#dev-docs` channel to discuss any issues in our website or docs. We are | ||
very responsive and happy to help. | ||
|
||
# Copyright | ||
|
||
Source code of this project is distributed under the Apache license version 2.0 | ||
(see the LICENSE file in the project root). | ||
|
||
Except where otherwise noted, documentation, blog content, images are licensed | ||
under a [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. | ||
|
||
By submitting a pull request for this project, you agree to license your | ||
contribution under the Apache license 2.0 (source code) or CC BY 4.0 | ||
(documentation). Exceptions could be made to content. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
rootURL: https://cml.dev | ||
fileIncludePatterns: '{.github,content,src}/**/*!(.test).{css,js,jsx,md,tsx,ts,json}' | ||
fileExcludePatternFile: config/link-check/excluded-files.yml | ||
linkExcludePatternFile: config/link-check/excluded-links.yml | ||
linkOptions: | ||
'(*.)?github.com': | ||
minTime: 1000 | ||
maxConcurrent: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- 'http://localhost:8000**' | ||
- 'http://localhost:9000**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters