Snowflake Guides serves as a collection of what previously were "Snowflake Quickstarts" and "Snowflake Solutions Center" along with some new additional types of content.
Guides are interactive tutorials and self-serve demos written in markdown syntax. Guides provide a unique step-by-step reading experience and automatically saves tutorial progress for readers. These tutorials are published at: https://www.snowflake.com/en/developers/guides/
You can submit your own Guides to be published on Snowflake's website by submitting a pull request to this repo. This repository contains all the tools and documentation you’ll need for building, writing, and submitting your own Guide.
- Powerful and flexible authoring flow in Markdown text
- Ability to produce interactive web or markdown tutorials without writing any code
- Easy interactive previewing (using GitHub or Visual Studio Code preview feature)
- Support for anonymous use - ideal for public computers at developer events
- Looks great, with web implementation on snowflake.com
- Anchors to content to make it easy to scroll on a single page
Please note that the DevRel team has a 24 business hour SLA for approving PRs. Please do not post in #devrel to notify the team of submissions or send DMs unless the 24 hours have passed. Please note there will be delays during US holidays.
- A GitHub account
- [Optional] A code editor (e.g. VS Code) if you choose to publish or make changes through your local environment
-
Fork this repository to your GitHub account (top right of webpage,
forkbutton)If you have already forked the repository, you can go to your branch and select 'sync fork' to update the repository
-
In your fork, select the 'site' folder on the home page -> Then select the 'sfguides/src' folder.
Ensure you are in your local branch and the path on your page is 'sfquickstarts/site/sfguides/src/'
-
Click "Add file" --> "Create new file"
-
In the "Name your file" field, type your new folder name followed by a "/", then a file name inside it that ends in '.md'.
-- Please ensure both of these names match exactly (these are case sensitive)
-- Please use hyphens, no underscores
-- Ensure your folder uses lower case alphabets and "Hyphens (-)" and not "Underscores(_)" in folder name
-- Example: my-guide/my-guide.md -
Start authoring in markdown format using the template housed under site -> sfguides/src -> _template -> markdown.template. Select the 'preview' button at the top left to see a preview of your guide.
Required fields: language, category tags, id, author name, status (leave this as published)
Optional Fields: summary, environments, feedback link, fork repo link, open in Snowflake -
To submit related assets with your guide, create an 'assets' subfolder under your existing guide folder.
-- Navigate to your guide folder and type 'assets' to create your new sub-folder. Then select 'add file' to upload files directly into the 'assets' sub-folder
-- Do not create further sub-folders within 'assets'
-- Please be mindful of image requirements noted here. Image size must be less than 1MB. -
Select 'Create a new branch for this commit and start a pull request.' Update the name of the of the branch
-
On the next page, in the light gray box at the top of the page update from 'base: master' to 'base: Snowflake-Labs/sfquickstarts' to compare your changes made on your branch to the main repository.
-
Update the name and optionally add a description to your request. Create the pull request.
Note: It is recommended to create a draft pull request, run all your checks, then mark as ready for review, so we know it's ready to merge immediately.
Please Note: All PRs have automated checks run against them. The checks assess for the following (please confirm these are met prior to submission):
-
Categories are applied from the approved list
-
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
-
Language tag must be populated (see here for the list)
-
Fork this repository to your GitHub account (top right of webpage,
forkbutton)If you have already forked the repository, you can go to your branch and select 'sync fork' to update the repository
-
In your fork, select the 'site' folder on the home page -> Then select the 'sfguides/src' folder.
-
In your fork, navigate to the folder for your guide.
-
In the folder, select the markdown (.md) file. Select the pencil icon in the top right to edit the markdown file. Make your edits directly in the file and select the 'preview' button at the top left to see a preview of your guide.
-
Select 'Create a new branch for this commit and start a pull request.' Update the name of the of the branch
-
On the next page, in the light gray box at the top of the page update from 'base: master' to 'base: Snowflake-Labs/sfquickstarts' to compare your changes made on your branch to the main repository.
-
Update the name and optionally add a description to your request. Create the pull request.
Note: It is recommended to create a draft pull request, run all your checks, then mark as ready for review, so we know it's ready to merge immediately.
Watch a demo here
Create a New Guide or Edit an Existing Guide Locally
Please note this is for advanced users who are familiar with using Github on their local environment
-
Fork this repository to your personal GitHub account (top right of webpage,
forkbutton) -
Clone your new fork
git clone [email protected]:<YOUR-USERNAME>/sfquickstarts.git sfquickstarts -
Navigate to the directory
cd sfquickstarts/site/src -
Create a new branch
git checkout -b <your-branch-name>(make sure you are working on a new branch and not onmaster!) If you need to synchronize your branch with your repo:git push --set-upstream origin <your-branch-name> -
Copy the template folder and rename it appropriately to create a new Guide: (e.g.
cp _markdown-template my-quickstart-name-herein your terminal). or Browse to the Guide you wish to edit, click the directory and edit the existing files in the directory -
Start authoring in markdown format using the template housed under site -> sfguides/src -> _template -> markdown.template.
-
Make sure you select the appropriate content type, industries, language and category tags from the list in this Guide. You will not be able to merge your changes without this step!
-
Review Get Started with Guides to learn more about about the specifics. It will give you details on formatting, layout, and requirements.
-
Guidance for labeling flow of the guide: Overview, Prerequisites, What You Will Build, What You Will Learn, What You Learned, Conclusion, Resources (e.g., links, docs, blogs, videos)
-
Search the current Quickstarts repository to confirm you are not duplicating content that is already created (consolidate your content where possible)
Guides are not in the scope of Snowflake Global Support. Please do not file support cases for issues or errata in a Guide.
However, pull requests are welcome! If you encounter an issue in a Guide (outdated copy or data, typos, broken links, etc.), please submit a pull request and contribute to keeping our Guides up to date and awesome.
Thank you for helping us maintain a high quality bar and consistency across all Snowflake Developer Guides!