Guangning,

Thank you for bringing this topic up and driving the efforts for making the
Pulsar website great.

Comments inline.

On Sat, Nov 2, 2019 at 9:51 AM Guangning E <eguangn...@gmail.com> wrote:

> Recently, community users complained about API documents, including
> missing, wrong version, wrong link, contradictory content, etc. After doing
> some work and communicating with the asf framework group through Jira
> https://issues.apache.org/jira/browse/INFRA-19358, I found that the latest
> version of API documents has been correctly generated, but it has not yet
> been displayed.
> python:
> http://pulsar.apache.org/api/python/2.5.0-SNAPSHOT/
> CPP:
> http://pulsar.apache.org/api/cpp/2.5.0-SNAPSHOT/
> pulsar-admin:
> http://pulsar.apache.org/api/admin/2.5.0-SNAPSHOT/
> pulsar-broker:
> http://pulsar.apache.org/api/pulsar-broker/2.5.0-SNAPSHOT/
> pulsar-functions:
> http://pulsar.apache.org/api/pulsar-functions/2.5.0-SNAPSHOT/
> pulsar-client:
> http://pulsar.apache.org/api/client/2.5.0-SNAPSHOT/
>
> Therefore, I want to fix these problems through the following steps:
>
> 1. Move the latest snapshot version (Snapshot versions always change, which
> is not good for links.) of the document to a master directory (this is done
> automatically)
>

Can we improve the website script to create a symlink `latest` to the
latest snapshot version?

This should be easier to achieve in the website build script without
copying or moving the latest snapshot version.


> 2. Directly add the documents of the old version to the asf-site branch
> (e.g. 2.4.1, 2.4.0, 2.3.1, 2.3.0). a pull request to the asf-site branch is
> required
>

+1 we need to backfill the API documentation for old versions. Can you do
it version by version, so the reviewers are easier to understand?



> 3. Fix the inconsistency between API documents and official documents
>

+1 This is a non-trivial task. Thank you for driving this!


> 4. Add portal links to official website document pages according to version
>

+1


>
> What do you think?
>
> Thanks,
> Guangning
>

Reply via email to