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

[TASK] Overhaul the File structure to fit the new one #356

Closed
wants to merge 9 commits into from

Conversation

linawolf
Copy link
Member

@linawolf linawolf commented Jan 14, 2024

All changes are related to the file Documentation/GeneralConventions/FileStructure.rst I broke it up into separate commits

@linawolf linawolf changed the base branch from main to documentation-draft January 14, 2024 12:42
@linawolf linawolf self-assigned this Jan 14, 2024
Copy link
Contributor

@brotkrueml brotkrueml left a comment

Choose a reason for hiding this comment

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

In general, please do not provide such big PRs. I was on it approx. 1 hour to review it. And I have to review it again, when the changes are done. So don't expect the next review from me soon.


- :file:`Documentation/Settings.cfg`.
* A valid :file:`composer.json`
* A documentation entry point either for :ref:`Full documentation <full-documentation>`
Copy link
Contributor

Choose a reason for hiding this comment

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

Also a README can hold full documentation (in one file). Would use the word "manual" instead of "full documentation".

*single file documentation* style, the first being preferred for several
reasons.

* reST files have the extension :file:`.rst'.
Copy link
Contributor

Choose a reason for hiding this comment

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

In this chapter "reST" is not explained. Either explain it or link to an explanation.

The Settings.cfg configuration file allows you to set theme variables, i.e. the
project title, release version and the like.
To render a complete documentation manual you need a folder called
:file:`Documentation` with at least an entry point reStrutured Text file called
Copy link
Contributor

Choose a reason for hiding this comment

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

"with an entry point rest file" sounds strange. Had to read it twice to understand the meaning.

Copy link
Member Author

Choose a reason for hiding this comment

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

How would you call that file?

project title, release version and the like.
To render a complete documentation manual you need a folder called
:file:`Documentation` with at least an entry point reStrutured Text file called
:file:`Documentation\Index.rst` and a configuration file called
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead "called" would prefer "named", also one line above.

├── README.rst
└── Documentation
├── genindex.rst
├── Includes.rst.txt
├── About.rst
Copy link
Contributor

Choose a reason for hiding this comment

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

Where comes this "About.rst" from?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just to show that you also have normal content here

:file:`Documentation/guides.xml`
================================

This XML file contains meta information and configuration used during rendering
Copy link
Contributor

Choose a reason for hiding this comment

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

In general I suggest to start with a full guides.xml example, so people can see what the file looks like without reading the whole chapter.

:file:`README.rst` or :file:`README.md`
=======================================

Full documentation contains both a README.rst and a Documentation/Index.rst
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't like the phrase "full documentation" in this context.

So, this sentence says: Just add a README.rst and a Index.rst file and you have full documentation. That's it.

And why do I need a README.rst file?

Copy link
Member Author

Choose a reason for hiding this comment

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

I also dont get all of this, so I moved it to a separate file so it can be dealt with later. I didnt change the content, see attached commit

Documentation/GeneralConventions/ReadmeFile.rst Outdated Show resolved Hide resolved
Documentation/GeneralConventions/ReadmeFile.rst Outdated Show resolved Hide resolved
Documentation/GeneralConventions/ReadmeFile.rst Outdated Show resolved Hide resolved
linawolf and others added 2 commits January 14, 2024 21:22
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
@linawolf linawolf marked this pull request as draft January 14, 2024 20:51
@linawolf
Copy link
Member Author

@brotkrueml you are right. I transfered the first commit from this PR into a separate PR: #361 and already applied your suggestions from this review. After it is merged I will do the same with the next commit from this PR

@linawolf
Copy link
Member Author

I made separate PRs for each commit in this PR

@linawolf linawolf closed this Jan 26, 2024
@linawolf linawolf deleted the task/configuration branch November 22, 2024 14:51
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