Skip to content

doc improve datatype subsection#968

Closed
bruno-at-bareos wants to merge 15 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno-at-bareos/doc_improve-datatype-addresses
Closed

doc improve datatype subsection#968
bruno-at-bareos wants to merge 15 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno-at-bareos/doc_improve-datatype-addresses

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Nov 3, 2021

This PR is an improvement of data-types subsubsection of the documentation.

- Update all data-type to uppercase
- Update all index to match data-type
- Update all index syntax
- Sort alphabetically all data-type
- Make indentation (3) uniform everywhere
- Add description to each data-type

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing

- Rename datatype ADDRESS ADDRESSES to address and addresses
- Add more examples
- Fix typos

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
@pstorz pstorz self-assigned this Nov 4, 2021
@bruno-at-bareos bruno-at-bareos changed the title doc improve datatype addresses doc improve datatype subsection Nov 4, 2021
@bruno-at-bareos bruno-at-bareos changed the title doc improve datatype subsection [WIP] doc improve datatype subsection Nov 4, 2021
@bruno-at-bareos bruno-at-bareos changed the title [WIP] doc improve datatype subsection doc improve datatype subsection Nov 8, 2021
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

Definitely a huge improvement of that section.

Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

  • the CHANGELOG.md record should have its own Commit
  • there's a typo "complete remork" in one of the commits

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

nothing left to complain about :)

@arogge arogge assigned joergsteffens and unassigned pstorz Nov 10, 2021
@bruno-at-bareos
Copy link
Contributor Author

bruno-at-bareos commented Nov 11, 2021

I've done a final round of check and modification following @joergsteffens recommendations.
Mainly make value visible (like PINT16, etc) and giving most link back to other section of the documentation.

- Update all data-type to uppercase
- Update all index to match data-type
- Update index syntax
- Sort alphabetically all data-type
- Make indentation (3) uniform everywhere
- Add description to each data-type and link to other part
- Upgrade subsubsection to subsection (visible in toc)
- Use crosslink to config:option when necessary

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
The Bareos configuration directives are expected to be written in CamelCase.
It turned out, that this is not always the case,
resulting in mismatch of documentation files and broken internal links.

This changes renames some configuration directives into proper CamelCase.
It also tries to convert directives into proper CamelCase,
adds link targets also for :config:option: with 2 components
and produces warnings on dangling links,
Fix broken :config:option: links.
Add Sphinx directives for datatypes:

.. config:datatype:: DATATYPE

and references to it:

:config:datatype:`DATATYPE`
Use :config:datatype: in generated config directives table and descriptions.
The script generate-bareos-package-info.py is used to generate parts of the documentation.
When it exits with error, the build process is stopped.
If Bareos config directices are not in CamelCase,
the script raises an error.
@joergsteffens joergsteffens requested a review from a team November 24, 2021 18:42
@bruno-at-bareos bruno-at-bareos removed the request for review from a team November 25, 2021 08:42
@bruno-at-bareos
Copy link
Contributor Author

@joergsteffens @arogge can one of you push the merge button ?

@arogge arogge self-assigned this Nov 25, 2021
@joergsteffens joergsteffens mentioned this pull request Nov 30, 2021
12 tasks
@joergsteffens
Copy link
Member

Replaced by PR #1008

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.

4 participants