From 14ee679dcd802c6507c344c4473f9e677042323c Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Sat, 26 Dec 2020 18:06:41 -0600 Subject: [PATCH 1/3] checks: allow for multi-line code blocks per https://github.com/iterative/dvc.org/pull/2054#pullrequestreview-558337058 --- .prettierrc | 2 +- content/blog/2019-12-14-november-19-dvc-heartbeat.md | 3 +-- content/blog/2020-02-10-february-20-dvc-heartbeat.md | 3 +-- content/blog/2020-02-17-a-public-reddit-dataset.md | 3 +-- content/blog/2020-04-06-april-20-dvc-heartbeat.md | 3 +-- content/blog/2020-10-12-october-20-dvc-heartbeat.md | 3 +-- content/docs/cml/cml-with-dvc.md | 3 +-- content/docs/cml/self-hosted-runners.md | 3 +-- 8 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.prettierrc b/.prettierrc index 365b1903fa..30dd9b6c3a 100644 --- a/.prettierrc +++ b/.prettierrc @@ -6,5 +6,5 @@ "printWidth": 80, "tabWidth": 2, "useTabs": false, - "proseWrap": "always" + "proseWrap": "preserve" } diff --git a/content/blog/2019-12-14-november-19-dvc-heartbeat.md b/content/blog/2019-12-14-november-19-dvc-heartbeat.md index 5212b8c890..c3b1277dc0 100644 --- a/content/blog/2019-12-14-november-19-dvc-heartbeat.md +++ b/content/blog/2019-12-14-november-19-dvc-heartbeat.md @@ -13,8 +13,7 @@ descriptionLong: | journey. The others are a collection of exciting stories and ideas centered around ML best practices and workflow. picture: 2019-12-14/post-image.jpeg -pictureComment: - How cool is this handmade swag from our community? We were in tears! +pictureComment: How cool is this handmade swag from our community? We were in tears! author: svetlana_grinchenko commentsUrl: https://discuss.dvc.org/t/november-19-dvc-heartbeat/284 tags: diff --git a/content/blog/2020-02-10-february-20-dvc-heartbeat.md b/content/blog/2020-02-10-february-20-dvc-heartbeat.md index a505548979..fae67b0814 100644 --- a/content/blog/2020-02-10-february-20-dvc-heartbeat.md +++ b/content/blog/2020-02-10-february-20-dvc-heartbeat.md @@ -12,8 +12,7 @@ descriptionLong: | projects by our users and big ideas about best practices in ML and data science. picture: 2020-02-10/heartbeat_black.png -pictureComment: - Just in time for Valentine's day, here's a seasonally-relevant DVC pipeline. +pictureComment: Just in time for Valentine's day, here's a seasonally-relevant DVC pipeline. author: elle_obrien commentsUrl: https://discuss.dvc.org/t/dvc-heartbeat-feburary-20/318 tags: diff --git a/content/blog/2020-02-17-a-public-reddit-dataset.md b/content/blog/2020-02-17-a-public-reddit-dataset.md index b7bb152bd4..475dc86888 100644 --- a/content/blog/2020-02-17-a-public-reddit-dataset.md +++ b/content/blog/2020-02-17-a-public-reddit-dataset.md @@ -1,6 +1,5 @@ --- -title: - AITA for making this? A public dataset of Reddit posts about moral dilemmas +title: AITA for making this? A public dataset of Reddit posts about moral dilemmas date: 2020-02-17 description: | Releasing an open natural language dataset based on r/AmItheAsshole. diff --git a/content/blog/2020-04-06-april-20-dvc-heartbeat.md b/content/blog/2020-04-06-april-20-dvc-heartbeat.md index 864f183c58..4b13908c88 100644 --- a/content/blog/2020-04-06-april-20-dvc-heartbeat.md +++ b/content/blog/2020-04-06-april-20-dvc-heartbeat.md @@ -14,8 +14,7 @@ descriptionLong: | projects by our users and big ideas about best practices in ML and data science. picture: 2020-04-06/april_header.png -pictureComment: - A view from [Barrancas del +pictureComment: A view from [Barrancas del Cobre](https://en.wikipedia.org/wiki/Copper_Canyon), shot by Jorge Orpinel Pérez. Jorge has mastered the art of working on DVC remotely. author: elle_obrien diff --git a/content/blog/2020-10-12-october-20-dvc-heartbeat.md b/content/blog/2020-10-12-october-20-dvc-heartbeat.md index f34c309029..06077c6a1d 100644 --- a/content/blog/2020-10-12-october-20-dvc-heartbeat.md +++ b/content/blog/2020-10-12-october-20-dvc-heartbeat.md @@ -10,8 +10,7 @@ descriptionLong: | new video docs on our YouTube channel, and the best tutorials from our community. picture: 2020-10-12/cover.png -pictureComment: - Double DeeVee! One of these birds is on a layover before heading to Germany. +pictureComment: Double DeeVee! One of these birds is on a layover before heading to Germany. author: elle_obrien commentsUrl: https://discuss.dvc.org/t/october-20-heartbeat/527 tags: diff --git a/content/docs/cml/cml-with-dvc.md b/content/docs/cml/cml-with-dvc.md index 35af6147bc..c60799bfab 100644 --- a/content/docs/cml/cml-with-dvc.md +++ b/content/docs/cml/cml-with-dvc.md @@ -82,8 +82,7 @@ Note that `AWS_SESSION_TOKEN` is optional. ```yaml env: - AZURE_STORAGE_CONNECTION_STRING: - ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} + AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} AZURE_STORAGE_CONTAINER_NAME: ${{ secrets.AZURE_STORAGE_CONTAINER_NAME }} ``` diff --git a/content/docs/cml/self-hosted-runners.md b/content/docs/cml/self-hosted-runners.md index 52be05f376..964b1f1d09 100644 --- a/content/docs/cml/self-hosted-runners.md +++ b/content/docs/cml/self-hosted-runners.md @@ -92,8 +92,7 @@ deploy-gce: shell: bash env: repo_token: ${{ secrets.REPO_TOKEN }} - GOOGLE_APPLICATION_CREDENTIALS_DATA: - ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DATA }} + GOOGLE_APPLICATION_CREDENTIALS_DATA: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DATA }} run: | echo "Deploying..." From 3a27d70a67c6aa1e1fce936114be6a9f17c1c14f Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Sat, 26 Dec 2020 18:11:03 -0600 Subject: [PATCH 2/3] manually format link in a blog pictureComment per https://github.com/iterative/dvc.org/pull/2060#pullrequestreview-558973213 --- content/blog/2020-04-06-april-20-dvc-heartbeat.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/content/blog/2020-04-06-april-20-dvc-heartbeat.md b/content/blog/2020-04-06-april-20-dvc-heartbeat.md index 4b13908c88..c1665b1ad8 100644 --- a/content/blog/2020-04-06-april-20-dvc-heartbeat.md +++ b/content/blog/2020-04-06-april-20-dvc-heartbeat.md @@ -14,12 +14,11 @@ descriptionLong: | projects by our users and big ideas about best practices in ML and data science. picture: 2020-04-06/april_header.png -pictureComment: A view from [Barrancas del - Cobre](https://en.wikipedia.org/wiki/Copper_Canyon), shot by Jorge Orpinel - Pérez. Jorge has mastered the art of working on DVC remotely. -author: elle_obrien -commentsUrl: https://discuss.dvc.org/t/april-20-heartbeat/347 -tags: +pictureComment: A view from + [Barrancas del Cobre](https://en.wikipedia.org/wiki/Copper_Canyon), shot by + Jorge Orpinel Pérez. Jorge has mastered the art of working on DVC remotely. + author: elle_obrien commentsUrl: + https://discuss.dvc.org/t/april-20-heartbeat/347 tags: - Heartbeat - Google Drive - MLOps From d0b2cf943067fe1c91ee90158a0de209220c8f72 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Sat, 26 Dec 2020 18:26:00 -0600 Subject: [PATCH 3/3] test: long lines in md and code block... --- .prettierrc | 1 - content/docs/user-guide/dvc-files.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.prettierrc b/.prettierrc index 30dd9b6c3a..6b2e0cbb6e 100644 --- a/.prettierrc +++ b/.prettierrc @@ -6,5 +6,4 @@ "printWidth": 80, "tabWidth": 2, "useTabs": false, - "proseWrap": "preserve" } diff --git a/content/docs/user-guide/dvc-files.md b/content/docs/user-guide/dvc-files.md index b9ebc4c3d3..286d867d62 100644 --- a/content/docs/user-guide/dvc-files.md +++ b/content/docs/user-guide/dvc-files.md @@ -143,7 +143,7 @@ stages: metrics: - performance.json training: - desc: Training stage description + desc: Training stage description blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah cmd: python train.py deps: - train.py @@ -161,7 +161,7 @@ stages: `dvc.yaml` files consists of a group of `stages` with names provided explicitly by the user with the `--name` (`-n`) option of `dvc run`. Each stage can contain -the following fields: +the following fields blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah: - `cmd` (always present): Executable command defined in this stage - `wdir`: Working directory for the stage command to run in (relative to the