Skip to content

Commit 88ca10d

Browse files
Merge pull request #2669 from Snowflake-Labs/guides-updates
Update get-started-with-guides.md
2 parents c7c4f7d + 58c42f9 commit 88ca10d

File tree

1 file changed

+91
-33
lines changed

1 file changed

+91
-33
lines changed

site/sfguides/src/get-started-with-guides/get-started-with-guides.md

Lines changed: 91 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ author: Snowflake DevRel Team
1010

1111
## Components of a Guide
1212

13+
The following sections explain the various headings of a guide that are required to keep the look and feel consistent.
14+
1315
### Overview
1416

15-
Please use [this markdown file](site/sfguides/src/_markdown-template/) as a template for writing your own Snowflake Guides. This example guide has elements that you will use when writing your own guides, including: code snippet highlighting, downloading files, inserting photos, and more.
17+
Please use [this markdown file](https://github.com/Snowflake-Labs/sfquickstarts/tree/master/site/sfguides/src/_markdown-template) as a template for writing your own Snowflake Guides. This example guide has elements that you will use when writing your own guides, including: code snippet highlighting, downloading files, inserting photos, and more.
18+
1619

17-
It is important to include on the first page of your guide the following sections: Prerequisites, What you'll learn, What you'll need, and What you'll build. Remember, part of the purpose of a Snowflake Guide is that the reader will have **built** something by the end of the tutorial; this means that actual code needs to be included (not just pseudo-code or concepts).
1820

1921
Previously, we had Quickstarts and Solutions which are now combined into a single page for "Guides" at [www.snowflake.com/en/developers/guides](https://www.snowflake.com/en/developers/guides/) page. Going forward, we encourage users to think along creating **logged out experiences** or **topic pages.** A few examples of these pages are:
2022

@@ -44,30 +46,47 @@ Previously, we had Quickstarts and Solutions which are now combined into a singl
4446
- Once you complete this guide, you should be able to create your "Snowflake Guide" and submit it using the updated process.
4547

4648

49+
### Layout Basics
4750

48-
### Conclusion & Next Steps
51+
At a minimum, the Guide should include the following headings and subheadings:
4952

50-
The Conclusion and Next Steps section is one of the most important parts of a guide. This last section helps to sum up all the information the reader has gone through, and in many ways should read like a [TLDR summary](https://www.howtogeek.com/435266/what-does-tldr-mean-and-how-do-you-use-it/#post-435266:~:text=How%20Do%20You%20Use%20TLDR%3F,you%E2%80%99re%20the%20author%20or%20commenter.%20Using).
53+
```
54+
## Overview
55+
It is important to include on the first page of your guide the following sections: Prerequisites, What you'll learn, What you'll need, and What you'll build.
56+
Remember, part of the purpose of a Snowflake Guide is that the reader will have **built** something by the end of the tutorial;
57+
this means that actual code needs to be included (not just pseudo-code or concepts).
5158
52-
There are three main sub-headers in a Conclusion step:
59+
### Prerequisites
60+
Include the basic requirements to get started in this subtopic
5361
54-
1. a general conclusion paragraph
55-
2. "What We've Covered" section with a bulleted list of things
56-
3. "Related Resources" with links to various other resources, other guides, docs, videos, GitHub source code, etc.
62+
### What You'll Learn
63+
Include what the end user will learn in this subtopic
5764
58-
It's also important to remember that by the time a reader has completed a Guide, the goal is that they have actually built something! Guides teach through hands-on examples -- not just explaining concepts.
65+
### What You'll Build
66+
Include what the end user will build with the Guide in this subtopic
67+
68+
69+
70+
## Hands-on topics
71+
Cover the main components as H2s that appear on the right column menu.
5972
60-
### What We've Covered
61-
- Creating steps and setting duration
62-
- Adding code snippets
63-
- Embedding images and videos
64-
- Importing other markdown files
6573
66-
### Related Resources
67-
- [SFGuides on GitHub](https://github.com/Snowflake-Labs/sfguides)
68-
- [Learn the GitHub Flow](https://guides.github.com/introduction/flow/)
69-
- [Learn How to Fork a project on GitHub](https://guides.github.com/activities/forking/)
7074
75+
## Conclusion & Resources
76+
77+
This last section helps to sum up all the information the reader has gone through.
78+
79+
By the time a reader has completed a Guide, the goal is that they have actually built something!
80+
Guides teach through hands-on examples -- not just explaining concepts.
81+
82+
83+
### What you Learned
84+
Re-iterate what the users learned with this Guide
85+
86+
### Resource Links
87+
Add any links that can be helpful to the readers.
88+
89+
```
7190

7291

7392
<!-- ------------------------ -->
@@ -116,15 +135,15 @@ These steps are defined in Markdown using Header 2 tag `##`.
116135
Sub-steps will use a Header 3 tag `###` and so forth. Please avoid going beyond H4 `####`.
117136

118137
```markdown
119-
## Step 1 Title
138+
## Step 1 Title (H2)
120139

121140
All the content for the step goes here.
122141

123-
## Step 2 Title
142+
## Step 2 Title (H2)
124143

125144
All the content for the step goes here.
126145

127-
### Subheading for Step 2
146+
### Subheading for Step 2 (H3)
128147

129148
**This text will be bold.**
130149
__This text will also be bold.__
@@ -139,7 +158,8 @@ All the content for the step goes here.
139158

140159
This section covers the basic markdown formatting options that you will need for your QuickStart.
141160

142-
Look at the [markdown source for this sfguide](https://github.com/Snowflake-Labs/sfquickstarts/blob/master/site/sfguides/src/_template/markdown.template) to see how to use markdown to generate code snippets, info boxes, and download buttons.
161+
Look at the [markdown source for this sfguide](https://github.com/Snowflake-Labs/sfquickstarts/tree/master/site/sfguides/src/_markdown-template) to see how to use markdown to generate code snippets, info boxes, and download buttons.
162+
> **Ctrl+Click** (Windows/Linux) or **Cmd+Click** (macOS) to open links in a new tab. This is useful when following along instructions in a guide.
143163
144164
#### Things to Keep in Mind
145165
Sticking to these guidelines ensures that all Guides have a similar look and feel. Keeping the document clean helps create a good end-user experience.
@@ -219,8 +239,21 @@ for (statement 1; statement 2; statement 3) {
219239
220240
CODE:
221241
```
222-
> Adding an Info Box:
223-
> Pick the messages above and use this code. This will appear as an info box.
242+
> [!NOTE]
243+
> This is an informational aside.
244+
245+
> [!TIP]
246+
> A positive or helpful note.
247+
248+
> [!IMPORTANT]
249+
> Something you shouldn’t overlook.
250+
251+
> [!WARNING]
252+
> A cautionary message.
253+
254+
> [!CAUTION]
255+
> A serious negative or danger message.
256+
224257
```
225258

226259

@@ -257,7 +290,9 @@ CODE:
257290

258291

259292
#### Images
260-
![Puppy](assets/puppy.jpg)
293+
294+
![](assets/puppy.jpg "Cute Puppy")
295+
261296

262297
Please DO NOT use HTML code for adding images.
263298
Use this markdown format for images:
@@ -404,7 +439,9 @@ create new tags if you don't see them in the list.
404439
| Serverless Tasks | snowflake-site:taxonomy/snowflake-feature/serverless-tasks |
405440
| Snowpark | snowflake-site:taxonomy/snowflake-feature/snowpark |
406441
| Snowpipe Streaming | snowflake-site:taxonomy/snowflake-feature/snowpipe-streaming |
407-
442+
| Snowflake Intelligence | snowflake-site:taxonomy/snowflake-feature/snowflake-intelligence |
443+
| Data Lake | snowflake-site:taxonomy/snowflake-feature/data-lake |
444+
| Horizon | snowflake-site:taxonomy/snowflake-feature/horizon |
408445

409446
### Industries Category
410447

@@ -418,6 +455,9 @@ create new tags if you don't see them in the list.
418455
| Retail & Consumer Goods | snowflake-site:taxonomy/industry/retail-and-cpg |
419456
| Sports | snowflake-site:taxonomy/industry/sports |
420457
| Telecom | snowflake-site:taxonomy/industry/telecom |
458+
| Transportation | snowflake-site:taxonomy/industry/transportation |
459+
| Travel and Hospitality | snowflake-site:taxonomy/industry/travel-and-hospitality |
460+
421461

422462

423463
<!-- ------------------------ -->
@@ -446,15 +486,30 @@ You can also use the Google Docs feature of saving to Markdown, however please r
446486
<!-- ------------------------ -->
447487
## Submitting Your Guide
448488

449-
The process to submit your Guide has been simplified.
450489

451-
- Create a Fork for the main repo and begin writing and formatting your guide.
452490

453-
- Once you are done with the content creation process for your guide, create a Pull Request in GitHub and submit.
491+
**The process to submit your Guide has been simplified**
492+
493+
- Create a Fork for the main repo and begin writing and formatting your guide (top right of webpage, `fork` button)
494+
> If you have already forked the repository, you can go to your branch and select 'sync fork' to update the repository
495+
496+
- In your fork, select the 'site' folder on the home page -> Then select the 'sfguides/src' folder and navigate to the folder for your guide.
497+
498+
- Once you are done with the content creation process or editing of your guide, create a Pull Request in GitHub and submit.
499+
500+
- The pull request goes through a validation process to ensure the appropriate formatting and tags are used. If any errors are detected, you will be notified of them in a comment on GitHub **before** submitting the PR.
454501

455-
- The pull request goes through a validation process to ensure the appropriate formatting and tags are used. If any errors are detected, you will be notified of them **before** submitting the PR.
456502

457-
- Please correct any errors and try submitting the PR again. If all looks ok, the PR comes to DevRel team for approval.
503+
**Please Note:**
504+
All PRs have automated checks run against them. The checks assess for the following (please confirm these are met prior to submission):
505+
1. Categories are applied from the [approved list](https://www.snowflake.com/en/developers/guides/get-started-with-guides/#language-and-category-tags)
506+
507+
2. ID criteria (second line in template): id must exist, id must be separated by dashes, id must be lowercase, id must match the markdown file name (without .md extension), id must match the immediate folder name the file is in
508+
509+
3. Language tag must be populated (see [here](https://www.snowflake.com/en/developers/guides/get-started-with-guides/#language-and-category-tags) for the list)
510+
511+
512+
- Correct any errors and try submitting the PR again. If all looks ok, the PR comes to DevRel team for approval.
458513
At this point, a staging URL is generated in GitHub that can be reviewed.
459514

460515
- The DevRel team will approve the PR to publish it to www.snowflake.com/en/developers/guides page.
@@ -469,6 +524,8 @@ The process to submit your Guide has been simplified.
469524

470525
Congratulations! You should now be able to create, format and submit a guide.
471526

527+
528+
472529
### What We've Covered
473530
- The basic components of a Guide
474531
- Metadata configuration to include
@@ -481,8 +538,9 @@ Congratulations! You should now be able to create, format and submit a guide.
481538
- [SFGuides on GitHub](https://github.com/Snowflake-Labs/sfguides)
482539
- [Learn the GitHub Flow](https://guides.github.com/introduction/flow/)
483540
- [Learn How to Fork a project on GitHub](https://guides.github.com/activities/forking/)
484-
- [Markdown template that can be used](https://github.com/Snowflake-Labs/sfquickstarts/blob/master/site/sfguides/src/_template/markdown.template).
485-
- [Submit a Repository Request](https://docs.google.com/forms/d/1AQ0SOMi0-kAHHluEx9HJDDUctwisHqrSVWo-wvfDMwU/edit#responses) to obtain a repo in Snowflake Labs GitHub.
541+
- Video on [How to Fork a Repo](https://youtu.be/ePRJHFXU6n4)
542+
- [Markdown template that can be used](https://github.com/Snowflake-Labs/sfquickstarts/tree/master/site/sfguides/src/_markdown-template).
543+
- Video on [How to Edit a Guide](https://youtu.be/yd9LXsvTSTU)
486544

487545
### EXAMPLES:
488546

0 commit comments

Comments
 (0)