Closed Nirus2000 closed 3 months ago
Hi Nirus2000, do you mean something like a style guide? There are quite a few mentioned by Writethedocs.org.
I'm currently trying to update the PP manual. I could try to make a condensed and appropriate (for us) version of one of those styleguides mentioned above.
Hello @hug-sch Yes, that is exactly what we are looking for. We would like to set a standard so that the manual is created uniformly. This is about video formats, light instead of dark theme, organization and structure, graphics and so on.
We would be happy if you could support us here.
Regards Alex
Hello @Nirus2000 I have started creating the style guide. You can find a beginning of it at CONTRIBUTING.md. I will regularly add to it while writing the PP manual. Please, feel free to comment.
Hello @hug-sch starting a pull request to work together... 👍🏻
The project uses a https://github.com/squidfunk/mkdocs-material/discussions/2346:
Can the rules explain how to contribute different languages. For example, Is the content of the different languages a translation or is the content independent? Is there a main language with all content?
https://github.com/portfolio-performance/portfolio-help/blob/master/CONTRIBUTING.md#writing-setup
At present, the manual is available in two languages: English (en) and German (de).
I suggest inserting: Each language is a separate version and contributors translate the content manually.
All documentation pages should be stored within these directories; including images and assets (e.g. demo-portfolio.xml).
What about shared content? See https://github.com/squidfunk/mkdocs-material/discussions/2346#discussion-3240838
I suggest inserting:
Each language is a separate version and contributors translate the content manually.
I agree. Have updated the contributing.md following your suggestion.
What about shared content? See squidfunk/mkdocs-material#2346 (comment)
The link above describes a possible solution. I'm not sure there will be many translations or extensive need for shared content between the language modules.
I'd emphasize markup is text, so concentrate on the content before the (simple) syntax to format it.
Go to GitHub and click on Sign up.
How about:
Sign in to GitHub (or Create an account if you don't have one).
https://github.com/portfolio-performance/portfolio-help#contributing seems overly complex. Perhaps something like https://dokuwiki.librecad.org/doku.php/usage:faq#can_i_easily_contribute_on_github would be simpler and adequate for most contributions?
Visit the manual at https://help.portfolio-performance.info or keep reading to make contributions.
For simplicity there are two types of contributions:
You can easily contribute on GitHub with a simple pull request (term to offer a change). For example, click the Edit on GitHub link in the top right-hand corner of any Manual page to go to the page. You will need to Sign in to GitHub (or Create an account if you don't have one) to change the files.
Hints
Many GitHub files are in a special format, for example, the User Manual uses markdown which is just enhanced text. Codes are used to format the document so a simple search in the browser will only find text formatted the same (and Chrome would search the file but Firefox would only search the screen). If the change is simple you might be able to stay within existing formatting, try a blank line before/after the change or perhaps copy a similar formatted section from elsewhere and change it. If you mess it up get help or submit it anyway and let the repository owner fix it.
Each contribution should have its own branch so just start again. If you missed something in the pull request just open up your repository branch, change it and commit a new change.
This process will only work for one file and you can repeat it for two. If the contribution changes multiple files or has many edits use a complex contribution process described in the section below.
...
A developer is needed to create the default rule. It is about formats, video resolutions, writing, image formats, structure, content overlays etc.
The "Contributing rules" from Portfolio Performance can serve as a template here.