-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add the first tutorial on writing plugins to readme docs directory #17930
docs: add the first tutorial on writing plugins to readme docs directory #17930
Conversation
@@ -1,9 +1,399 @@ | |||
--- | |||
title: "Create a new goal" | |||
slug: "create-a-new-goal" | |||
hidden: True | |||
excerpt: "Getting started writing plugins for Pants by creating a new goal." | |||
hidden: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made it visible, I believe this is what we want to do now that I've got the content?
@@ -1,9 +1,399 @@ | |||
--- | |||
title: "Create a new goal" | |||
slug: "create-a-new-goal" | |||
hidden: True | |||
excerpt: "Getting started writing plugins for Pants by creating a new goal." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added an excerpt; assuming it's something that can come from the .md file and doesn't have to exist in the readme.com beforehand.
createdAt: "2022-02-07T05:44:28.620Z" | ||
updatedAt: "2022-02-07T05:44:28.620Z" | ||
--- | ||
In this tutorial, you'll learn the basics needed to get started writing a plugin. You will create a new goal, `project-version`, which will tell you the version (retrieved from the `VERSION` text file) of a particular project in your monorepository. You will learn how to create a new custom target to refer to the `VERSION` file, how to author a new goal, and, most importantly, how to connect rules and targets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest is copy/paste from the original file that is now removed. Only updated the headers from ##
to ###
as I can see the readme.com has fairly large font for header 2.
…ory (pantsbuild#17930) Add the first tutorial on writing plugins to readme docs directory
Benjy has created a page for me in readme.com. This PR moves the file I had in markdown to this very page.