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/stdenv/cross-compilation: convert to markdown #105364

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

siraben
Copy link
Member

@siraben siraben commented Nov 29, 2020

Motivation for this change

Part of RFC 72. Also, I wanted to do more substantial changes (in a future PR) to the cross-compilation docs but docbook is such a big barrier.

How to test:

$ cd docs
$ nix-build && nix-shell -p python3 --run 'python3 -m http.server --directory ./result/share/doc/nixpkgs'

Ping @ryantm

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@FRidh
Copy link
Member

FRidh commented Nov 29, 2020

Also, I wanted to do more substantial changes to the cross-compilation docs but docbook is such a big barrier.

Please do changes of content separately.

@siraben siraben force-pushed the cross-doc-md branch 2 times, most recently from 3452b2f to 9457153 Compare November 29, 2020 13:59
@ofborg ofborg bot added the 8.has: documentation This PR adds or changes documentation label Nov 29, 2020
@siraben
Copy link
Member Author

siraben commented Nov 29, 2020

Also, I wanted to do more substantial changes to the cross-compilation docs but docbook is such a big barrier.

Please do changes of content separately.

Yes, this PR just performs the conversion and some style fixes.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Nov 29, 2020
Copy link
Member

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

I did a first pass. Since this is such a big section, I think it will require a few passes before we can get it dialed in. Thank you for tacking such a big and challenging section @siraben

@veprbl veprbl added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Dec 3, 2020
@siraben siraben requested review from jtojnar and ryantm December 4, 2020 11:48
@siraben siraben force-pushed the cross-doc-md branch 3 times, most recently from 6742c6d to 3b303a2 Compare December 4, 2020 11:59
Copy link
Member

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

Thank you for your work and patience here. We're going to keep you in the loop about admonitions since this section has so many.

@siraben
Copy link
Member Author

siraben commented Dec 13, 2020

Thank you for your continual feedback, I've rebased on master and changed all the note sections to use the latest admonitions.

Additionally I ran a spellchecker and fixed some spelling mistakes: platfom -> platform, langauges -> languages, bootstraping -> bootstrapping, providess -> provides.

@jtojnar jtojnar merged commit f310317 into NixOS:master Dec 14, 2020
@jtojnar
Copy link
Member

jtojnar commented Dec 14, 2020

Looks good. Thanks.

@siraben siraben deleted the cross-doc-md branch December 14, 2020 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different platform than they will be used on 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants