-
Notifications
You must be signed in to change notification settings - Fork 566
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
WIP: Proposal for meta documentation #3463
Conversation
AboutDoc Dir+ Branch
Documentation-About Upload
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.
Bunch of comments, mostly fairly brief. Not complete yet, but I got about 2/3 of the way through.
AboutDoc/Documentation_About.rst
Outdated
The documentation is written in reStructured Text, or ReST. | ||
This is a plain text format encoded in UTF-8. | ||
It contains special syntax so formatting can be applied by third-party tools. | ||
The tool used by Openshot is Sphinx to create both the online HTML and the offline manual. |
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 tool used by Openshot is Sphinx to create both the online HTML and the offline manual. | |
The tool used by OpenShot is Sphinx to create both the online HTML and the offline manual. |
Drawing a distinction between "the online HTML and the offline manual" is a bit dubious here, since they're exactly the same HTML. A copy of what is otherwise the "offline manual" gets uploaded to the openshot.org site after it's generated by the build servers. (So, certainly the sentence as-is isn't wrong... other than the capitalization.)
AboutDoc/Documentation_About.rst
Outdated
You can suggest improvements or submit small changes for our documentation on our Github here: | ||
https://github.com/OpenShot/openshot-qt/issues/2989 | ||
|
||
Or in *this* reddit thread. |
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.
...Where?
AboutDoc/Documentation_About.rst
Outdated
|
||
Or in *this* reddit thread. | ||
|
||
.. TODO: Reddit thread to be made, bookmarked?, add hyperlink |
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.
Ah. Maybe remove the previous line, and jut make the TODO about adding Reddit info?
AboutDoc/Documentation_About.rst
Outdated
License | ||
------- | ||
We use the GPL-3 license (see above) for documentation, see the header. | ||
This is for simplicity because it is the same license as the project code. | ||
And because the documentation gets parsed in other tools before it reaches its final form. |
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 don't know that it's really worth belaboring all the details here.
License | |
------- | |
We use the GPL-3 license (see above) for documentation, see the header. | |
This is for simplicity because it is the same license as the project code. | |
And because the documentation gets parsed in other tools before it reaches its final form. | |
License | |
------- | |
Project documentation is licensed under the same license as the source code. | |
Specifically, the GNU General Public License version 3 or higher (GPLv3+); see the document header. |
AboutDoc/Documentation_About.rst
Outdated
Github | ||
------ | ||
In the issue tracker, subjects that contain explanations that should probably be included in the documentation can be labeled ** `docs. <https://github.com/OpenShot/openshot-qt/labels/docs>`_ ** | ||
Questions that are answered often in Github or Reddit can be tagged *FAQ* / are tagged **question** |
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 'question' tag is actually auto-applied to any issue opened using the Question template. (Which is one of the reporting options we've defined a template for. The others are Bug Report and Feature Request, which apply the 'bug' and 'enhancement' tags respectively.)
So, it's really not an indicator of any particular status, since it's chosen by the user.
We also don't have a FAQ tag — perhaps we should, but we currently don't.
AboutDoc/Documentation_About.rst
Outdated
- Copyright notice | ||
- Openshot description | ||
- Openshot disclaimer | ||
- License notice |
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.
These are really all just one four-paragraph block, our standard header. (It serves as all of those things, but they shouldn't be considered separate things.)
AboutDoc/Documentation_About.rst
Outdated
- Writing that way, there is no worrying about line length or when to wrap. | ||
- It encourages shorter, simpler sentences which is a good thing when writing docs. | ||
- The diffs when changes are submitted also tend to be more readable and focused. | ||
- Lines are easier to translate and less likely to be changed. |
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.
Again, nix all mentions of translation please. Especially since this one also isn't true, or at least doesn't matter. When Sphinx outputs translation files, it flows sentence-per-line blocks back together and exports the entire paragraph as a single translation string.
AboutDoc/Documentation_About.rst
Outdated
Translation | ||
----------- | ||
Translation files are generated and managed by Sphinx. | ||
If the images are not translated, they will default back to the original. | ||
Filenames do not get translated. | ||
There may be translation notes hidden in the documentation, blocked out with \.. TRANSLATION NOTE: | ||
|
||
Files for translation will be hosted at `Launchpad <https://translations.launchpad.net/openshot/2.0/+translations>`_. | ||
|
||
When translating numbers referencing a screenshot in non-western languages, please make sure to update the screenshot too. | ||
If available, images of the translation should be saved in their subdirectory *(to be decided)* | ||
|
||
.. TODO: Add subdirectory | ||
|
||
.. TRANSLATION NOTE: After translating tables, make sure that the underlining of table rows stay the same length as the new words. |
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.
Nope to all of this, too. It should probably go. 😞
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.
Drawing a distinction between "the online HTML and the offline manual" is a bit dubious here, since they're exactly the same HTML. A copy of what is otherwise the "offline manual" gets uploaded to the openshot.org site after it's generated by the build servers. (So, certainly the sentence as-is isn't wrong... other than the capitalization.)
Hey, that is on you, for explaining Sphinx too well. 😁
"Plus, WYSIWYG to some extent implies a particular layout, whereas docs can be generated from reST using a variety of styles and formats, so the same docs will look very different depending how it's processed."
If it could, I thought it would. So I presumed that the offline doc would be PDF. (And possibly Epub, Winhelp/CHM/MShelp2, RTF, Writer and whatnot versions could exist.)
If they do not exist, then that line can indeed be shortened.
Or in this reddit thread.
Ah. Maybe remove the previous line, and jut make the TODO about adding Reddit info?
**It's a proposal that I did not feel up to me to decide. **
**It also depends on if topics on Reddit can be sticky to the top, how often you expect changes to the Help be needed, and if you have someone to regularly check it. **
I thought it could be a low-level way for people to make small suggestions. But if it is on top it may get abused, and if it is not on top it will be unable to find.
Since the meta-documentation is on github, it is probably fair to asume that the readers have an account. But if there are other places that suggestions for the docs are made, they should be listed so you can check them to see if something needs to be added.
I don't know that it's really worth belaboring all the details here.
(Re license info) I agree that it could be phrased shorter, but I was intentionally going for completeness of the details.
In five years the docs may need another large overhaul and someone is bound to ask; 'why is this not under CC license?' (Like I did). And you may not be here to explain.
The 'question' tag is actually auto-applied to any issue opened using the Question
Every 'question' is a question, but not all questions are the same.
Questions that get asked a lot should be in the FAQ, even (especially) if the answere is no, the asker does not stay around or it is already in the docs.
Questions with a good/complex answer may (partially) be used to update the docs or be in the FAQ, even if they are also an enhancement or bug.
So yes, I am proposing the creation of a FAQ-tag and more rigorous use of the Doc-tag. (Every time a new feature is added, it should be documented or screenshots may need updating.)
For example, I am waiting for #3346 to make it into the dailys so the framenumber will be included in the new screenshots.
People updating Docs or FAQ may do so every few months or once a year. Being able to sort issues on tags is probably faster then using the 'new feature' list from updates or working through all closed enhancements.
Reddit also seems to support tags, though I have not figured out how yet. If you have a regular Reddit-watcher, (s)he may want to add tag too.
Again, nix all mentions of translation please.
Yes, you mentioned that at the end of the other topic, was leaving it in for completion. (And maybe someone has an alternative)
Disappointing that it won't work in Sphinx. However, shorter lines may remain relevant if you process the Rest source files in other translation programs. OTOH, translating entire paragraphs can have benefits as some languages prefer longer sentences.
So I propose to hide it, and leave it till a process for translation is decided upon.
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.
You can reply to individual comments directly, in context, BTW. Instead of combining them all together. It helps a lot, in keeping track of the various points raised; each of the individual conversations can be marked "Resolved" when that item has been dealt with.
In addition to the comments on specific details that I left above, a couple of general questions/notes:
To embed a .. todo::
Some note that should normally be invisible, but can be made visible.
.. todo:: For short notes, the entire thing can be on one line.
(The directive doesn't have to be all-lowercase, though it's more typical. But any capitalization is technically legal.) And then (after converting an existing TODO comment into a |
Github. It must have jumped back to the root again when creating the new branch or when I switched or something. It was intended to be a subdirectoy of docs, as then it would be easily found by people wanting to edit the docs. |
It's easy enough to fix, we can just add a commit to the PR that moves the directory. (Renames all of the files inside it, effectively.) |
@MBB232: You asked, elsewhere,
Yeah, exactly. Any you want to incorporate into the PR, you can do that right from the suggestion. In fact, when suggestions are related (particularly in the same file), you can use "Add to batch" to queue them up and apply them all as a single commit. |
Added all changes that I agreed with. Co-authored-by: Frank Dana <ferdnyc@gmail.com>
test. Comment keeps disappearing I left it for a while in case others wanted to comment too. I merged most of the easy things you committed. Should the copyright notice in the template be redone in the old format too? As the headers are hidden, they are not processed by Spinx so the single-line does not really matter. Good that you caught the name of the template, I guess I have a bad case of CamelType writing 😁 Because I recreated my fork, I can confirm that the action is send with the updated source too. It is not automatically activated. |
Added most other suggestions in new branch, not sure what would happen if I made the changes directly in my pull request branch. Although I saw that your commits were included in it now. |
@MBB232 You can keep committing and pushing to this PR branch. It won't break anything. Worst case, it might mark some comments as no longer relevant, but it doesn't delete any history on this PR. Go for it! At the bottom of all these comments, it always says something like |
* Rename AboutDoc/Documentation_About.rst to doc/AboutDoc/Documentation_About.rst Fix directory * Rename AboutDoc/template.rst to doc/AboutDoc/template.rst move template to doc/AboutDoc * Update Documentation_About.rst fix OpenShot name * Update Documentation_About.rst .. Todo:: tags * Update Documentation_About.rst License description shortening, update with lines from @ferdnyc + my own rewrite. * Update Documentation_About.rst Added most changes as suggested. * Update Documentation_About.rst
If it's going to serve as a template, then yeah. It should contain the header as we'd want it to be used in any new files, which would be an exact copy of the header from any of the existing files (possibly with the year(s) modified).
You should definitely make the changes on your |
Old Copyright license markup back into the template. Should the template be 2008-2020 or 2020-????
Add custom styling for: * Menu selections * File paths * Inline icon images * "keycaps"-type styling for key combos
@MBB232 I pushed in the lion's share of my CSS changes, as well as some documentation changes that make use of them... which I'm now realizing I probably shouldn't have, since you mentioned wanting to keep those separate. So I'll probably back those out. (Edit: Backed out. They're over on my Do you have an in-progress branch for changes to the User Guide files? If you open a PR from it I can push the changes there, instead. |
Added Wiki FAQ and Reddit Common Issues links
Merge conflicts have been detected on this PR, please resolve. |
We have made some major changes to our documentation recently, and I am closing this PR until conflicts and merges can be resolved. |
Proposal for description of how documentation files can be structured + template (based on existing documentation)
meta-art like numbers, arrows and fonts for documentation pictures can be saved to this directory,