Skip to content

[improve][doc] Specially handle Python and C++ API documents - #18477

Merged
tisonkun merged 2 commits into
apache:masterfrom
tisonkun:site-291
Nov 15, 2022
Merged

[improve][doc] Specially handle Python and C++ API documents#18477
tisonkun merged 2 commits into
apache:masterfrom
tisonkun:site-291

Conversation

@tisonkun

Copy link
Copy Markdown
Member

This is the counterpart of apache/pulsar-site#291.

Now they have their own repository and release cycle, it's impossible to infer the proper version from the current Pulsar version. We should instead hardcode the corresponding versions for new versions.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions Bot added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Nov 15, 2022
@tisonkun

Copy link
Copy Markdown
Member Author

Verified the replace logics locally. Merging...

@tisonkun
tisonkun merged commit e8a6958 into apache:master Nov 15, 2022
@tisonkun
tisonkun deleted the site-291 branch November 15, 2022 16:38

@michaeljmarshall michaeljmarshall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

| Language | Documentation | Release note | Code repo |
| --------- |------------------------------------------------------------------------| --------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| Java | [User doc](client-libraries-java.md) <br/> [API doc](/api/client/) | [Bundled](/release-notes/) | [Bundled](https://github.com/apache/pulsar/tree/master/pulsar-client) |
| C++ | [User doc](client-libraries-cpp.md) <br/> [API doc](/api/cpp/3.0.0) | [Bundled](/release-notes/) | [Standalone](https://github.com/apache/pulsar/pulsar-client-cpp) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Tison may I know why the latest version number is hard-coded here for C++ API docs while @pulsar:apidoc:cpp@ is used in other occurrences?

@tisonkun tisonkun Nov 16, 2022

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See the description at apache/pulsar-site#291.

Now they have their own repository and release cycle, it's impossible to infer the proper version from the current Pulsar version. We should instead hardcode the corresponding versions for new versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants