Skip to content
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

Add documentation for custom plugins #137

Merged
merged 6 commits into from
Mar 17, 2021
Merged

Conversation

martina-if
Copy link
Contributor

@martina-if martina-if commented Mar 15, 2021

[Ch1422]

Is this the right place in the sidebar?

plugins_docs

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #1486: Support Contenful's tech radar.

@dtuite
Copy link
Member

dtuite commented Mar 16, 2021

@martina-if You know the build failed right? All good if so. 👍

Copy link
Member

@dtuite dtuite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to manually edit the sidebar of the documentation to add a link to your page. Let's make a new section called "Advanced" in the sidebar and put this page in there.

https://github.com/RoadieHQ/marketing-site/blob/main/src/components/doc/Sidebar.js

The directory structure for this page of docs should then be content/docs/advanced/custom-plugins/index.md.

Also, this needs a rebase.

content/docs/custom-plugins/index.md Outdated Show resolved Hide resolved
content/docs/custom-plugins/index.md Outdated Show resolved Hide resolved
content/docs/custom-plugins/index.md Outdated Show resolved Hide resolved
content/docs/custom-plugins/index.md Outdated Show resolved Hide resolved
content/docs/custom-plugins/index.md Outdated Show resolved Hide resolved
3. Build your plugin (e.g. yarn install && yarn tsc && yarn build)
4. Publish your plugin npm publish
5. (Optional) Check the registry npm info `@<your-company>-roadie/<package-name>`

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to verify that everything worked or something we can tell the user to do as a next step? It feels kinda inconclusive down here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK we don't have anything for that yet. I added this story to the custom plugin epic https://app.clubhouse.io/larder/story/1571/give-user-feedback-on-publishing-operation

This is for the old way of adding a custom plugin so we should decide if we want to build that or just add the feedback in the new way of adding custom plugins. I will ask Iain anyways in case I missed something.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we could explain how we will notify them when their custom plugin shows up?

It might also be worth saying that future updates to the plugin won't require re-submission of the form or manual steps and thus should be must faster.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what you mean by this

Perhaps we could explain how we will notify them when their custom plugin shows up?

We can't see when it shows up. Should we say, we will notify them on slack when the first build is ready?

I will add now the second part you mention

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah exactly. We haven't told them what happens after they submit the Google form, so they won't know when the plugin is installed and ready to use. We should tell them that we will notify them via their shared Slack channel or via email when the plugin is ready to use after being installed the first time.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments to the prerequisites, and the end of the file. Let me know what you think about those

content/docs/custom-plugins/index.md Outdated Show resolved Hide resolved
@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #1422: Change documentation links in the Backstage code.

content/docs/custom-plugins/index.md Outdated Show resolved Hide resolved
3. Build your plugin (e.g. yarn install && yarn tsc && yarn build)
4. Publish your plugin npm publish
5. (Optional) Check the registry npm info `@<your-company>-roadie/<package-name>`

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we could explain how we will notify them when their custom plugin shows up?

It might also be worth saying that future updates to the plugin won't require re-submission of the form or manual steps and thus should be must faster.

@martina-if
Copy link
Contributor Author

I added the conclusion section but it feels like the wrong word for this. Perhaps "next steps" or "what to expect next" or something similar would be better.

@martina-if martina-if requested a review from dtuite March 17, 2021 13:22
dtuite
dtuite previously approved these changes Mar 17, 2021
@dtuite
Copy link
Member

dtuite commented Mar 17, 2021

The pre tag is causing horizontal scrolling on mobile but most of our traffic is desktop so we can fix it later.

@martina-if martina-if merged commit 1bbca4f into main Mar 17, 2021
@martina-if martina-if deleted the add-custom-plugin-docs branch March 17, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants