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

Finish converting existing comments for internal API docs #8146

Merged
merged 4 commits into from
Apr 7, 2023

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Apr 1, 2023

99% of this was just reformatting existing comments. Only two exceptions:

  • Expanded upon BuildResult::status compat note

  • Split up file-level symbol-table.hh doc comments to get per-definition docs

Also fixed a few whitespace goofs, turning leading tabs to spaces and removing trailing spaces.

Motivation

It is better to see our current documentation comments rendered!

Context

Picking up from #8133

Checklist for maintainers

Maintainers: tick if completed or explain if not relevant

  • agreed on idea
  • agreed on implementation strategy
  • tests, as appropriate
    • functional tests - tests/**.sh
    • unit tests - src/*/tests
    • integration tests - tests/nixos/*
  • documentation in the manual
  • code and comments are self-explanatory
  • commit message explains why the change was made
  • new feature or incompatible change: updated release notes

Priorities

Add 👍 to pull requests you find important.

@Ericson2314 Ericson2314 added the contributor-experience Developer experience for Nix contributors label Apr 1, 2023
@Ericson2314 Ericson2314 force-pushed the improve-internal-api-docs branch from e74f417 to 8fe8143 Compare April 1, 2023 19:04
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-04-03-nix-team-meeting-minutes-46/27008/1

@Ericson2314 Ericson2314 force-pushed the improve-internal-api-docs branch from 8fe8143 to 7a25903 Compare April 5, 2023 14:59
99% of this was just reformatting existing comments. Only two exceptions:

- Expanded upon `BuildResult::status` compat note

- Split up file-level `symbol-table.hh` doc comments to get
  per-definition docs

Also fixed a few whitespace goofs, turning leading tabs to spaces and
removing trailing spaces.

Picking up from NixOS#8133
@Ericson2314 Ericson2314 force-pushed the improve-internal-api-docs branch from 7a25903 to 40dec7f Compare April 7, 2023 13:18
@Ericson2314 Ericson2314 enabled auto-merge April 7, 2023 13:44
@Ericson2314 Ericson2314 disabled auto-merge April 7, 2023 13:44
@Ericson2314 Ericson2314 enabled auto-merge (squash) April 7, 2023 13:44
@Ericson2314 Ericson2314 merged commit 0746951 into NixOS:master Apr 7, 2023
@Ericson2314 Ericson2314 deleted the improve-internal-api-docs branch April 7, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor-experience Developer experience for Nix contributors
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants