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

Update docs when generating new Datasource #5624

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

blackboxsw
Copy link
Collaborator

Minor updates to docs to tell DS creators they need to add dsname entries to datasource_dsname_map.rst

Proposed Commit Message

See individual commits

Additional Context

Test Steps

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

@github-actions github-actions bot added the documentation This Pull Request changes documentation label Aug 15, 2024
blackboxsw added a commit to blackboxsw/cloud-init that referenced this pull request Aug 15, 2024
blackboxsw added a commit to blackboxsw/cloud-init that referenced this pull request Aug 15, 2024
@TheRealFalcon TheRealFalcon self-assigned this Aug 16, 2024
Copy link
Collaborator

@a-dubs a-dubs left a comment

Choose a reason for hiding this comment

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

Looks good! Have one question but it is not blocking and more of a nit/potential suggestion so not gonna block on it

1. Add a new file in :file:`doc/rtd/reference/datasources/<cloudplatform>.rst`
2. Reference `<cloudplatform>.rst` in :file:`doc/rtd/reference/datasources.rst`
3. Add an alphebetized dsname entry in representing your datasource
:file:`doc/rtd/reference/datasource_dsname_map.rst`
Copy link
Collaborator

Choose a reason for hiding this comment

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

should there be a more direct call to action here to use the command found in doc/rtd/reference/datasource_dsname_map.rst to generate the datasource list? Or is it just easier to tell the user to simply insert their new DS name in the list alphabetically (like you currently have)?

Copy link
Member

Choose a reason for hiding this comment

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

It shouldn't need to be regenerated each time, so I think the instructions here make the most sense.

Copy link
Member

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

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

LGTM!

@blackboxsw blackboxsw merged commit ca9ffac into canonical:main Aug 20, 2024
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This Pull Request changes documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants