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

Toolkit improvements: version 0.4.0 #628

Merged
merged 11 commits into from
Nov 28, 2021

Conversation

unnamedd
Copy link
Collaborator

Description

Here we go for another improvement on our beloved Toolkit.
In this version, we improved a bit our auto-generated documents (the markdown) and for the JSON we added new properties.

For the README:

  • We are showing the packageName defined in the Script Command for the group (and then almost 100% of the time respecting cases of the service names)
  • We are escaping the use of pipes (|) in the Script Command description (in that way, the markdown table renderization won't be affected)
  • Some informations in the tables are now centralized

For the extensions.json:

  • Each group received a property called readme in each group in case the author have created README for the package
  • The main object received a property: languages which now shows all the languages used by the authors to create the Script Commands
  • Add support to PHP

Type of change

  • New script command
  • Bug fix
  • Improvement of an existing script
  • Documentation update
  • Toolkit change
  • Other (Specify)

Screenshot

Checklist

Copy link
Member

@thomaspaulmann thomaspaulmann left a comment

Choose a reason for hiding this comment

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

Nice iteration! Can't wait for the extension ;-)

@@ -117,7 +117,7 @@ private extension Documentation {

contentString += .newLine
contentString += .newLine + "| Icon | Title | Description | Author | Args | Templ | Lang |"
contentString += .newLine + "| ---- | ----- | ----------- | ------ | ---- | ----- | ---- |"
contentString += .newLine + "| :--: | ----- | ----------- | :----: | :--: | :---: | :--: |"
Copy link
Member

Choose a reason for hiding this comment

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

I didn't know about this syntax, nice!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@thomaspaulmann thomaspaulmann merged commit 68fe720 into raycast:master Nov 28, 2021
@unnamedd unnamedd deleted the Toolkit/Improvements branch December 3, 2021 14:04
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.

2 participants