-
Notifications
You must be signed in to change notification settings - Fork 39
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
Documentation for addons #260
Comments
Related: ScratchAddons/ScratchAddons#5091 |
@Hans5958 Good idea. So I guess each addon would have a very detailed description including why it was made, the github issue for it, and of course a very thorough explanation of what it is, etc. |
Right, if people have time to do so, that is. |
@Hans5958 [completely edited] Having docs for all addons would be very nice, but I think it's simply a bit too much work. Instead, maybe there can be more stats and short bits of info such as the GitHub issue for it on the addons page? |
To be fair, there is no priority for having each and every addon to have it's own fully descriptive page. I myself fine if we got missing pages. Also, cramping more information to an already long "Addons" page wouldn't be feasable. There is no rush, so thinking high is fine. |
I see what you're saying, but I don't think it would hurt to have pages on everything- there's no rush, after all. |
@Hans5958 True. We can start now. |
Some ideas on what we could include on each page:
This "wiki" should be categorized into website, editor, themes, and popup addons. |
player too |
@WorldLanguages In full screen settings and on the Addons page there should be a button or link that takes you to the corresponding wiki page of each addon. |
Got time for a little bit of writing here. For a while, I tried to think the parts of each page, and here's what I think is a good division. Keep in mind that each of these should be a section, and have it's section heading.
Also, I tried to think about the infobox that probably will be shown on the right side, just like Wikipedia infoboxes. The fields that will be included are as follows.
* automatically from manifest |
@Hans5958 LGTM! |
We can still discuss since I don't think I'm doing this tommorow or the day after. Also, it is Markdown-based, so building the "engine" for it would be separate than the content. EDIT: I think the one that is important to discuss now is about the tags? Should the status and category be separated and inferred for the tags? How would it inferred? |
IMO, the category/tag model should be changed in the extension itself. It's a pretty confusing system that hasn't really changed a lot in 2 years. |
whoops |
By the way, I also see Scradd (the Discord bot) has it's own way to get infer the categories based on the tags. Should something like that be implemented? |
I forgot: There is a good reference/example, right here: |
IMO, we should manually type the category in each page, until the addon.json format is changed and automating the logic is easier. But, if someone wants to, they can try to automate this. I just think it's not worth it. |
Ah, I see. I will think about it again later. |
Related: ScratchAddons/ScratchAddons#475 |
It uses the same logic as in the settings page. |
Hereby is the edits that I can do based on what I known. The source can be obtained by the "Quote reply" button.
Content---
title: Insert blocks by name
id: middle-click-popup
layout: addons
--- Insert blocks by nameInsert blocks by name is an addon which allows users to code more quickly by typing the name of blocks and inserting them at their mouse position, rather than having to search for them in the flyout. The popup is opened by middle clicking in the workspace or pressing BackgroundThe original version was made by Griffpatch for the Developer Tools extension. As part of a work to separate features from the Developer tools as individual addons, this addon has been made to its own addon. Features
SettingsPopup block sizeControls how big the blocks inside the menu appear. It is the height in pixels of a single block. Popup widthControls how wide the popup is. This is a percentage of the width of the entire window. Popup maximum heightControls how tall the popup can be before a scrollbar appears. This is a percentage of the hight of the entire window. Future plans
Known issues
CreditTacodiva made most of the addon as it stands today. Additionally, Griffpatch helped a lot by providing feedback and finding bugs in the overhauled version. Changelog
Trivia
GalleryTODO RelatedTODO Something to consider:
|
Another reason to change how we name our addons. Otherwise, italics seems okay. |
Wouldn't all addons be links to their respective page? In that case, we wouldn't need to choose a format for them, they would look like links, right? |
I agree on using italics for addons that no longer exist, have been renamed, or can't be linked to for any reason. |
Should we choose that addon names should be italicized, then, from an English language perspective, this should technically apply to links as well. However, should addon names be italicized in the first place? Italics are for longer works and quotes are for shorter works. Drawing an analogy, one would expect Scratch Addons to be italicized and "Addon name" to be quoted. We don't even use title case for addon names, so using the formatting for a larger work doesn't really make sense. |
Will the addon articles share the sidebar with the rest of the docs? I can see the pages tree become really long. Also, does it really make sense to have user-facing docs and developer docs merged? |
That might be a good point, and with clear separation the section, I think it's fine. |
For known issues we might want to link a github post. |
It's been a while, but I wanted to keep tabs if people are still interested in contributing this. Otherwise, the docs would still empty after months upon merging. |
I could add a page or two but it'll take a while to fill them out properly. |
I wouldn't be against helping, especially with mine, but it's not like anyone can fill out a large portion of them at once. I vote we just create "stub" wiki pages that say we'll add details soon, and then maybe require a new page to be included with each new addon? Also do we want these to be translated? That would take a ton of work so probably not. |
I would definitely be interested in writing a few pages. As for translation, I think we shouldn't worry about it for now as it is nowhere near as easy as translating strings in add-ons, and managing everything would probably be more complicated as well. |
Probably not. |
I'll just open it for translation and somehow they will come for translate it (or not, but that's because there are no deadlines, or contracts). |
Ideally, we would, but it's a big task. However, we could always try opening up for translation requests and see what happens, especially if the documentation starts small. We probably won't create very many articles that quickly, so hopefully the translation team wouldn't be overwhelmed. Writing articles at a pace at which the translators can keep up might help make it happen. I would probably enjoy doing a translation or two every once in a while when I've got nothing else to do, if I became fluent in another language. |
Is the "Addons" text the heading? If so, it seems like a waste of space so I vote we don't include it. |
Yes. Compare it with the second image on the post before it. |
It looks better without heading IMO. |
I see a plenty of interest here. Yeah, never would I expect for the docs to be completed in one or two days. That would be stupid. A question before I merge it or some sort: What do you guys feel about merging it now, minus the placeholders and the TODO text, which I think would be replaced with an admonition**?** About the heading, I won't add the heading, then. |
My take is that it has to happen at some point so why not now? |
Alright, I think I did everything that makes it ready to be merged. I also added Addon Docs in this repo's wiki for future reference. Reviews are welcome on both issues. For the note, #389 is ready to be merged. |
Merged. Now, you guys can start adding pages. If you want to add stubs, go ahead, even on all pages. I would say I welcome outside reviews, approvals, and change requests. This should make it easier for validation. Don't forget to read https://github.com/ScratchAddons/website-v2/wiki/Addon-Docs. |
I have thought this for a while, but I forgot to create an issue here. So, here it goes.
There should be a section on the docs where every addon is documented, complete with the description, related images, better attribution, rationale, video/image demonstration, and so on. This is different that the Addons page, which is more simplified in mind.
This is like your usual Fandom wiki where each characters (and others) are described, but change the characters to Scratch Addons' addons.
I'm thinking to put this on
/docs/addons/...
, and this should work in tandem with ScratchAddons/ScratchAddons#364.This issue should focus on the framework of the documentation. The planning of the contents the page should come later, but we should discuss what is worth to include on the documentation.
The text was updated successfully, but these errors were encountered: