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

[doc] remove indentation #24515

Closed
wants to merge 1 commit into from
Closed

Conversation

Zimmi48
Copy link
Member

@Zimmi48 Zimmi48 commented Mar 31, 2017

Motivation for this change

The standard in XML doc files in nixpkgs is not to use indentation.
The files changed by this commit were found by browsing the NixOS manual and spotting odd indentation in command listings, as well as spurious new lines at the end of such listings.
This commit should fix all these problems in the NixOS manual.

Remarks
  • This is going to seem odd but I did not test the resulting generated doc, even though I'm pretty sure that my fix is correct. So before merging this patch, someone should test this or instruct me on how to test. I did test it following instructions found in the manual and I can confirm that the fix is correct.

  • A lighter fix would have been to remove the indentation only for <programlisting>. Since the standard seems to be "no indentation", and in order to remind people not to use indentation, I rather chose to remove it entirely from the incriminated files.

  • If the patch is considered OK, it should be merged quickly (and probably backported to 17.03) because it is likely to create a lot of merge conflicts if we wait too long and other people propose other improvements to the affected files.

@mention-bot
Copy link

@Zimmi48, thanks for your PR! By analyzing the history of the files in this pull request, we identified @joachifm, @matthiasbeyer and @yesbox to be potential reviewers.

The standard in XML doc files in nixpkgs is not to use indentation.
The files changed by this commit were found by browsing the
NixOS manual and spotting odd indentation in command listings,
as well as spurious new lines at the end of such listings.
This commit should fix all these problems in the NixOS manual.
@Zimmi48 Zimmi48 closed this Apr 8, 2017
@Zimmi48 Zimmi48 deleted the doc-remove-indentation branch August 8, 2020 12:46
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.

None yet

2 participants